*BSD News Article 98470


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.cc.swin.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!eerie.fr!alma.fr!Alain.Thivillon
From: Alain.Thivillon@alma.fr (Alain Thivillon)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: PPP and broadcast forwarding
Date: 25 Jun 1997 17:55:29 GMT
Organization: Titi & Rominet
Lines: 39
Message-ID: <slrn5r2msh.6ap.Alain.Thivillon@azuret.alma.fr>
NNTP-Posting-Host: azuret.alma.fr
X-Newsreader: slrn (0.9.3.2 UNIX)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43507


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 ?
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

-- 
Alain Thivillon -+- Alain.Thivillon@alma.fr -+- Alma, Grenoble