Dual NIC problem
I just got two new Redhat Enterprise servers. I plan on using one as a webserver and the other as a mySQL server. Both machines have a second NIC and they are connected together with a crossover cable between the second NIC's.I am having trouble configuring the second NIC's so the two machines can communicate with each other.
So far I've tried adding a /etc/sysconfig/network-scripts/ifcfg-eth1 file on both servers.
Server 1:
DEVICE=eth1
onBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.1
NETMASK=255.255.255.0
Server 2:
DEVICE=eth1
onBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.0
After running /etc/init.d/network restart I still can't ping the servers from each other.
I also tried this:
Server 1:
ifconfig eth1 down
ifconfig eth1 192.168.0.1 up
Server 2:
ifconfig eth1 down
ifconfig eth1 192.168.0.2 up
Yet, still no luck.
I'm probably missing something obvious, but networking isn't my strong point. If anyone has any ideas how to make this work or suggestions how to track down the problem, please let me know.
Thanks for your help,
James