I have a Redhat 9 machine with three network interfaces, but I can only get 2 of them to pass any traffic. When I originally setup the machine, I only set it up to use 2 interfaces and now I want to add the third. Here is an example of the configuration I am trying to use.
eth0 - public IP
|
|
|------eth1 - DMZ IP (10.x.x.x)
|
|
eth2 - internal IP (172.x.x.x)
The problem arises when I bring up eth2. If I am only using eth0 and eth1 everything is fine, but when I bring up eth2, I receive the message "RTNETLINK answers: Network is unreachable".
At first I thought that it might be a routing problem, but everything looks good there. I also checked the cables and they are good. Here are my routing tables (ip addresses have been substituted) when eth2 is up.
208.248.160.0/24 dev eth0 scope link
10.1.1.0/24 dev eth1 scope link
172.69.0.0/16 dev eth2 scope link
127.0.0.0/8 dev lo scope link
default via 10.1.1.1 dev eth1
default via 172.69.69.1 dev eth2
default via 208.248.160.129 dev eth0
Here are my ethx configs
DEVICE=eth0 - external
ONBOOT=yes
BOOTPROTO=static
IPADDR=208.248.160.254
NETMASK=255.255.255.0
GATEWAY=208.248.160.129
DEVICE=eth1 - DMZ
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.1.1.254
NETMASK=255.255.255.0
GATEWAY=10.1.1.1
DEVICE=eth2 - internal
ONBOOT=yes
BOOTPROTO=static
IPADDR=172.69.69.2
NETMASK=255.255.0.0
GATEWAY=172.69.69.1
Since routing and subnetting is fine, I looked at my IPTABLES configuration. Since I was not concerned about security at this point, I turned it off (service iptables stop/chkconfig iptables off). This did nothing for me. I can ping the ip address assigned to eth2, but I can't ping eth2's gateway. I double and tripple checked all cables to no avail. I have even shutdown the other two interfaces and only had eth2 active. Still the same results.
As an act of desparation I even replaced the NIC card thinking it might be bad. This did not change anything. I really think that I am missing something in the configuration. The other two were configured when I first installed, but I chose not to configure the third interface. Is there something special that needs to be done when adding this third interface?
Oh, I forgot to mention that this box is not a router. It is providing multiple services which each service being bound to only the network that it is intended for.
Thank you for any ideas.
eth0 - public IP
|
|
|------eth1 - DMZ IP (10.x.x.x)
|
|
eth2 - internal IP (172.x.x.x)
The problem arises when I bring up eth2. If I am only using eth0 and eth1 everything is fine, but when I bring up eth2, I receive the message "RTNETLINK answers: Network is unreachable".
At first I thought that it might be a routing problem, but everything looks good there. I also checked the cables and they are good. Here are my routing tables (ip addresses have been substituted) when eth2 is up.
208.248.160.0/24 dev eth0 scope link
10.1.1.0/24 dev eth1 scope link
172.69.0.0/16 dev eth2 scope link
127.0.0.0/8 dev lo scope link
default via 10.1.1.1 dev eth1
default via 172.69.69.1 dev eth2
default via 208.248.160.129 dev eth0
Here are my ethx configs
DEVICE=eth0 - external
ONBOOT=yes
BOOTPROTO=static
IPADDR=208.248.160.254
NETMASK=255.255.255.0
GATEWAY=208.248.160.129
DEVICE=eth1 - DMZ
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.1.1.254
NETMASK=255.255.255.0
GATEWAY=10.1.1.1
DEVICE=eth2 - internal
ONBOOT=yes
BOOTPROTO=static
IPADDR=172.69.69.2
NETMASK=255.255.0.0
GATEWAY=172.69.69.1
Since routing and subnetting is fine, I looked at my IPTABLES configuration. Since I was not concerned about security at this point, I turned it off (service iptables stop/chkconfig iptables off). This did nothing for me. I can ping the ip address assigned to eth2, but I can't ping eth2's gateway. I double and tripple checked all cables to no avail. I have even shutdown the other two interfaces and only had eth2 active. Still the same results.
As an act of desparation I even replaced the NIC card thinking it might be bad. This did not change anything. I really think that I am missing something in the configuration. The other two were configured when I first installed, but I chose not to configure the third interface. Is there something special that needs to be done when adding this third interface?
Oh, I forgot to mention that this box is not a router. It is providing multiple services which each service being bound to only the network that it is intended for.
Thank you for any ideas.