First, configuration scenario: Due to machine aging, considering the reliability of the machine, decided to replace the server, because the old server is 3 network (telecommunications, Unicom, mobile), so on the new machine needs to configure 3 network connection 3 Gateway
Second, the configuration steps
1. Configure the IP address on the three NIC
Description: Use 192.168.1.x 192.168.2.x 192.168.3.x instead of 3 public network
[Email protected] ~]# cat/etc/sysconfig/network-scripts/ifcfg-eth1device=eth1#hwaddr=6c:92:bf:99:dfbootproto= Nonetype=ethernetonboot=yesipaddr=192.168.1.2netmask=255.255.255.0gateway=192.168.1.1arpcheck=no[[email Protected] ~]# cat/etc/sysconfig/network-scripts/ifcfg-eth2device=eth2#hwaddr=6c:93:bf:99:dfbootproto=nonetype= Ethernetonboot=yesipaddr=192.168.2.2netmask=255.255.255.0gateway=192.168.2.1arpcheck=no[[email protected] ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth3device=eth3#hwaddr=6c:82:bf:99:efbootproto=nonetype=ethernetonboot= Yesipaddr=192.168.3.2netmask=255.255.255.0gateway=192.168.3.1arpcheck=no
Linux configuration 3 NIC 3 Gateway