Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Hello i'm trying to use lan and 3g network at the same time on XP, as per previous questions i need to create routes for lan ip ranges. How can i do this

share|improve this question

1 Answer 1

Which "previous question" would that be?

I assume when you connect your 3G device, it automatically overrides your default gateway, which you can check by using the command line and typing:

route print

The one with 0.0.0.0 as the destination is your default route. You can leave this alone, and just add a static route to your LAN network, over your LAN interface. This will allow you to use the 3G device for internet traffic. Route print should also show you the interface table:

===========================================================================
Interface List
 20 ...00 07 61 7d 69 c8 ...... Bluetooth Device (Personal Area Network) #2
 11 ...00 05 1b 4b 61 04 ...... ADM851X USB To Fast Ethernet Adapter
  9 ...00 1e 4f b1 d4 69 ...... Intel(R) 82566DM Gigabit Network Connection
  1 ........................... Software Loopback Interface 1
 17 ...00 00 00 00 00 00 00 e0  isatap.NFM_LVT.local
 21 ...00 00 00 00 00 00 00 e0  Microsoft ISATAP Adapter #2
 27 ...00 00 00 00 00 00 00 e0  Microsoft ISATAP Adapter #3
===========================================================================

In this case, 9 is my LAN adapter.

So, to allow my network to use that interface for LAN traffic, I would use the following add command:

route -p add 10.38.0.0 mask 255.255.0.0 10.38.0.1 IF 9

You can use route add /help for further command line information.

XP Route guide

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.