Ubuntu Pastebin

Paste from muculus at Sat, 1 Aug 2015 15:17:31 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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?
Download as text