Gateway Problem

M

M K W

Dear All,

I have windows XP SP-3 and I have on its PC two network cards with the
following conf.

NIC A
IP:192.168.0.1
SM:255.255.255.0
GW:192.168.0.200
DNS:192.168.0.205

NIC B
IP:192.0.114.10
SM:255.255.255.0
GW:192.0.114.1

I also have two applications each one needs to go through a network card.
App1 through NIC A, App. 2 through NIC B.
My problem is that when I assign the GW 192.168.0.200 on NIC A, App 2 will
not run. and when I remove the GW it will run. And I need to set the GW on
NIC A in order to let App 1 run. Is there any solution for this issue?

Note: NIC A and NIC B are two different networks that cant ping each other.
 
L

Lem

M said:
Dear All,

I have windows XP SP-3 and I have on its PC two network cards with the
following conf.

NIC A
IP:192.168.0.1
SM:255.255.255.0
GW:192.168.0.200
DNS:192.168.0.205

NIC B
IP:192.0.114.10
SM:255.255.255.0
GW:192.0.114.1

I also have two applications each one needs to go through a network card.
App1 through NIC A, App. 2 through NIC B.
My problem is that when I assign the GW 192.168.0.200 on NIC A, App 2 will
not run. and when I remove the GW it will run. And I need to set the GW on
NIC A in order to let App 1 run. Is there any solution for this issue?

Note: NIC A and NIC B are two different networks that cant ping each other.

Aside from the fact that your problem appears to be with "App 1" and
"App 2" rather than Windows, you don't seem to be Playing By The Rules.

NIC A appears to be on a LAN. That is, IP addresses in the range
192.168.0.0 to 192.168.255.255 are reserved for private networks. As an
aside, do you really have your own DNS server on your LAN? What is the
device with IP address 192.168.0.205?

NIC B is using a public IP address. Is this really an IP address
assigned to you by your ISP? What is the device with IP address 192.0.114.1?

A "gateway" is a device/software that is the interface between two
networks. In most home networks these days, the "default gateway" is the
router that joins the Internet to the home network.

Perhaps if you describe your network topology things would make more
sense and someone may be able to help you.
 
J

Jack \(MVP-Networking\)

Hi
My guess would be that the applications need two External IPs and do not
work with LAN IP.
As is, you probably need to contact your ISP and get a second External IP.
If you still need LAN you probably need to install a 3rd NIC and use it for
LAN.
Jack (MS, MVP-Networking)
 
J

John Wunderlich

Dear All,

I have windows XP SP-3 and I have on its PC two network cards with
the following conf.

NIC A
IP:192.168.0.1
SM:255.255.255.0
GW:192.168.0.200
DNS:192.168.0.205

NIC B
IP:192.0.114.10
SM:255.255.255.0
GW:192.0.114.1

I also have two applications each one needs to go through a
network card. App1 through NIC A, App. 2 through NIC B.
My problem is that when I assign the GW 192.168.0.200 on NIC A,
App 2 will not run. and when I remove the GW it will run. And I
need to set the GW on NIC A in order to let App 1 run. Is there
any solution for this issue?

Note: NIC A and NIC B are two different networks that cant ping
each other.

The default routing for this configuration would be that anything
destined for the 192.168.0.xxx subnet will go out NIC A and anything
destined for the 192.0.144.xxx subnet will go out NIC B. Any other IP
address will be sent out the "default gateway".

You have a non-standard requirement that will require a manual addition
to the routing table. Thas will depend on the final IP address that
APP1 and APP2 are trying to reach. So assuming that APP2 is trying to
reach IP address 12.34.56.xxx, you may have to bring up a command
window and enter a command such as:

route add 12.34.56.0 mask 255.255.255.0 192.0.114.1

to force it to use NIC B's gateway.

For further reading try the following Microsoft KB Article:
"Multiple Default Gateways Can Cause Connectivity Problems"
<http://support.microsoft.com/kb/159168>

HTH,
John
 
M

M K W

well, these are the configuration of the TCP/IP settings of the network
card.Forget about the DNS thing, and NIC B is connected to a VPN on a
different network that has nothing with NIC A.
What i mean by gateway, it is the configuration in the TCP/IP settings and
not a gateway device.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top