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

RE: Problema con 2 eth #2 ==> soluzione bonding



> > Lo provato,grazie, ma il problema e' che se stacco la eth0 (l'unica
con
> > il gateway) anche l'altra dal portatile non pinga quindi cosi non mi
> > serve a nulla, cosa devo fare per provare il channel bonding?
> Scusa ma non ho capito il tuo problema, io non ho detto di staccare
> (in che senso?) una scheda ma di toglierle il gateway.

Intendevo togliere il cavo di rete dalla scheda per verificare se quella
senza gateway funzionava ma i pacchetti non arrivavano proprio o meglio
non avevo il replay dal ping

> Nel tree del tuo kernel c'e':
> Documentation/networking/bonding.txt
> che contiene il
> Linux Ethernet Bonding Driver mini-howto
> --
> Pengz

Grazie comunque con il bonding ho risolto il mio problema
Per info a tutti gli interessati dopo aver compilato il kernel

Bonding installato come modulo 

Alias in modules.conf

Compilare ifenslave come da txt (Documentation/networking/bonding.txt)

Infine aggiungere in /etc/network/interfaces la seguente sintassi ed e'
fatta !!


auto bond0
iface bond0 inet static
        address 192.168.30.104
        netmask 255.255.255.0
        network 192.168.30.0
        broadcast 192.168.30.255
        gateway 192.168.30.1
        up ifenslave -v bond0 eth0 eth1
        up ifenslave -v bond0 eth0 eth1


#auto eth0
#iface eth0 inet static
#       address 192.168.30.104
#       netmask 255.255.255.0
#       network 192.168.30.0
#       broadcast 192.168.30.255
#       gateway 192.168.30.1

#auto eth1
#iface eth1 inet static
#       address 192.168.30.105
#       netmask 255.255.255.0
#       network 192.168.30.0
#       broadcast 192.168.30.

non ho solo capito perche' il commando <up ifenslave -v bond0 eth0 eth1>
vada lanciato ben 2 volte!!!!
:-((((((((

vedasi il mio ifconfig dopo aver riavviato la rete
</etc/init.d/networking>

morpheus:~# ifconfig
bond0     Link encap:Ethernet  HWaddr 00:02:55:C7:D6:C8
          inet addr:192.168.30.104  Bcast:192.168.30.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:12175 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7357 errors:0 dropped:0 overruns:7 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1256753 (1.1 MiB)  TX bytes:1126506 (1.0 MiB)

eth0      Link encap:Ethernet  HWaddr 00:02:55:C7:D6:C8
          inet addr:192.168.30.104  Bcast:192.168.30.255
Mask:255.255.255.0
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:6041 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3647 errors:0 dropped:0 overruns:5 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:680327 (664.3 KiB)  TX bytes:501862 (490.0 KiB)
          Interrupt:10 Base address:0x7000

eth1      Link encap:Ethernet  HWaddr 00:02:55:C7:D6:C8
          inet addr:192.168.30.104  Bcast:192.168.30.255
Mask:255.255.255.0
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:6134 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3710 errors:0 dropped:0 overruns:2 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:576426 (562.9 KiB)  TX bytes:624644 (610.0 KiB)
          Interrupt:10 Base address:0x9000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3144 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3144 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:157607 (153.9 KiB)  TX bytes:157607 (153.9 KiB)


Domenico.



Reply to: