Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-26-2004, 06:42 PM   #1
Registered: Aug 2001
Location: North Dakota (USA)
Distribution: Ubuntu
Posts: 43

Rep: Reputation: 15
Ping from a computer with 2 network cards

My linuxbox provides dhcp service and shares its internet connection with the other 2 computers in my home - so it's got two network cards (one connected to my home network, the other to the internet).

When I try to ping the other computers from this workhorse of a computer, I get "Destination Host Unreachable" errors, but I can successfully ping outside hosts (like Is ping using only one of my NICs (the one connected to the internet)?

The other 2 computers in my home network can ping each other, but get "Destination Host Unreachable" errors when they try to ping the server. Plus, these computers successfully get IP addresses from the dhcp server (so they apparently can talk to it, yet they can't ping it...)
Old 05-26-2004, 08:16 PM   #2
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
Can you provide us with the output of ifconfig? It's most likely a simple network mis-config. And maybe your dhcp server config.

Old 05-27-2004, 10:08 AM   #3
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
Please post the IP addresses of each card and the masks and gateway and DNS settings in your network.
You have a routing issue .. but can't be helped without this information
Old 05-27-2004, 11:07 AM   #4
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
To display your network cards' configuration, type: ifconfig
To display your routing table, type: route -n

Also, when you ping, are you using hostnames (mycomputer.pvt) or an IP ( ?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can ping network computer, cannot ping (help needed) ben_build#2.1.0 Linux - Wireless Networking 23 11-07-2010 12:55 PM
Computer now has two sound cards... daacosta Linux - Newbie 5 10-01-2005 03:45 AM
2 network cards in one computer hamish Linux - Networking 17 04-18-2004 08:05 AM
Can ping network but can't ping any internet ip when I hard set the ip Streme Linux - Wireless Networking 4 04-13-2004 09:18 AM
2 network cards on the same computer zovres Linux - Networking 4 08-02-2003 10:19 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration