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 [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to