PhilC
Member
Registered: 21st Jan 06
Location: Lancs, UK
User status: Offline
|
Guys,
I need a bit of help with a section of a project I'm doing in work.
I have a laptop, that has 2 network connections, and I'm trying to reach another IP address. Is it possible to specify which TCP/IP route the packets take based on the IP of each hop? For example...
192.168.1.2 to 192.168.1.1
192.168.1.1 to a.a.a.a
b.b.b.b to c.c.c.c
c.c.c.c to ..............
Cheers,
Phil
|
xa0s
Banned
Registered: 4th Mar 08
Location: Dartford, Kent Car: Turbo'd Fabia vRS
User status: Offline
|
Yep.
Open up command prompt and type "exit <IP address here>"
|
Paul
Member
Registered: 16th Apr 02
Location: Oop north.
User status: Offline
|
quote: Originally posted by SRi Luke
Yep.
Open up command prompt and type "exit <IP address here>"
This is wrong.
The command you are looking for is "route"
But they will have to be on different subents.
Route /? will give you more advice help.
|
Tim
Site Administrator
Registered: 21st Apr 00
User status: Offline
|
You're talking about source routing, but what exactly are your trying to achieve?
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
exit? Which networking books are you reading?
|
PhilC
Member
Registered: 21st Jan 06
Location: Lancs, UK
User status: Offline
|
OK...
Laptops are to be used on a 3G connection, but I'm using Hamachi as a secture VPN tunnel to a server.
When I then use telnet, I need to make sure that it takes the path through the hamachi virtual adaptor, rather than the 3G connection to the Internet. The destination address is an internal interface
|
Paul
Member
Registered: 16th Apr 02
Location: Oop north.
User status: Offline
|
So you have this situation:
Laptop --- 3G Connection --- Work (Private IP address)--- Telnet Application
|_________VPN (Private IP)_________|
If this is hte case then the VPN adapter should deal with the routing. The reason for this is the VPN adapter will have an IP address that is local to the internal connection at work.
[Edited on 28-06-2008 by Paul]
[Edited on 28-06-2008 by Paul]
|
Andrew
Member
Registered: 5th May 04
Location: Skoda Octavia Estate, Ford Puma
User status: Offline
|
quote: Originally posted by Ian
exit? Which networking books are you reading?
Probably the one where he opens the first page and closes the book
|
PhilC
Member
Registered: 21st Jan 06
Location: Lancs, UK
User status: Offline
|
quote: Originally posted by Paul
So you have this situation:
Laptop --- 3G Connection --- Work (Private IP address)--- Telnet Application
|_________VPN (Private IP)_________|
If this is hte case then the VPN adapter should deal with the routing. The reason for this is the VPN adapter will have an IP address that is local to the internal connection at work.
[Edited on 28-06-2008 by Paul]
[Edited on 28-06-2008 by Paul]
Correct, but the telnet application is on a different address system again.
The VPN is 5.x.x.x, but the telnet app is on another internal system on 196.103.x.x
It works internally with some routing adn firewall rules.
The telnet app is installed on the laptop with a destination IP of 196.103.x.x, so it doesn't know to go through the 5.x.x.x, it looks across the internet for it.
|
Paul
Member
Registered: 16th Apr 02
Location: Oop north.
User status: Offline
|
Sounds like you may have a routing problem internaly.
Other than that route add on a windows box is command you are after.
|