*BSD News Article 98539


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!metro!metro!news.cs.su.oz.au!news.cs.su.oz.au!inferno.mpx.com.au!news.ci.com.au!brian.telstra.net!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!pumpkin.pangea.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eerie.fr!cnusc.fr!univ-lyon1.fr!pasteur.fr!oleane!weld.news.pipex.net!pipex!warm.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PPP and broadcast forwarding
Date: 26 Jun 1997 13:56:19 GMT
Organization: Awfulhak Ltd.
Lines: 52
Message-ID: <5otse3$dlh@ui-gate.utell.co.uk>
References: <slrn5r2msh.6ap.Alain.Thivillon@azuret.alma.fr>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43578

In article <slrn5r2msh.6ap.Alain.Thivillon@azuret.alma.fr>,
	Alain.Thivillon@alma.fr (Alain Thivillon) writes:
> 
> Hello,
> 
> I use kernel mode pppd to serve remote users using Win95, Macs and WiNNT
> computers. Everything is OK (i use mgetty in AutoDetect PPP mode). pppd
> is in proxy arp mode (I assign an address in Lan range to dialup users).
> 
> Of course net.inet.ip.forwarding is set to 1 (ie FreeBSD forward
> paquets).
> 
> The only small problem i have is that Win* computers broadcast UDP
> paquets to x.y.z.255 (x.y.z is the Lan Class C address) to find master
> browser of Windows networking, and eventually NetBios Names (if i don't
> use Wins).
> 
> It seems that FreeBSD does not forward broadcasts to the Lan : is there a
> way to change this ?

Nope.  Forwarding broadcasts would be a disaster.  Think about it.
The 'net would fill up with broadcast packets in minutes, and they'd
go 'round & 'round & 'round.

> I'm not sure if this is an IP problem or only a PPP problem, i try to
> take a look on kernel source, but ... :)
> 
> I use FreeBSD 2.2.1.
> 
> When someone is connected, i have these routing tables :
> (ppp-priv-03.alma.fr is the remote user ip name, 194.2.236 is the LAN
> network, de0 is the Ethernet interface, valerian.alma.fr is the server
> hostname):
> 
> Destination        Gateway            Flags     Refs     Use     Netif Expire
> default            inet-gw.alma.fr    UGSc       59   155281       de0
> localhost          localhost          UH         11     8400       lo0
> 194.2.236          link#1             UC          0        0 
> [...]
> ppp-priv-03.alma.f valerian.alma.fr   UH          2      147      ppp0
> ppp-priv-03.alma.f 0:0:c0:eb:29:cf    UHLS2       0        0       de0
> [...]
> 194.2.236.255      ff:ff:ff:ff:ff:ff  UHLWb       3    39648       de0

I always understood proxy-arp to mean arp forwarding, but perhaps
it means broadcast forwarding too ?  Can anyone enlighten/point
me ?

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !