Solved

2 ip address with 2 gateways

Posted on 2002-05-09
4
159 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
Find out what Office 365 Transport Rules are, how they work and their limitations managing Office 365 signatures.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 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

10 Experts available now in Live!

Get 1:1 Help Now