-
Notifications
You must be signed in to change notification settings - Fork 0
Networksettings_EL
Remember, this cluster has two network cards. Eth0 is the public network and eth1 is the local-to-the-cluster network. Internet <-> Frontend01 <-> nodes. The frontend is known as frontend01.cluster.domain and it will have a public side address of 192.168.1.201 and a private side network of 10.10.10.10. Eth0 should already be configured properly from the installation, however, eth1 may not have been configured yet.
Eth1:
$ ifconfig eth1 | grep HWaddr
eth1 Link encap:Ethernet HWaddr 00:11:22:33:44:55:66
$ sudo vim /etc/sysconfig/network-scripts/ifcfg-eth1
HWADDR=00:11:22:33:44:55:66
TYPE=Ethernet
BOOTPROTO=none
IPADDR=10.10.10.10
PREFIX=24
GATEWAY=10.10.10.1
DNS1=10.10.10.10
DOMAIN=cluster.domain
ONBOOT=yes
NM_CONTROLLED=no
DEFROUTE=no
It may also be helpful to ensure that your network file is properly configured as well. Replace the ###.###.###.### with the IP of your public side router.
$ sudo cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=frontend01.cluster.domain
GATEWAY=###.###.###.###
Lastly, ensure that you have the proper resolv.conf configurations. The nameservers must be in this order. Replace ###.###.###.### with your company/router nameserver or if you don't have one use 8.8.8.8 instead.
$ sudo cat /etc/resolve.conf
nameserver 127.0.0.1
nameserver 10.10.10.10
nameserver ###.###.###.###
search cluster.domain