I really appreciate any help anyone can give me. This is problems
regarding installing a 2nd networking card.
So last night I wanted to install a 2nd nic in my webserver so that
way if one of the cards break or has problems I'll have another
ip/route to the webserver. Here is the problem. When I have eth1 come
up on boot the route table gets all messed up. After doing so eth0 and
eth1 don't work. I can ping out from the server, but I can't ping
either ip of eth0 or eth1 from my other computer.
Here is example readout of the route table when both come up on boot:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
205.214.22.160 * 255.255.255.240 U 0 0
0 eth1
205.214.22.160 * 255.255.255.240 U 0 0
0 eth1
127.0.0.0 * 255.0.0.0 U 0 0
0 lo
default 205.214.22.161 0.0.0.0 UG 0 0
0 eth0
I can't ping eth0 or eth1. I can ping out from the server.
Here is the webserver specs:
O.S.: Linux Redhat 7.2
NIC#1: Realtek 8139 10/100
NIC#2: Realtek 8139 10/100
Here is my network specs:
[not actual ips | for example]
Gateway: 205.214.22.161
Network: 205.214.22.160
Netmask: 255.255.255.240
Broadcast: 205.214.22.175
IP for NIC#1: 205.214.22.170
IP for NIC#2: 205.214.22.171
Here is the /etc/modules.conf file:
alias parport_lowlevel parport_pc
alias eth0 8139too
alias eth1 8139too
alias usb-controller usb-uhci
Here is the /etc/sysconfig/network-scripts/ifcfg-eth0 file:
DEVICE="eth0"
ONBOOT="yes"
BOOTPROTO="none"
IPADDR="205.214.22.170"
NETMASK="255.255.255.240"
GATEWAY="205.214.22.161"
NETWORK="205.214.22.160"
BROADCAST="205.214.22.175"
Here is the /etc/sysconfig/network-scripts/ifcfg-eth1 file:
DEVICE="eth1"
ONBOOT="no"
BOOTPROTO="none"
IPADDR="205.214.22.171"
NETMASK="255.255.255.240"
GATEWAY="205.214.22.161"
NETWORK="205.214.22.160"
BROADCAST="205.214.22.175"
If I add the correct route tables so that I can ping eth0 and eth1,
eth1 isn't independent. Meaning if I do a:
/sbin/ifconfig eth0 down
Then I can't ping eth1 anymore.
I've also tried [booting with eth1 not comingup at boot, just eth0]:
/etc/sysconfig/network-scripts/ifup eth1
and that makes eth0 stop responding so I can't ping it anymore.
This is driving me crazy. I don't see anythign wrong with the
configuration. I really appreciate anyhelp that you can give me. I
need this eth1 working independent so that if eth0 goes down eth1 can
still access the gateway 205.214.22.161.
Thanks,
Joe Russell
Blankvision Designs