LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-17-2004, 06:11 AM   #1
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Rep: Reputation: 15
2 nics, 2 networks help.


I have a Fedora Linux Box that I have installed 2 nics into running http, tftp, and ftp.. I am trying to get each of the interfaces to use these services.
eth0 = 192.168.2.10/24
and
eth1 = 172.22.22.203/24
(I have done this on a fc1 and fc2 machine with same results)
/etc/sysconfig/network-scripts/eth0 reads:
# 3com Corp|3c905 100BaseTX
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.2.225
HWADDR=00:10:4C:24:CF:42
IPADDR=192.168.2.10
NETMASK=255.255.255.0
NETWORK=192.168.2.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=no

/etc/sysconfig/network-scripts/eth1 reads:
# DEC|DECchip 21142/43
DEVICE=eth1
BOOTPROTO=none
BROADCAST=172.22.22.255
HWADDR=00:40:F3:A4:1D:F3
IPADDR=172.22.22.203
NETMASK=255.255.255.0
NETWORK=172.22.22.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=no

From the Linux box I can ping Loopback, and I can ping both interfaces
192.168.2.10 and 172.22.22.203.
There is no firewall.
When I connect another computer via crossover cable to eth0(192.168.2.10) and change the computer to 192.168.2.11 I can ping it all day.

When I do the same for eth1(172.22.22.203) and change the computer to 172.22.22.205 I cant ping it. It says destination unreachable...

How can I make this work
Thanks..

Last edited by chrisknight; 12-17-2004 at 06:12 AM.
 
Old 12-17-2004, 06:33 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
This sounds like a routing problem, rather than a problem with the configuration of either interface.

You'll find documentation on this on tldp.org. You want to look at the /sbin/route command.
 
Old 12-17-2004, 07:15 AM   #3
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Rep: Reputation: 83
To me, it sounds like iptables is nagging you.
 
Old 12-17-2004, 04:33 PM   #4
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Original Poster
Rep: Reputation: 15
Issuing the command 'route' on this box gives me:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use IFace
172.22.22.0 * 255.255.255.0 U 0 0 0 eth1
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo


Look right?
 
Old 12-18-2004, 09:25 AM   #5
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Rep: Reputation: 83
how about the output of
Code:
iptables -L
?
 
Old 12-19-2004, 01:21 PM   #6
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Original Poster
Rep: Reputation: 15
I got it working... The answer (although not a good one) was to shut off Kudzu.
It appears as though I had everything configured correctly but there is an issue with 3COM nics and Fedora.
Used a 3C905-tx nic...
Anyone else with this issue, check here:
http://bugzilla.redhat.com/bugzilla/....cgi?id=107389
http://www.linuxquestions.org/questi...hreadid=113417
http://www.linuxquestions.org/questi...04/01/2/133243

Last edited by chrisknight; 12-19-2004 at 01:26 PM.
 
  


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
Intel D845GLLY + Multiple Intel Pro 100 NICs + kernel 2.6.x = NICs don't work egable Linux - Hardware 0 02-04-2005 02:30 PM
2 nics, 2 networks, 2 problemas kangaegoto Linux - Networking 1 12-19-2004 06:58 AM
2 nics, 2 networks, 1 SuSE 9.1 Pro box Arachnoman Linux - Networking 2 11-24-2004 10:37 AM
1 servicer, 2 nics, 2 networks, 1 functional mehesque Linux - Networking 1 08-11-2004 02:24 PM
2 NICs 2 networks 2 gateways birkinshawc Linux - Networking 1 05-29-2004 03:05 PM


All times are GMT -5. The time now is 08:23 PM.

Main Menu
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