Computing.Net > Forums > Networking > Ping with dual network cards

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Ping with dual network cards

Reply to Message Icon

Name: tom
Date: July 6, 2002 at 22:30:44 Pacific
Comment:

Hello,

I have two network adapters in my computer (USB for satellite internet connection and a 10/100 PCI NIC for LAN).

I would like to ping IPs on the network but all pings are going to the USB connection and out across the internet.

How do I choose which card to ping?

Many, many thanks for any help.

Sincerely,
Tom Jacobson



Sponsored Link
Ads by Google

Response Number 1
Name: michael
Date: July 6, 2002 at 23:55:32 Pacific
Reply:

Firstly, don't have a default gateway on your internal LAN NIC that points to the Internet NIC. There is no way of choosing which NIC you use, it's handled by the routing table that gets built(route print in a cmd window). These are the lines that tell packets where to go.

Network Dest. Gateway Interface
0.0.0.0 1nn.xxx.xxx.1 1nn.xxx.xxx.234
192.168.45.0 192.168.45.100 192.168.45.100

Simply put, for any address other than something on the 192.168.45.0 network, use the 1nn.xxx.xxx.234 NIC. For all 192.168.45.x addresses, use the 192.168.45.100 NIC.

So a ping to 192.168.45.101 will use the 192.168.45.100 interface (NIC). A ping to anything else will go through the 1nn.xxx.xxx.234 interface (NIC).

As an aside, depending on the OS, you should see, in network properties, that the network protocol is bound to the interfaces (NIC). I'm pretty sure mine were, when I re-installed this OS this year. Putting in a PCI video card changed my interrupts and I had to re-install the NIC drivers. I have sinced pulled that Video card. Checking my network properties just now, it doesn't show my internal NIC bound to the TCP/IP protocol. No networking problems to/from my other machines. Go figure.


0

Response Number 2
Name: tom
Date: July 7, 2002 at 10:11:43 Pacific
Reply:

So how do I change the route table?

I would like to set network destination 192.168.1.1 to use the internal NIC (192.168.0.1) as the gateway.

Thanks again.

- Tom


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Slow NetBIOS Resolution What is the best outdoor ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: Ping with dual network cards

Routing with 2 network cards-W2Ksrv www.computing.net/answers/networking/routing-with-2-network-cardsw2ksrv/12501.html

switches with rtl 8139 network cards www.computing.net/answers/networking/switches-with-rtl-8139-network-cards/830.html

dual network cards in NT www.computing.net/answers/networking/dual-network-cards-in-nt/179.html