LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-02-2009, 10:17 PM   #1
Mitch Gaylord
LQ Newbie
 
Registered: Nov 2009
Distribution: Ubuntu; FreeBSD
Posts: 3

Rep: Reputation: 0
Can ping onboard NIC but not PCI


The solution was in the setup of the gateways of server three. I had each of the subnets reply on
192.168.1.2 eth1. This doesn't work for the subnets that are comming off the NIC. The solution was to have the table read:

Server3:
Code:
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.5.0     *               255.255.255.0   U     0      0        0 eth5
192.168.4.0     192.168.5.2     255.255.255.0   UG    0      0        0 eth1
192.168.3.0     *               255.255.255.0   U     0      0        0 eth3
192.168.2.0     192.168.3.2     255.255.255.0   UG    0      0        0 eth1
192.168.1.0     *               255.255.255.0   U     0      0        0 eth1
192.168.0.0     192.168.1.2     255.255.255.0   UG    0      0        0 eth1
WAN             *               255.255.248.0   U     0      0        0 eth0
default         ISP_PROVIDED    0.0.0.0         UG    100    0        0 eth0

Quote:
I have a set up of three identical servers. They all have a dual gigabit onboard network adapter (eth0, eth1) and an Intel PRO 1000VT Quad Port 1GbE NIC (eth2, eth3, eth4, eth5). I have them connected to each other as follows:
Code:
Server1            Server2            Server3
eth0 ------------- eth0
eth2 ------------- eth2
eth4 ------------- eth4
                   eth1 ------------- eth1
                   eth3 ------------- eth3
                   eth5 ------------- eth5
I then configured the IPs as follows:

Code:
Server1            Server2            Server3
192.168.0.1 ------ 192.168.0.2
192.168.2.1 ------ 192.168.2.2
192.168.4.1 ------ 192.168.4.2
                   192.168.1.2 ------ 192.168.1.3
                   192.168.3.2 ------ 192.168.3.3
                   192.168.5.2 ------ 192.168.5.3
I set up routing on Server1 (eth1 is set to a utility server for remote connection):
Code:
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.4.0     *               255.255.255.0   U     0      0        0 eth4
192.168.2.0     *               255.255.255.0   U     0      0        0 eth2
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
192.168.254.0   *               255.255.255.0   U     0      0        0 eth1
default         192.168.0.2     0.0.0.0         UG    100    0        0 eth0
Server2:
Code:
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.5.0     *               255.255.255.0   U     0      0        0 eth5
192.168.4.0     *               255.255.255.0   U     0      0        0 eth4
192.168.3.0     *               255.255.255.0   U     0      0        0 eth3
192.168.2.0     *               255.255.255.0   U     0      0        0 eth2
192.168.1.0     *               255.255.255.0   U     0      0        0 eth1
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
Server3:
Code:
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.5.0     *               255.255.255.0   U     0      0        0 eth5
192.168.4.0     192.168.1.2     255.255.255.0   UG    0      0        0 eth1
192.168.3.0     *               255.255.255.0   U     0      0        0 eth3
192.168.2.0     192.168.1.2     255.255.255.0   UG    0      0        0 eth1
192.168.1.0     *               255.255.255.0   U     0      0        0 eth1
192.168.0.0     192.168.1.2     255.255.255.0   UG    0      0        0 eth1
WAN             *               255.255.248.0   U     0      0        0 eth0
default         ISP_PROVIDED    0.0.0.0         UG    100    0        0 eth0
I have forwarding on
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
Now my problem is, from Server1 i can ping 192.168.1.3, but not 192.168.3.3 or 192.168.5.3. Similarly, from Server3 i can ping 192.168.0.1, but not 192.168.2.1 or 192.168.4.1. Finally, from Server2 i can ping all of them.

Any ideas?

Last edited by Mitch Gaylord; 12-29-2009 at 03:30 PM. Reason: solved
 
Old 11-03-2009, 03:57 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Well, if you have solved your problem, please make time time to post your solution, that way, others can learn from your efforts.

Welcome to LQ!

[Off-topic: Now off the zero-replies list]
 
  


Reply



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
Best high performance PCI or PCI-X fiber gigabit NIC joegoober Linux - Networking 0 11-01-2007 11:51 AM
NIC VIA VT86c100A Rhine-II PCI cannot ping other workstations infantaņoako Linux - Networking 2 01-21-2007 10:04 PM
1 x PCI and 2 x PCI-Express NIC not working Carceri Linux - Networking 1 01-10-2007 04:24 PM
NIC Driver for NVidia NForce onboard NIC. rajjpajj Linux - Software 9 09-28-2004 03:54 PM
Slackware 9.1, PCI or onboard NIC, Comcast through a router Frogmum Linux - Networking 11 12-13-2003 05:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:19 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
Open Source Consulting | Domain Registration