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

bonding en debian



-----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-----



Reply to: