Jailed Samba not getting broadcasts
Ian Smith
smithi at nimnet.asn.au
Thu Apr 24 10:30:00 UTC 2008
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
More information about the freebsd-net
mailing list