Ask Experts Questions for FREE Help !
Ask
    raydeo's Avatar
    raydeo Posts: 1, Reputation: 1
    New Member
     
    #1

    Jul 14, 2008, 06:29 AM
    Two networks one computer
    I'm trying to set up one computer, XP Pro 2 NICs, to connect to 2 totally different networks. One network (172.x.x.x) is setup accessing the wan via T1. Second network is local (192.x.x.x), however is used to connect to the internet and email. The problem I'm having.. When I setup the 192.x.x.x NIC with DSL modem gateway, the 172.x.x.x side will not connect via T1 to mainframe. The 192 NIC will connect to ISP, website and email no problem. Remove the 192 gateway and the 172 connects, but of course I can't connect with the 192 NIC.. Can this be done?
    chuckhole's Avatar
    chuckhole Posts: 850, Reputation: 45
    Senior Member
     
    #2

    Jul 14, 2008, 09:15 AM
    Yes. The problem you are likely experiencing is the use of two gateway addresses. So here is a way to solve this.

    Write down a list of all of the network ID's located on the WAN.
    Delete the gateway address from the 172.x.x.x network adapter, keeping only the gateway address for the router on the 192.x.x.x adapter that is connected to the Internet. The gateway address for this adapter should be your Internet router.

    As an example, we will assume that you have two network ID's on your LAN. They will be 172.16.x.x and 172.17.x.x. and we will assume that your NIC that is connected to the 172.x.x.x network has the address 172.16.2.20 and it is a Class B subnet. We will also assume that your WAN has a router with the LAN address 172.16.1.1 and it is also a Class B subnet.

    Go to a command prompt and add the following persistent routes:
    route add -p 172.16.0.0 mask 255.255.0.0 172.16.1.1
    route add -p 172.17.0.0 mask 255.255.0.0 172.16.1.1

    You have now defined the exceptions for your 192.x.x.x gateway address. You are saying that you want to use the 192.x.x.x gateway address for ALL requests EXCEPT anything that is addressed to the 172.16.x.x and 172.17.x.x Class B networks and you want them to be routed through the 172.16.1.1 address. Your NIC that has the address 172.16.2.20 is capable of connecting to this router because they are on the same network ID.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

2 networks 1 computer [ 1 Answers ]

I have one laptop running WIN XP Pro. I want to run it on two networks. Using 1 wireless card and 1 wired connection. Will this work. Both are using DHCP. When I am connected to both I get nothing.

One computer connecting to two networks [ 5 Answers ]

Hi well this is my dilemma I currently have two wired networks in my apartment. Network “A” has two computers both with static IP addresses witch connect to the internet via a cable modem and we simply use for surfing and the norm. Network “B” has our media center that we use for watching TV/movies...

Computer networks [ 1 Answers ]

Send message in a lan network in NT operating system using dos prompt?

Computer networks [ 2 Answers ]

How do we send message in a lan network in NT operating system using dos prompt?

Computer networks [ 1 Answers ]

Send message in a NT network using dos prompt?


View more questions Search