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 10-03-2013, 09:20 PM   #1
jeebs01
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Rep: Reputation: 1
Two NICs, Two Subnets, Ping only on 1 Subnet


Hello,

I have an OpenFiler server that appears to be having some issues with some routing.

The Setup

The server has two NIC's on two subnets. eth0 can ping off subnet as it is does need to due to web management. eth0 can also ping on subnet as it needs to for iSCSI to VMware. eth1 only needs to communicate on its own subnet for iSCSI to VMware. Just to be clear on the other side, VMware also has two NIC's - one on each of the referenced subnets.

ifconfig:

[root@openfiler0 network-scripts]# ifconfig
eth0 Link encap:Ethernet HWaddr C8:60:00:0F:F9:19
inet addr:192.168.0.130 Bcast:192.168.0.143 Mask:255.255.255.240
inet6 addr: fe80::ca60:ff:fe0f:f919/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:87497733 errors:0 dropped:188235 overruns:0 frame:0
TX packets:121869021 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:95720802143 (89.1 GiB) TX bytes:130925667710 (121.9 GiB)
Interrupt:16 Memory:fbee0000-fbf00000

eth1 Link encap:Ethernet HWaddr C8:60:00:0F:F8D
inet addr:192.168.0.146 Bcast:192.168.0.159 Mask:255.255.255.240
inet6 addr: fe80::ca60:ff:fe0f:f8dd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5229 errors:0 dropped:0 overruns:0 frame:0
TX packets:1812 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:364174 (355.6 KiB) TX bytes:211576 (206.6 KiB)
Interrupt:17 Memory:fbde0000-fbe00000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:192 errors:0 dropped:0 overruns:0 frame:0
TX packets:192 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:26186 (25.5 KiB) TX bytes:26186 (25.5 KiB)

[root@openfiler0 network-scripts]#


Route Table

[root@openfiler0 network-scripts]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.144 * 255.255.255.240 U 0 0 0 eth1
192.168.0.128 * 255.255.255.240 U 0 0 0 eth0
link-local * 255.255.0.0 U 1002 0 0 eth0
link-local * 255.255.0.0 U 1003 0 0 eth1
default 192.168.0.129 0.0.0.0 UG 0 0 0 eth0
[root@openfiler0 network-scripts]#


Ping Example for eth1 (.145 is default gateway, .150 is VMware):

[root@openfiler0 network-scripts]# ping -I 192.168.0.146 192.168.0.145
PING 192.168.0.145 (192.168.0.145) from 192.168.0.146 : 56(84) bytes of data.
From 192.168.0.146 icmp_seq=2 Destination Host Unreachable
From 192.168.0.146 icmp_seq=3 Destination Host Unreachable
From 192.168.0.146 icmp_seq=4 Destination Host Unreachable
^C
--- 192.168.0.145 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4001ms
, pipe 3
[root@openfiler0 network-scripts]# ping -I 192.168.0.146 192.168.0.150
PING 192.168.0.150 (192.168.0.150) from 192.168.0.146 : 56(84) bytes of data.
From 192.168.0.146 icmp_seq=2 Destination Host Unreachable
From 192.168.0.146 icmp_seq=3 Destination Host Unreachable
From 192.168.0.146 icmp_seq=4 Destination Host Unreachable
^C
--- 192.168.0.150 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
, pipe 3
[root@openfiler0 network-scripts]#


.146 (openfiler eth1) can ping itself. The default gateway and VMware can ping each other. Switch VLAN has been verified (twice )

Any suggestions to allow eth1 (192.168.0.146) to ping on its own subnet?

Thanks!
 
Old 10-04-2013, 06:01 PM   #2
jeebs01
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Original Poster
Rep: Reputation: 1
After some working around a bit longer, I bounced the switch and things came back to life briefly. After moving to a new switch everything came back to life. It appears the switchport has failed.

If an option, an admin can mark the title closed.

Thanks everyone for the reads!

Last edited by jeebs01; 10-04-2013 at 06:42 PM.
 
  


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
Multiple NICs different subnets tecbox Linux - Networking 4 03-22-2010 03:30 AM
DHCP - 2 NICS & 2 Subnets daveginorge Linux - Networking 3 05-22-2009 01:59 AM
DHCP server having 2 subnets through 2 nics dils Linux - Newbie 2 05-21-2009 04:09 AM
Getting DHCP to allocate address for two different subnets on 2 nics GGlinux Linux - Networking 5 02-25-2009 08:10 PM
DHCP server with multiple nics and subnets hawkpaul Linux - Networking 6 12-20-2001 07:32 AM

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

All times are GMT -5. The time now is 04:59 PM.

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