3、无论是eth1:1还是eth0:1的写法,采用的是同一块网卡配两个地址的方式,所以是eth1还是eth0,对准了很准重要,否则会有如下提示:
Sep 22 16:44:34 linux1178 lvs[7400]:create_monitor for httpd/11.79 running as pid 7411
Sep 22 16:44:34 linux1178 lvs[7400]:create_monitor for httpd/11.80 running as pid 7412
Sep 22 16:44:34 linux1178 nanny[7412]:starting LVS client monitor for 28.6.11.81:80 -> 28.6.11.80:80
Sep 22 16:44:34 linux1178 nanny[7411]:starting LVS client monitor for 28.6.11.81:80 -> 28.6.11.79:80
Sep 22 16:44:34 linux1178 nanny[7412]: [active ] making 28.6.11.80:80 available
Sep 22 16:44:34 linux1178 nanny[7411]: [active ] making 28.6.11.79:80 available
Sep 22 16:44:34 linux1178 pulse[7405]:SIOCGIFBRDADDR failed: No such device