Solved

2 ip address with 2 gateways

Posted on 2002-05-09
4
163 Views
Last Modified: 2012-05-04
      i've got a pc with win2000 professional, and with 2 ip addresses (192.168.40.24 and 10.1.26.37) and two gateways for internet (192.168.40.1 and 10.1.26.200) and i have access to 2 different mail servers one for each net, and to check e-mail the servers checks te ip address, so how can i do to specify wich address i want to use each time or, how can i specify wich gatweway to use each ip address, to have access to the both mail servers at the same time.
0
Comment
Question by:gumbert
  • 2
4 Comments
 
LVL 3

Expert Comment

by:Corvax021899
ID: 6998952
at cmd prompt try this:

route add 192.168.40.0 MASK 255.255.255.0 192.168.40.1
route add 10.1.26.0 MASK 255.255.255.0 10.1.26.200

0
 
LVL 3

Expert Comment

by:Corvax021899
ID: 6998966
At Cmd Prompt Typpe this:

route add 192.168.40.0 MASK 255.255.255.0 192.168.40.1

then

route add 10.1.26.0 MASK 255.255.255.0 10.168.26.200
0
 
LVL 11

Accepted Solution

by:
geoffryn earned 100 total points
ID: 6999011
2000 does not deal with multiple default gateways very well.  You will need to put in static routes for the addresses or networks that the remote mail servers live on.

For example if the mail server 172.36.45.21 lives off the 10.1.26.37 interface  you would need to add the following route:

route add -p 172.36.45.21 MASK 255.255.255.255 10.168.26.200

The -p will make the route persist through a reboot.
0
 

Expert Comment

by:tony_baird
ID: 8654874
This is actually very similar to a problem that I have. We have a group of about 20 laptops on this network:

Net ID:                 132.20.85.128
Mask:                   255.255.255.192
Default gateway: 132.20.85.129

At tmes, these machines have to move, all of them, to an alternate location with the following details:

Net ID:                 132.20.85.16
Mask:                   255.255.255.240
Default gateway: 132.20.85.17

I have tried loading multiple IP addresses and Default Gateways via the <Advanced...> option in the TCP/IP conviguration as well as the commands above with no luck. Can someone help me with this? Thanks.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question