I have one physical interface(eth0) and two virtual interfaces(eth0:1, eth0:2) , both of virtual interfaces have Public IP addresses. I want to bond these two virtual interfaces into `bond0`, As you can see `/etc/network/interfaces` :
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 144.yy.xx.124
netmask 255.255.255.224
network 144.yy.xx.96
broadcast 144.yy.xx.127
gateway 144.yy.xx.109
dns-nameservers 8.8.8.8 4.2.2.2 4.2.2.4
auto eth0:1
allow-bond0 eth0:1
iface eth0:1 inet static
address 148.aa.bb.197
netmask 255.255.255.248
bond-master bond0
bond-primary eth0:1
auto eth0:2
allow-bond0 eth0:2
iface eth0:2 inet static
address 148.cc.dd.198
netmask 255.255.255.248
bond-master bond0
auto bond0
iface bond0 inet static
address 10.31.1.5
netmask 255.255.255.0
network 10.31.1.0
gateway 10.31.1.254
bond-slaves none
bond_mode balance-rr
bond_miimon 100
bond_downdelay 200
bond_updelay 200
But when try to `sudo ifup bond0`, it returns:
Waiting for a slave to join bond0 (will timeout after 60s)
No slave joined bond0, continuing anyway
Also I added `bonding` in `/etc/modules`
Is it Interface bonding possible for virtual interfaces?
Whats the problem?