Re: bonding en debian
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bueno, os respondo a todos, he hecho:
bajo los interfaces de red
/etc/init.d/networking stop
modprobe bonding max_bonds=2
ifconfig bond0 192.168.88.200 netmask 255.255.255.0 broadcast 192.168.88.255
up
ifconfig eth0 up
ifconfig eth1 up
ifenslave bond0 eth0 eth1
route add default gw 192.168.88.254
aparentemente todo sale bien, si hago un ifconfig me muestra esto:
bond0 Link encap:Ethernet HWaddr 00:06:5B:FE:0B:2E
inet addr:192.168.88.200 Bcast:192.168.88.255 Mask:255.255.255.0
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth0 Link encap:Ethernet HWaddr 00:06:5B:FE:0B:2E
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::206:5bff:fefe:b2e/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:8299070 errors:0 dropped:0 overruns:0 frame:0
TX packets:8914463 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2956724211 (2.7 GiB) TX bytes:7971488 (7.6 MiB)
Interrupt:28
eth1 Link encap:Ethernet HWaddr 00:06:5B:FE:0B:2F
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::206:5bff:fefe:b2f/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:1907 errors:0 dropped:0 overruns:0 frame:0
TX packets:125 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:224543 (219.2 KiB) TX bytes:21647 (21.1 KiB)
Interrupt:29
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:102168 errors:0 dropped:0 overruns:0 frame:0
TX packets:102168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:22952191 (21.8 MiB) TX bytes:22952191 (21.8 MiB)
el problema es que cuando hago un ping a cualquier punto de mi red o de inet,
se pierden la mayoría de loa paquetes ICMP, las estadísticas de paquetes
perdidos son 47%, 26%, hasta un 60% depende del intento.
Pero vamos, que así, imposible.
¿Qué se me olvida?. En los documentos de bulma y otros que he visto hace
exactamente esto...
Anibal Fenoglio kirjoitti:
> En Bulma hay un artículo que hace uso del bonding:
>
> http://bulma.net/body.phtml?nIdNoticia=1759
>
> y creo también, como dijo Gustavo, no hay que ponerle IP a las
> interfaces ethx.
>
> El mié, 05-05-2004 a las 08:23, Einar Matveinen escribió:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> >
> > Hola. Estoy configurando bonding en una debian. Compilé un núcleo 2.4.25
> > y elegí bonding como módulo:
> >
> > Hago modprobe bonding max_bonds=2 de modo que:
> >
> > bender:/etc/network# lsmod
> > Module Size Used by Not tainted
> > bonding 44564 0
> >
> > en /etc/network/interfaces tengo:
> >
> > # The loopback interface
> > auto lo
> > iface lo inet loopback
> >
> > #Network
> > auto bond0
> > iface bond0 inet static
> > address 192.168.88.200
> > netmask 255.255.255.0
> > network 192.168.88.0
> > broadcast 192.168.88.255
> > gateway 192.168.88.254
> > up route add -net 172.16.0.0 netmask 255.255.255.0 gw
> > 192.168.88.253
> >
> > auto eth0
> > iface eth0 inet static
> > address 192.168.1.1
> > netmask 255.255.255.0
> > network 192.168.1.0
> > broadcast 192.168.1.255
> >
> > auto eth1
> > iface eth1 inet static
> > address 192.168.0.1
> > netmask 255.255.255.0
> > network 192.168.0.0
> > broadcast 192.168.0.255
> >
> > después de hacer /etc/init.d/networking start hago
> >
> > ifenslave bond0 eth0 eth1
> >
> > levanta las dos interfaces eth0 y eth1 como esclavas y bond0 como
> > maestra:
> >
> > bond0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
> > inet addr:192.168.88.200 Bcast:192.168.88.255
> > Mask:255.255.255.0 inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
> > UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
> > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:0
> > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> >
> > eth0 Link encap:Ethernet HWaddr 00:06:5B:FE:0B:2E
> > inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
> > inet6 addr: fe80::206:5bff:fefe:b2e/64 Scope:Link
> > UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
> > RX packets:8299070 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:8914463 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:1000
> > RX bytes:2956724211 (2.7 GiB) TX bytes:7971488 (7.6 MiB)
> > Interrupt:28
> >
> > eth1 Link encap:Ethernet HWaddr 00:06:5B:FE:0B:2F
> > inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
> > inet6 addr: fe80::206:5bff:fefe:b2f/64 Scope:Link
> > UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
> > RX packets:1907 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:125 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:1000
> > RX bytes:224543 (219.2 KiB) TX bytes:21647 (21.1 KiB)
> > Interrupt:29
> >
> > lo Link encap:Local Loopback
> > inet addr:127.0.0.1 Mask:255.0.0.0
> > inet6 addr: ::1/128 Scope:Host
> > UP LOOPBACK RUNNING MTU:16436 Metric:1
> > RX packets:102168 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:102168 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:0
> > RX bytes:22952191 (21.8 MiB) TX bytes:22952191 (21.8 MiB)
> >
> > Desde la máquina con el bonding llego bien a todas partes, dentro y fuera
> > de mi red, el problema es cuando trato de acceder a esa máquina desde
> > otras, ya sean windows xp o linux, accedo, pero muy lentamente y desde
> > los windozes nada, ni siquiera puedo hacer un simple ping.
> >
> > ¿Sabéis qué es lo que he configurado mal, que parte del proceso es
> > incorrecta?...
> >
> > - --
> >
> > Einar Matveinen
> >
> > Vitoð ér enn eða hvat
> > var der mere I ville vide
> > Vitoð ér enn eða hvat
> > vil I mere før jeg forsvinder
> > under solen
> >
> > Rekisteröitynyt Linux käyttäjä nro 221083
> >
> > Katso http://barrapunto.com/index.pl?section=mbp-einarmatveinen
> >
> >
> >
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.0.6 (GNU/Linux)
> > Comment: For info see http://www.gnupg.org
> >
> > iD8DBQFAmM64WskLvsnDTo0RAi6ZAKDCEb4EUfmQkBVt+CBoF5SnLRDJzwCcD00v
> > T5b+6mmEJWuOhONORI+yvik=
> > =/BA9
> > -----END PGP SIGNATURE-----
- --
Einar Matveinen
Vitoð ér enn eða hvat
var der mere I ville vide
Vitoð ér enn eða hvat
vil I mere før jeg forsvinder
under solen
Rekisteröitynyt Linux käyttäjä nro 221083
Katso http://barrapunto.com/index.pl?section=mbp-einarmatveinen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQFAmP4xWskLvsnDTo0RAkjUAJ4yEk5AgFKcIASNpwG35iOu9bVQ0gCfUMiI
2puU7JzGrX6n1VCfK4qj45A=
=N+BO
-----END PGP SIGNATURE-----
Reply to: