Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2002 12:22:46 -0700 (PDT)
From:      Archie Cobbs <archie@dellroad.org>
To:        Anthony Volodkin <anthonyv@brainlink.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: problems with mpd as a pptp server
Message-ID:  <200207021922.g62JMkd99644@arch20m.dellroad.org>
In-Reply-To: <3D1FD641.4050903@brainlink.com> "from Anthony Volodkin at Jul 1, 2002 00:10:41 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Anthony Volodkin writes:
> - Now that perfectly works, (proxy-arp too, is very impressive) I am 
> trying to figure out how to forward broadcast packets from ng0 to fxp0 
> and vice-versa.  Something tells me since this is an interface created 
> by netgraph, it should be possible.  I tried the ether.bridge in 
> /usr/share/examples/netgraph/ but I got the same error as I did with 
> tun0:  interface ng0 not found.  I suppose this is reasonable and intended.

Broadcasts only propagate to the local (broadcast) link, and are
not routed (in particular, they are not routed across a PPP
point-to-point link).

So what you want to do is not "normal" for IP.

I belive there should be a sysctl however that enables forwarding
of broadcast packets received on a broadcast link over any
point-to-point links that have a remote IP address matching the
broadcast link's subnet (e.g., proxy-ARP'd remote clients).

This would be "gross" but would also probably solve whatever
problem you're trying to address.

BTW, if you are trying to get Windows browsing to work, a better
answer is to set up a WINS server (e.g., Samba or NT) and let your
PPTP clients know about it via the "set ipcp nbns ..." command.

-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207021922.g62JMkd99644>