Date: Thu, 24 Apr 2008 20:29:43 +1000 (EST) From: Ian Smith <smithi@nimnet.asn.au> To: =?windows-1252?Q?Nejc_=8Akoberne?= <nejc@skoberne.net> Cc: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, freebsd-net@freebsd.org Subject: Re: Jailed Samba not getting broadcasts Message-ID: <Pine.BSF.3.96.1080424202414.4975C-100000@gaia.nimnet.asn.au> In-Reply-To: <48105269.4040303@skoberne.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Apr 2008, [windows-1252] Nejc Škoberne wrote: > > what netmask does ifconfig show for this IP? > > Host: > > rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > options=8<VLAN_MTU> > ether 00:40:f4:27:7e:a8 > inet 192.168.15.198 netmask 0xffffff00 broadcast 192.168.15.255 > inet 192.168.15.201 netmask 0xffffffff broadcast 192.168.15.201 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > > Jail: > > rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > options=8<VLAN_MTU> > ether 00:40:f4:27:7e:a8 > inet 192.168.15.201 netmask 0xffffffff broadcast 192.168.15.201 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > > Hmm, I guess this is the reason why Samba doesn't see the broadcasts - the mask > in the jail is /32, not /24. I read somewhere this cannot be changed? I can't help wondering what would happen if you assigned the single jail IP to be the subnet's broadcast address, in this case 192.168.15.255 ? cheers, Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1080424202414.4975C-100000>