Some help with broadcasts through a Linux system
Luke Kenneth Casson Leighton
lkcl at switchboard.net
Wed Feb 3 16:42:15 GMT 1999
On Wed, 3 Feb 1999, Jasper van der Neut wrote:
> Richard Sharpe wrote:
> > Hi,
> > I am having problems getting broadcasts through a Linux system.
> > Here is the config:
> > 172.30.0.0/24 220.127.116.11/24
> > ----------------[Linux Box]------------------
> > I have it set up with ip_forward=1.
> > However, when I ping 18.104.22.168 from 172.30.0.120, 172.30.0.1 responds,
> > and I see nothing on the 22.214.171.124/24 subnet.
> > The linux box is running a 2.0.36 kernel.
> > It seems that Linux feels that it should not have to forward the broadcast
> > datagrams.
> Which is the correct behaviour.
> If you want to forward your netbios datagram broadcasts you have to do
> more than just forwarding because the data contains ip-addresses too.
> I've solved this problem by writing a patch for Samba which 'glues'
> the subnets of my linux firewall together. You can find the code
> at http://malt-whisky.student.utwente.nl/nbfw/ . The code is not
i would discourage anyone from doing this. use a WINS server instad.
More information about the samba-technical