Skip to main content

Thread: ifenslave-2.6 ?


hi...

have kxstudio 10.04.3 lts x86_64
based on ubuntu 10.04 lts + kde plasma desktop.

#1. don't want upgrade ubuntu* or kubuntu 12.04 lts.

have 2 different internet connections available...

eth0 & ppp0
or wlan0 & ppp0


both work when used 1 @ time... $ ping www.yahoo.com, etc...

round-robin load balancing 2 ifenslave.

have iproute, libc6, net-tools net-3 installed.
http://packages.ubuntu.com/lucid-updates/ifenslave-2.6
http://manpages.ubuntu.com/manpages/...ave-2.6.8.html

steps follow:
$ sudo modprobe bonding
$ sudo ifconfig bond0 192.168.0.1 ".10 or .99"
$ sudo ifenslave -f bond0 eth0
$ ifconfig
bond0 master
eth0 slave.
$ ping www.yahoo.com
error #1.

$ sudo ifconfig eth0 192.168.0.2
$ ping www.yahoo.com
error #1.

$ sudo ifenslave -f bond0 ppp0
error #2.

??????????????????????????????????????????????

$ sudo ifenslave bond0 wlan0
ok.
but...
$ ping www.yahoo.com
error #1.

$ sudo ifconfig bond0 192.168.0.99
ok
$ ping www.yahoo.com
error.

$ sudo ifenslave -d bond0 wlan0
waiting wlan0 reconect..
$ ping www.yahoo.com

ping any-fp3-real.wa1.b.yahoo.com (98.139.183.24) 56(84) bytes of data.
64 bytes ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=1 ttl=48 time=218 ms
64 bytes ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=2 ttl=47 time=208 ms

problem seems bond0.

$ cat /proc/net/bonding/bond0
ethernet channel bonding driver: v3.7.0 (june 2, 2010)

bonding mode: load balancing (round-robin)
mii status: up
mii polling interval (ms): 0
delay (ms): 0
down delay (ms): 0

slave interface: wlan0
mii status: up
speed: 100 mbps
duplex: full
link failure count: 0
permanent hw addr: 88:a5:bd:00:3f:14
slave queue id: 0

$ ping wwww.yahoo.com
error #3.
ping: unknown host www.yahoo.com

$ sudo ifenslave -d bond0 wlan0
waiting wlan0 reconect..
$ ping www.yahoo.com

ping any-fp3-real.wa1.b.yahoo.com (98.139.183.24) 56(84) bytes of data.
64 bytes ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=1 ttl=48 time=218 ms
64 bytes ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=2 ttl=47 time=208 ms

$ uname -a
linux jpcjpcjpc 2.6.38-15-generic #59~lucid1-ubuntu smp mon apr 30 23:38:40 utc 2012 x86_64 gnu/linux


links:
http://www.cyberciti.biz/tips/debian...nnections.html

???
bonding 2 interfaces has same problem.

code:
jpc@jpcjpcjpc:~$ ping www.yahoo.com  ping any-fp3-real.wa1.b.yahoo.com (98.139.183.24) 56(84) bytes of data.  64 bytes ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=1 ttl=48 time=218 ms  64 bytes ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=2 ttl=47 time=208 ms  ^c  --- any-fp3-real.wa1.b.yahoo.com ping statistics ---  2 packets transmitted, 2 received, 0% packet loss, time 1001ms  rtt min/avg/max/mdev = 208.136/213.302/218.469/5.187 ms  jpc@jpcjpcjpc:~$ modprobe -v bonding mode=0 arp_interval=100 arp_ip_target=192.168.0.1  jpc@jpcjpcjpc:~$ cat /proc/net/bonding/bond0   ethernet channel bonding driver: v3.7.0 (june 2, 2010)    bonding mode: load balancing (round-robin)  mii status: down  mii polling interval (ms): 0  delay (ms): 0  down delay (ms): 0  jpc@jpcjpcjpc:~$ sudo ifenslave bond0 wlan0  jpc@jpcjpcjpc:~$ cat /proc/net/bonding/bond0   ethernet channel bonding driver: v3.7.0 (june 2, 2010)    bonding mode: load balancing (round-robin)  mii status:  mii polling interval (ms): 0  delay (ms): 0  down delay (ms): 0    slave interface: wlan0  mii status:  speed: 100 mbps  duplex: full  link failure count: 0  permanent hw addr: 88:a5:bd:00:3f:14  slave queue id: 0  jpc@jpcjpcjpc:~$ ping www.yahoo.com  ping: unknown host www.yahoo.com  jpc@jpcjpcjpc:~$ ping www.yahoo.com  ping: unknown host www.yahoo.com  jpc@jpcjpcjpc:~$ cat /proc/net/bonding/bond0   ethernet channel bonding driver: v3.7.0 (june 2, 2010)    bonding mode: load balancing (round-robin)  mii status:  mii polling interval (ms): 0  delay (ms): 0  down delay (ms): 0    slave interface: wlan0  mii status:  speed: 100 mbps  duplex: full  link failure count: 0  permanent hw addr: 88:a5:bd:00:3f:14  slave queue id: 0  jpc@jpcjpcjpc:~$ sudo ifenslave -d bond0 wlan0  jpc@jpcjpcjpc:~$ ping www.yahoo.com  ping any-fp3-real.wa1.b.yahoo.com (209.191.122.70) 56(84) bytes of data.  64 bytes ir1.fp.vip.mud.yahoo.com (209.191.122.70): icmp_seq=1 ttl=52 time=151 ms  64 bytes ir1.fp.vip.mud.yahoo.com (209.191.122.70): icmp_seq=2 ttl=52 time=151 ms  ^c64 bytes ir1.fp.vip.mud.yahoo.com (209.191.122.70): icmp_seq=3 ttl=52 time=374 ms    --- any-fp3-real.wa1.b.yahoo.com ping statistics ---  3 packets transmitted, 3 received, 0% packet loss, time 2002ms  rtt min/avg/max/mdev = 151.166/225.928/374.726/105.217 ms  jpc@jpcjpcjpc:~$ uname -a  linux jpcjpcjpc 2.6.38-15-generic #59~lucid1-ubuntu smp mon apr 30 23:38:40 utc 2012 x86_64 gnu/linux  jpc@jpcjpcjpc:~$ ping www.yahoo.com  ping any-fp3-real.wa1.b.yahoo.com (209.191.122.70) 56(84) bytes of data.  64 bytes ir1.fp.vip.mud.yahoo.com (209.191.122.70): icmp_seq=1 ttl=52 time=150 ms  64 bytes ir1.fp.vip.mud.yahoo.com (209.191.122.70): icmp_seq=2 ttl=52 time=151 ms  ^c  --- any-fp3-real.wa1.b.yahoo.com ping statistics ---  3 packets transmitted, 2 received, 33% packet loss, time 2002ms  rtt min/avg/max/mdev = 150.604/151.178/151.753/0.693 ms  jpc@jpcjpcjpc:~$ sudo ifenslave bond0 wlan0 eth0  jpc@jpcjpcjpc:~$ ping www.yahoo.com  ping: unknown host www.yahoo.com  jpc@jpcjpcjpc:~$ ifconfig  bond0     link encap:ethernet  direcciónhw 88:a5:bd:00:3f:14              direc. inet:192.168.0.99  difus.:192.168.0.255  másc:255.255.255.0            dirección inet6: fe80::beae:c5ff:fe5d:f05b/64 alcance:enlace            activo difusiÓn funcionando maestro multicast  mtu:1500  métrica:1            paquetes rx:1841922 errores:0 perdidos:0 overruns:0 frame:0            paquetes tx:1277455 errores:0 perdidos:0 overruns:0 carrier:0            colisiones:0 long.colatx:0             bytes rx:1944325780 (1.9 gb)  tx bytes:100773620 (100.7 mb)    eth0      link encap:ethernet  direcciónhw 88:a5:bd:00:3f:14              activo difusiÓn funcionando esclavo multicast  mtu:1500  métrica:1            paquetes rx:1779495 errores:0 perdidos:0 overruns:0 frame:0            paquetes tx:1237408 errores:0 perdidos:0 overruns:0 carrier:0            colisiones:0 long.colatx:1000             bytes rx:1874659346 (1.8 gb)  tx bytes:96965117 (96.9 mb)            interrupción:20 memoria:fbbe0000-fbc00000     lo        link encap:bucle local              direc. inet:127.0.0.1  másc:255.0.0.0            dirección inet6: ::1/128 alcance:anfitrión            activo bucle funcionando  mtu:16436  métrica:1            paquetes rx:834 errores:0 perdidos:0 overruns:0 frame:0            paquetes tx:834 errores:0 perdidos:0 overruns:0 carrier:0            colisiones:0 long.colatx:0             bytes rx:82774 (82.7 kb)  tx bytes:82774 (82.7 kb)    wlan0     link encap:ethernet  direcciónhw 88:a5:bd:00:3f:14              activo difusiÓn funcionando esclavo multicast  mtu:1500  métrica:1            paquetes rx:62427 errores:0 perdidos:0 overruns:0 frame:0            paquetes tx:40047 errores:0 perdidos:0 overruns:0 carrier:0            colisiones:0 long.colatx:1000             bytes rx:69666434 (69.6 mb)  tx bytes:3808503 (3.8 mb)    jpc@jpcjpcjpc:~$ cat /proc/net/bonding/bond0   ethernet channel bonding driver: v3.7.0 (june 2, 2010)    bonding mode: load balancing (round-robin)  mii status:  mii polling interval (ms): 0  delay (ms): 0  down delay (ms): 0    slave interface: wlan0  mii status:  speed: 100 mbps  duplex: full  link failure count: 0  permanent hw addr: 88:a5:bd:00:3f:14  slave queue id: 0    slave interface: eth0  mii status:  speed: 100 mbps  duplex: full  link failure count: 0  permanent hw addr: bc:ae:c5:5d:f0:5b  slave queue id: 0  jpc@jpcjpcjpc:~$ ping www.yahoo.com  ping: unknown host www.yahoo.com  jpc@jpcjpcjpc:~$ sudo ifenslave -d bond0 wlan0 eth0  jpc@jpcjpcjpc:~$ ping www.yahoo.com  ping: unknown host www.yahoo.com  jpc@jpcjpcjpc:~$ ping www.yahoo.com  ping any-fp3-real.wa1.b.yahoo.com (98.139.183.24) 56(84) bytes of data.  64 bytes ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=1 ttl=48 time=229 ms  64 bytes ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=2 ttl=47 time=207 ms  64 bytes ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=3 ttl=48 time=252 ms  ^c



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] ifenslave-2.6 ?


Ubuntu

Comments

Popular posts from this blog

Thread: gpg: Conflicting Commands

Adobe Acrobat Pro , Terminal Server Use

when i try using AE CC 3d camera tracker after the first step it says "Analysis solve failed." help?