LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 11-20-2003, 12:57 AM   #1
luky2k
LQ Newbie
 
Registered: Nov 2003
Location: Argentina
Distribution: Mandrake 9.1
Posts: 7

Rep: Reputation: 0
Routing problems


When I try to ping another machine, ping says destination host unreachable. But it is still possible to get the other machine's netbios name (so physical connection seems to be ok) Any ideas?
 
Old 11-20-2003, 01:31 AM   #2
linuXBOX
Member
 
Registered: Jul 2003
Location: Stuart,FL
Distribution: Fedora Core 3 and Slackware 10.0
Posts: 179

Rep: Reputation: 30
Any software firewall programs running?
zonealarm? blackice?....windows firewall?
Also check your router setup, and look to see if the machines are in the clients tables.
 
Old 11-20-2003, 05:25 AM   #3
luky2k
LQ Newbie
 
Registered: Nov 2003
Location: Argentina
Distribution: Mandrake 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
Thx for replying. I'm running Shorewall, but I don't think that's the real cause. Check out my other post:

I've just installed a new ethernet board (via-rhine compatible) as eth2
I also have an rtl8029 at eth0 and a 8139too at eth1. Everything worked fine before installing the new board.. network, services, etc
The problem is that when my system starts up, eth1 appears to be dead.
I start a terminal as root and type:
# ifup eth1
Then eth1 starts working again, but eth2 stops. If I run:
# ifup eth2
Then eth2 starts, and eth1 stops. And so on...
There are no problems with eth0 (connected to a dsl modem)
I don't know either is this a hardware conflict, or a firewall issue (I had always run Shorewall without problems).
Running ifconfig, it seems that eth1 and eth2 are using different IO ports and IRQ numbers.
I have noticed that both via-rhine and 8139too share the same kernel module, named 'mii' ... Does it mean something?
I really don't know what's going on. everything works fine with both boards, but one at the time. Sorry for my bad english.
 
Old 11-20-2003, 09:23 AM   #4
carstenson
Member
 
Registered: Oct 2003
Location: Austin, TX
Distribution: RH 7.3, RH 9.0, FC4, Arch
Posts: 36

Rep: Reputation: 15
I *think* "host unreachable" means that there is a dns problem. Try the ping using an ip address. You probably need to check your routing table with "netstat -r". You are trying to ping from this machine to an internal or external computer?
 
Old 11-20-2003, 10:35 AM   #5
luky2k
LQ Newbie
 
Registered: Nov 2003
Location: Argentina
Distribution: Mandrake 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
I could fix the problem!
My previous network configuration was
eth1 ip=192.168.0.1
eth2 ip=192.168.0.2

Now
eth1 ip=192.168.1.1
eth2 ip=192.168.2.1

Nevertheless I still don't understand why I can't put two NICs in the same subnet
Thanks!
 
Old 11-20-2003, 10:59 AM   #6
carstenson
Member
 
Registered: Oct 2003
Location: Austin, TX
Distribution: RH 7.3, RH 9.0, FC4, Arch
Posts: 36

Rep: Reputation: 15
What subnet mask were you using? You may have been trying to define them network. I am not sure what linux would do in that case, or if it is even a problem. I seems like it would definitely cause some routing confusion at least.
 
Old 11-20-2003, 07:14 PM   #7
luky2k
LQ Newbie
 
Registered: Nov 2003
Location: Argentina
Distribution: Mandrake 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
Netmask = 255.255.255.0 for all interfaces.
Is that wrong? thanks!
 
Old 11-21-2003, 09:21 AM   #8
carstenson
Member
 
Registered: Oct 2003
Location: Austin, TX
Distribution: RH 7.3, RH 9.0, FC4, Arch
Posts: 36

Rep: Reputation: 15
That is what I would expect it to be. This means it should split your two nics to two separate networks. Routing should work fine. Sorry I can't be of more help.
 
  


Reply


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
problems with multipath routing eantoranz Linux - Networking 1 07-16-2005 02:00 PM
Routing problems jgnasser Linux - Networking 1 04-04-2005 10:24 AM
routing problems hakiro Linux - Networking 4 07-20-2004 10:50 AM
linux routing problems gabell27 Linux - Networking 2 04-26-2004 03:38 PM
Routing problems??? bfloeagle Linux - Networking 6 03-26-2003 03:04 PM


All times are GMT -5. The time now is 01:43 AM.

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