Can anyone with heavy background in both Linux and Networking help me out? I've scoured the Internet looking for a clear answer for this and I've even compared a box I have access to with the same setup and I can't get my box working.
The basic situation is this:
===========================
A RHEL 6 Linux box has two Ethernet interfaces:
eth0 = 10.10.5.10/24
eth1 = 10.10.6.10/24
[root@box ~]# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.10.5.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.10.6.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 10.10.5.254 0.0.0.0 UG 0 0 0 eth0
ip forwarding has been enabled and is active.
The problem:
Clients on the same subnet as eth1 or the 10.10.6.x network can ping and telnet to resources running on eth1 on this box.
However, clients on any other subnet cannot. So from my workstation I can ping and telnet to resources on the box's eth0 all day long, but nothing on eth1… What gives?
Comparing this setup to another box of a similar nature in my environment shows no discernible differences.
Here are some files:
# cat ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="none"
HWADDR="Omitted"
IPADDR="10.10.5.10"
NETMASK="255.255.255.0"
NETWORK="10.10.5.0"
ONBOOT="yes"
TYPE="Ethernet"
USERCTL="no"
# cat ifcfg-eth1
DEVICE="eth1"
BOOTPROTO="none"
HWADDR="omitted"
IPADDR="10.10.6.10"
NETMASK="255.255.255.0"
NETWORK="10.10.6.0"
ONBOOT="yes"
TYPE="Ethernet"
USERCTL="no"
# cat route-eth0
default via 10.10.5.254 dev eth0
# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=box
GATEWAY=10.10.5.254
NOZEROCONF=yes
Any assistance you can provide will be appreciated!
Thanks.
Adding more info, but with brevity included:
# ip addr
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
inet 10.10.5.10/24 brd 10.10.5.255 scope global eth0
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
inet 10.10.6.10/24 brd 10.10.6.255 scope global eth1
Best Answer
with the setup as you currently show:
you have 2 sides :
therefore
it can get complicated to put in words...
what would help: tell us the list of networks ( ) and each network's getways.
right now I guessed you try to have:
General way to debug your setup: