ci risiamo, configurazione bonding...
Inviato: mer 21 set 2005, 16:47
Ci risiamo...spero alla fine di riuscire a configuarre queste due interfaccie di rete!!
Ora sono disperato!! Ho una slackware 10.1 con kernel 2.6.10
Eseguo less /proc/net/bonding/bond0, sul master ottengo:
Ehternet Channel Bonding Driver: v2.6.1
Bonding Mode: fault-tolerance (active-backup)
Primary slave: None
Currenctly Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:c1:26:01:5a:de
Slave Interface: eth1
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:a0:24:4a:8b:91
Invece sullo slave ottengo:
Bonding Mode: fault-tolerance (active-backup)
Primary slave: None
Currenctly Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:90:27:a6:ae:da
Slave Interface: eth1
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:e0:7d:8b:4c:43
Sul master ho in /etc/rc.d/rc.local:
modprobe bonding mode=active-backup miimon=100
ifconfig bond0 192.168.1.2 netmask 255.255.255.0 up
ifenslave bond0 eth0
ifenslave bond0 eth1
Sullo slave ho in /etc/rc.d/rc.local:
modprobe bonding mode=active-backup miimon=100
ifconfig bond0 192.168.1.1 netmask 255.255.255.0 up
ifenslave bond0 eth0
ifenslave bond0 eth1
Aiuto!!!
PS: le interfaccie di rete quando digito ifconfig -a hanno tutte lo stesso indirizzo MAC; invece il programma ifenslave dopo che ho installato il kernel 2.6.10 era già in /sbin (senza compilare il sorgente ifenslave.c).
Ora sono disperato!! Ho una slackware 10.1 con kernel 2.6.10
Eseguo less /proc/net/bonding/bond0, sul master ottengo:
Ehternet Channel Bonding Driver: v2.6.1
Bonding Mode: fault-tolerance (active-backup)
Primary slave: None
Currenctly Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:c1:26:01:5a:de
Slave Interface: eth1
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:a0:24:4a:8b:91
Invece sullo slave ottengo:
Bonding Mode: fault-tolerance (active-backup)
Primary slave: None
Currenctly Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:90:27:a6:ae:da
Slave Interface: eth1
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:e0:7d:8b:4c:43
Sul master ho in /etc/rc.d/rc.local:
modprobe bonding mode=active-backup miimon=100
ifconfig bond0 192.168.1.2 netmask 255.255.255.0 up
ifenslave bond0 eth0
ifenslave bond0 eth1
Sullo slave ho in /etc/rc.d/rc.local:
modprobe bonding mode=active-backup miimon=100
ifconfig bond0 192.168.1.1 netmask 255.255.255.0 up
ifenslave bond0 eth0
ifenslave bond0 eth1
Aiuto!!!
PS: le interfaccie di rete quando digito ifconfig -a hanno tutte lo stesso indirizzo MAC; invece il programma ifenslave dopo che ho installato il kernel 2.6.10 era già in /sbin (senza compilare il sorgente ifenslave.c).