Solved

2 ip address with 2 gateways

Posted on 2002-05-09
4
164 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

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…
In order to fulfill our mission of inspiring learning in the technology community, Experts Exchange is launching a Course of the Month program. Premium and Team Account members will have access to one course per month as a part of their membership, …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

749 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