Databases Reference
In-Depth Information
[root@cm01dbm01 ~]# ipcalc -bnm 10.16.10.10 255.255.255.0
NETMASK=255.255.255.0
BROADCAST=10.16.10.255
NETWORK=10.16.10.0
[root@cm01dbm01 ~]# ipcalc -bnm 10.16.20.10 255.255.255.0
NETMASK=255.255.255.0
BROADCAST=10.16.20.255
NETWORK=10.16.20.0
[root@cm01dbm01 ~]#
2.
With this information, you now need to manually edit the following files in
/etc/sysconfig/network-scripts on each compute node and set the desired value for
IPADDR , NETMASK , NETWORK , BROADCAST , and GATEWAY :
/etc/sysconfig/network-scripts/ifcfg-bondeth0
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth3
this section assumes that you have not altered the default ethernet bonding; in other words, bondeth0
represents your client access network's bonded interface.
Note
The following is an example of these changes:
[root@cm01dbm01 ~]# cat /etc/sysconfig/network-scripts/ifcfg-bondeth0
#### DO NOT REMOVE THESE LINES ####
#### %GENERATED BY CELL% ####
DEVICE=bondeth0
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
IPADDR=10.16.10.10
NETMASK=255.255.255.0
NETWORK=10.16.10.0
BROADCAST=10.16.10.255
BONDING_OPTS="mode=active-backup miimon=100 downdelay=5000 updelay=5000 num_grat_arp=100"
IPV6INIT=no
GATEWAY=10.16.10.1
[root@cm01dbm01 ~]#
[root@cm01dbm01 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
#### DO NOT REMOVE THESE LINES ####
#### %GENERATED BY CELL% ####
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=10.16.1.10
NETMASK=255.255.255.0
NETWORK=10.16.1.0
 
 
Search WWH ::




Custom Search