corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Networking people (NOT another n00b question!)


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Networking people (NOT another n00b question!)
PhilC
Member

Registered: 21st Jan 06
Location: Lancs, UK
User status: Offline
27th Jun 08 at 08:03   View User's Profile U2U Member Reply With Quote

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
27th Jun 08 at 11:06   View User's Profile U2U Member Reply With Quote

Yep.

Open up command prompt and type "exit <IP address here>"
Paul
Member

Registered: 16th Apr 02
Location: Oop north.
User status: Offline
27th Jun 08 at 16:13   View User's Profile U2U Member Reply With Quote

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

Avatar

Registered: 21st Apr 00
User status: Offline
27th Jun 08 at 20:47   View Garage View User's Profile U2U Member Reply With Quote

You're talking about source routing, but what exactly are your trying to achieve?
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
28th Jun 08 at 00:14   View Garage View User's Profile U2U Member Reply With Quote

exit? Which networking books are you reading?
PhilC
Member

Registered: 21st Jan 06
Location: Lancs, UK
User status: Offline
28th Jun 08 at 00:24   View User's Profile U2U Member Reply With Quote

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
28th Jun 08 at 14:34   View User's Profile U2U Member Reply With Quote

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
28th Jun 08 at 16:54   View User's Profile U2U Member Reply With Quote

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
29th Jun 08 at 09:40   View User's Profile U2U Member Reply With Quote

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
29th Jun 08 at 22:51   View User's Profile U2U Member Reply With Quote

Sounds like you may have a routing problem internaly.

Other than that route add on a windows box is command you are after.

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
How do i know when ive got broadband?! Munchie Geek Day 22 1737
27th Aug 03 at 19:28
by Munchie
 
Networking Question luca2020 Geek Day 25 3642
11th Feb 04 at 00:09
by drunkenfool
 
RAM Upgrade James Geek Day 22 694
20th Feb 07 at 14:56
by VegasPhil
 
Vista = Bloatware? RPM Geek Day 39 1863
18th Mar 07 at 21:57
by Steve
 

Corsa Sport » Message Board » Off Day » Geek Day » Networking people (NOT another n00b question!) 28 database queries in 0.0101409 seconds