Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Configuring network bonding in VM

we would like to setup network bonding in VM (nova instance) but when trying to ping from VM1 to VM2, result is NG.

VM1: 2: eth0: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether fa:16:3e:29:e3:d6 brd ff:ff:ff:ff:ff:ff inet 192.168.71.2/24 brd 192.168.71.255 scope global dynamic eth0 5: eth3: <broadcast,multicast,slave,up,lower_up> mtu 1500 qdisc pfifo_fast master bond0 state UP qlen 1000 link/ether fa:16:3e:5b:63:a0 brd ff:ff:ff:ff:ff:ff 8: bond0: <broadcast,multicast,master,up,lower_up> mtu 1500 qdisc noqueue state UP link/ether fa:16:3e:5b:63:a0 brd ff:ff:ff:ff:ff:ff 9: bond0.4@bond0: <broadcast,multicast,up,lower_up> mtu 1500 qdisc noqueue state UP link/ether fa:16:3e:5b:63:a0 brd ff:ff:ff:ff:ff:ff inet 192.168.160.6/24 brd 192.168.160.255 scope global bond0.4

VM2: 2: eth0: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether fa:16:3e:44:ff:b9 brd ff:ff:ff:ff:ff:ff inet 192.168.71.4/24 brd 192.168.71.255 scope global dynamic eth0 5: eth3: <broadcast,multicast,slave,up,lower_up> mtu 1500 qdisc pfifo_fast master bond0 state UP qlen 1000 link/ether fa:16:3e:08:eb:52 brd ff:ff:ff:ff:ff:ff 8: bond0: <broadcast,multicast,master,up,lower_up> mtu 1500 qdisc noqueue state UP link/ether fa:16:3e:08:eb:52 brd ff:ff:ff:ff:ff:ff 9: bond0.4@bond0: <broadcast,multicast,up,lower_up> mtu 1500 qdisc noqueue state UP link/ether fa:16:3e:08:eb:52 brd ff:ff:ff:ff:ff:ff inet 192.168.160.5/24 brd 192.168.160.255 scope global bond0.4

ping from VM1 to VM2 using eth0 IP is OK. ping from VM1 to VM2 using bond0.4 IP is NG.

how should we configure host server/VM for communication to be OK?

click to hide/show revision 2
No.2 Revision

Configuring network bonding in VM

we would like to setup network bonding in VM (nova instance) but when trying to ping from VM1 to VM2, result is NG.

VM1: VM1:

2: eth0: <broadcast,multicast,up,lower_up> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether fa:16:3e:29:e3:d6 brd ff:ff:ff:ff:ff:ff
    inet 192.168.71.2/24 brd 192.168.71.255 scope global dynamic eth0
5: eth3: <broadcast,multicast,slave,up,lower_up> <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP qlen 1000
    link/ether fa:16:3e:5b:63:a0 brd ff:ff:ff:ff:ff:ff
8: bond0: <broadcast,multicast,master,up,lower_up> <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether fa:16:3e:5b:63:a0 brd ff:ff:ff:ff:ff:ff
9: bond0.4@bond0: <broadcast,multicast,up,lower_up> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether fa:16:3e:5b:63:a0 brd ff:ff:ff:ff:ff:ff
    inet 192.168.160.6/24 brd 192.168.160.255 scope global bond0.4

VM2: bond0.4

VM2:

2: eth0: <broadcast,multicast,up,lower_up> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether fa:16:3e:44:ff:b9 brd ff:ff:ff:ff:ff:ff
    inet 192.168.71.4/24 brd 192.168.71.255 scope global dynamic eth0
5: eth3: <broadcast,multicast,slave,up,lower_up> <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP qlen 1000
    link/ether fa:16:3e:08:eb:52 brd ff:ff:ff:ff:ff:ff
8: bond0: <broadcast,multicast,master,up,lower_up> <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether fa:16:3e:08:eb:52 brd ff:ff:ff:ff:ff:ff
9: bond0.4@bond0: <broadcast,multicast,up,lower_up> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether fa:16:3e:08:eb:52 brd ff:ff:ff:ff:ff:ff
    inet 192.168.160.5/24 brd 192.168.160.255 scope global bond0.4

bond0.4

ping from VM1 to VM2 using eth0 IP is OK. ping from VM1 to VM2 using bond0.4 IP is NG.

how should we configure host server/VM for communication to be OK?