Solved

2 ip address with 2 gateways

Posted on 2002-05-09
4
160 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now