Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dual IP address

Status
Not open for further replies.

ndp001

IS-IT--Management
May 8, 2003
6
0
0
GB
I have a XP Pro machine on a LAN with a static IP address in the 192 range.
I have added another router on site with a 10.50 address, have added an additional 10.50 address to the PC and amended the routing table to route anything for 10.50.x.x to the new router.
This all works fine until the user reboots his machine. It now ignores the static 192 address and uses the 10.50. Cannot ping anything on the 192 range.
Have set up other PC's the same but they do not have this problem. Any ideas anyone?
 
Try using the route add command with the switch -p as that will make the route add stay even after reboot.
 
Thanks should have mentioned that the route added was permanent.
It keeps the 10.50 route in the table, but loses the 192 connection even thought 0.0.0.0 is pointing to the 192 gateway.
 
You can manually configure the interface metrics to allow load balancing between multiple network adapters:

Install TCP/IP for all adapters and assign them a different IP-address on the same subnet (Becomes Multihoming)

If a certain adapter should be dedicated for outgoing traffic then it should be given a lower interface metric

If a certain adapter should be used for certain incomming traffic then make sure the clients connects to its IP-Address
Note Netbios traffic (outgoing/incoming) can only be handled by a single adapter or else a name conflict will arise (Though it doesn't have to be the one dedicated for outgoing IP traffic)

Note it is possible for clients to connect to a service (FTP/HTTP,etc.) through all network adapters (To force clients to use a certain adapter one can use DNS or port blocking)

To configure the metric in Win2k/WinXP (WinNT4/Win9x can use the command "route"):
Open Control Panel
Double click Network and Dial-up Connections(Win2k) or Network Connections(WinXP)
Right click Internet Protocol (TCP/IP)
Press Advanced-button and it is possible to configure gateways and interface metric.

The lower metric value adapter becomes the default.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top