How about using vlan configuration like below where vlan interface is
an interface by itself?
I don't have cluster software on this system, so I don't know if it
will make any difference, but you can try out
ifconfig -a
bond0 Link encap:Ethernet HWaddr 18:A9:05:46:B0:38
inet addr:10.227.153.13 Bcast:10.227.153.255 Mask:255.255.255.0
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:14124331 errors:0 dropped:0 overruns:0 frame:0
TX packets:4734240 errors:2180 dropped:0 overruns:0 carrier:2180
collisions:0 txqueuelen:0
RX bytes:7510855472 (6.9 GiB) TX bytes:398748171 (380.2 MiB)
bond1 Link encap:Ethernet HWaddr 00:24:81:AF:29:EC
inet addr:10.227.154.1 Bcast:10.227.154.31 Mask:255.255.255.224
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:110542882 errors:0 dropped:0 overruns:0 frame:0
TX packets:97872819 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12272934592 (11.4 GiB) TX bytes:17264744143 (16.0 GiB)
bond2 Link encap:Ethernet HWaddr 00:24:81:AF:29:EE
inet addr:10.227.154.35 Bcast:10.227.154.63 Mask:255.255.255.224
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:22969027 errors:0 dropped:0 overruns:0 frame:0
TX packets:16106456 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3652374394 (3.4 GiB) TX bytes:3020527862 (2.8 GiB)
eth0 Link encap:Ethernet HWaddr 18:A9:05:46:B0:38
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:11283463 errors:0 dropped:0 overruns:0 frame:0
TX packets:4734240 errors:1109 dropped:0 overruns:0 carrier:1109
collisions:0 txqueuelen:1000
RX bytes:7052205310 (6.5 GiB) TX bytes:398748171 (380.2 MiB)
Interrupt:201 Memory:fb000000-fb7fffff
eth1 Link encap:Ethernet HWaddr 18:A9:05:46:B0:38
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:2840868 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:1071 dropped:0 overruns:0 carrier:1071
collisions:0 txqueuelen:1000
RX bytes:458650162 (437.4 MiB) TX bytes:0 (0.0 b)
Interrupt:209 Memory:fa000000-fa7fffff
eth2 Link encap:Ethernet HWaddr 00:24:81:AF:29:EC
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:109407343 errors:0 dropped:0 overruns:0 frame:0
TX packets:97872819 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12010370089 (11.1 GiB) TX bytes:17264744143 (16.0 GiB)
Interrupt:233
eth3 Link encap:Ethernet HWaddr 00:24:81:AF:29:EC
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:1135539 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:262564503 (250.4 MiB) TX bytes:0 (0.0 b)
Interrupt:50
eth4 Link encap:Ethernet HWaddr 00:24:81:AF:29:EE
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:17395363 errors:0 dropped:0 overruns:0 frame:0
TX packets:16106456 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3240789343 (3.0 GiB) TX bytes:3020527862 (2.8 GiB)
Interrupt:50
eth5 Link encap:Ethernet HWaddr 00:24:81:AF:29:EE
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:5573664 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:411585051 (392.5 MiB) TX bytes:0 (0.0 b)
Interrupt:209
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:121192326 errors:0 dropped:0 overruns:0 frame:0
TX packets:121192326 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8285371598 (7.7 GiB) TX bytes:8285371598 (7.7 GiB)
vlan18 Link encap:Ethernet HWaddr 00:24:81:AF:29:EC
inet addr:172.16.1.1 Bcast:172.16.1.15 Mask:255.255.255.240
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:27997139 errors:0 dropped:0 overruns:0 frame:0
TX packets:28039628 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3074283516 (2.8 GiB) TX bytes:9916282158 (9.2 GiB)
cat /etc/sysconfig/network-scripts/ifcfg-vlan18
DEVICE=vlan18
BOOTPROTO=static
ONBOOT=yes
USERCTL=no
IPADDR=172.16.1.1
NETMASK=255.255.255.240
VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD
VLAN=yes
PHYSDEV=bond1
NOZEROCONF=yes
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems