Home > OS >  Linux virtual IP
Linux virtual IP

Time:10-05

1. Add IP address
The ifconfig eth0:0 10.80.102.240 netmask 255.255.254.0 up
Avoid the loss of restart
Vi/etc/sysconfig/network - scripts/ifcfg - eth0:0
Copy the eth0 configuration file change new IP

Changed to
2. Add the routing route add default gw 10.80.102.1
3. The server name
"Change the/etc/hosts file
Add 192.168.213.8 dbserv1 # dbserv1.orbotech.org as far as possible on the above point

4. Restart the test
  • Related