Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2008 12:13:04 +0300
From:      Ivailo Tanusheff <i.tanusheff@procreditbank.bg>
To:        Jason Morgan <jwm-freebsd-questions@sentinelchicken.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>, owner-freebsd-questions@freebsd.org
Subject:   Re: Jails and IP Aliasing
Message-ID:  <OF942784A5.710EDC3E-ONC2257480.00327A6F-C2257480.0032AA12@procreditbank.bg>
In-Reply-To: <20080707175440.GA95976@sentinelchicken.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I guess the problem is with your netmask and respectivly the broadcast 
adrresses for the jails.
It should be:

inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255
inet 10.0.1.3 netmask 0xffffff00 broadcast 10.0.1.255
inet 10.0.1.4 netmask 0xffffff00 broadcast 10.0.1.255

Regards,

Ivailo Tanusheff
Deputy Head of IT Department
ProCredit Bank (Bulgaria) AD




Jason Morgan <jwm-freebsd-questions@sentinelchicken.net> 
Sent by: owner-freebsd-questions@freebsd.org
07.07.2008 21:01

To
FreeBSD Questions <freebsd-questions@freebsd.org>
cc

Subject
Re: Jails and IP Aliasing






Hello,

On 2008.07.07 09:51:33, David Allen wrote:
> Unless I'm losing my mind, I'm encountering what seems to yet another
> gotcha with jails.  The following has been dumbed down for clarity and
> brevity.
> 
> ---------------------------------------------------------------------
> # hostname
> jailhost.example.org
> 
> # host jailhost
> jailhost.example.org has address 10.0.1.2
> 
> # ifconfig fxp0
> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 
1500
>         options=b<RXCSUM,TXCSUM,VLAN_MTU>
>         ether 00:07:e9:c8:2e:32
>         inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255
>         inet 10.0.1.3 netmask 0xffffffff broadcast 10.0.1.3
>         inet 10.0.1.4 netmask 0xffffffff broadcast 10.0.1.4
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active

This is the output for my jail interface. Notice that your jail
aliases are broadcasting on the jail's IP. I don't know if this is an
issue or not (my jails run on i386 FBSD 6.3), but it's something to
look at. How are you setting the aliases?

sk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
     options=b<RXCSUM,TXCSUM,VLAN_MTU>
     inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
     inet 10.0.0.101 netmask 0xffffff00 broadcast 10.0.0.255
     inet 10.0.0.201 netmask 0xffffff00 broadcast 10.0.0.255
     ether xx:xx:xx:xx:xx:xx
     media: Ethernet autoselect (1000baseTX <full-duplex,flag0,flag1>)
     status: active

Cheers,
~Jason
_______________________________________________
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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OF942784A5.710EDC3E-ONC2257480.00327A6F-C2257480.0032AA12>