[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#959075: Still not working on Debian testing



Debian testing:

$ dpkg -l | grep ifenslave
ii  ifenslave                        2.10+nmu2
all          configure network interfaces for parallel routing (bonding)


The lines "bond-slaves" and "bond-primary" still do not work:

iface bond0 inet static
        address 10.234.0.32
        netmask 255.255.255.0
        network 10.234.0.0
        broadcast 10.234.0.255
        bond-slaves eth2 eth3
        bond-mode active-backup
        bond-primary eth2
        bond-arp_interval 2000
        bond-arp_ip_target 10.234.0.33, 10.234.0.34

# ifup bond0
# 

# cat /proc/net/bonding/bond0 
Ethernet Channel Bonding Driver: v5.7.0-1-amd64

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: None
MII Status: down
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
Peer Notification Delay (ms): 0
ARP Polling Interval (ms): 2000
ARP IP target/s (n.n.n.n form): 10.234.0.33, 10.234.0.34

I miss the slaves eth2 and eth3, so I add them by manually:

# echo "+eth2" > /sys/class/net/bond0/bonding/slaves
# echo "+eth3" > /sys/class/net/bond0/bonding/slaves

[or:]

# ip link set eth2 master bond0
# ip link set eth3 master bond0

# echo eth2 > /sys/class/net/bond0/bonding/primary

# cat /proc/net/bonding/bond0 
Ethernet Channel Bonding Driver: v5.7.0-1-amd64

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: eth2 (primary_reselect always)
Currently Active Slave: eth2
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
Peer Notification Delay (ms): 0
ARP Polling Interval (ms): 2000
ARP IP target/s (n.n.n.n form): 10.234.0.33, 10.234.0.34

Slave Interface: eth2
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 90:b1:1c:33:94:d8
Slave queue ID: 0

Slave Interface: eth3
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 90:b1:1c:33:94:d9
Slave queue ID: 0


-- 
richard lucassen
http://contact.xaq.nl/


Reply to: