Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2011 14:18:46 +0100
From:      Snoop <snoop@email.it>
To:        Damien Fleuriot <ml@my.gd>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: LAGG and Jails?
Message-ID:  <1322140727.58166.8.camel@blackfriar.inhio.eu>
In-Reply-To: <4EC6518B.4030001@my.gd>
References:  <1321600146.37903.4.camel@blackfriar.inhio.eu> <4EC6518B.4030001@my.gd>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry about my late reply, I was away for a while.
I've fixed that. It was quite trivial but sometimes trivial issues make
you get stuck for a while. :-/

ifconfig_bge0="up"
ifconfig_bge1="up"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto failover laggport bge0 laggport bge1
10.0.0.56/26"
ifconfig_lagg0_alias_0="inet 10.0.0.40 netmask 255.255.255.255"
ifconfig_lagg0_alias_1="inet 10.0.0.41 netmask 255.255.255.255"
ifconfig_lagg0_alias_2="inet 10.0.0.42 netmask 255.255.255.255"
ifconfig_lagg0_alias_3="inet 10.0.0.43 netmask 255.255.255.255"
ifconfig_lagg0_alias_4="inet 10.0.0.44 netmask 255.255.255.255"
ifconfig_lagg0_alias_5="inet 10.0.0.45 netmask 255.255.255.255"
ifconfig_lagg0_alias_6="inet 10.0.0.46 netmask 255.255.255.255"
ifconfig_lagg0_alias_7="inet 10.0.0.47 netmask 255.255.255.255"

I thought that the first two lines wouldn't be necessary as the
"cloned_interface" parameter would have done the job. I was wrong.
Without specifying "up" the lagg0 interface comes up but not the
physical interfaces.
Now everything works well:

bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
        ether 00:14:5e:80:8a:c0
        media: Ethernet autoselect (100baseTX
<full-duplex,flowcontrol,rxpause,txpause>)
        status: active
bge1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
        ether 00:14:5e:80:8a:c0
        media: Ethernet autoselect (100baseTX
<full-duplex,flowcontrol,rxpause,txpause>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
        ether 00:14:5e:80:8a:c0
        inet 10.0.0.56 netmask 0xffffffc0 broadcast 10.0.0.63
        inet 10.0.0.40 netmask 0xffffffff broadcast 10.0.0.40
        inet 10.0.0.41 netmask 0xffffffff broadcast 10.0.0.41
        inet 10.0.0.42 netmask 0xffffffff broadcast 10.0.0.42
        inet 10.0.0.43 netmask 0xffffffff broadcast 10.0.0.43
        inet 10.0.0.44 netmask 0xffffffff broadcast 10.0.0.44
        inet 10.0.0.45 netmask 0xffffffff broadcast 10.0.0.45
        inet 10.0.0.46 netmask 0xffffffff broadcast 10.0.0.46
        inet 10.0.0.47 netmask 0xffffffff broadcast 10.0.0.47
        media: Ethernet autoselect
        status: active
        laggproto failover
        laggport: bge1 flags=0<>
        laggport: bge0 flags=5<MASTER,ACTIVE>

Sorry for bothering you guys.
Hope this would save some time to someone else.

Cheers.

On Fri, 2011-11-18 at 13:37 +0100, Damien Fleuriot wrote:
> On 11/18/11 8:09 AM, Snoop wrote:
> > Does anyone know if it's possible to configure lagg for network
> > redundancy on a FreeBSD server containing jails? I'm having problems
> > with that. I couldn't found much around therefore I'm not even sure it's
> > "doable".
> > 
> > Thanks in advance, any tip will be appreciated.
> > 
> 
> 
> Show your ifconfig output, I'm curious about how you configure your lagg
> 
> Also please post your uname -a output and rc.conf
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Centinaia di Idee Regalo a partire da 1 euro! Su MisterCupido.com alta qualita' a prezzi imbattibili... e spedizioni in 2/3 giorni!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11452&d=24-11



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1322140727.58166.8.camel>