From owner-freebsd-net Tue Jul 2 14:14:29 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02B3637C558 for ; Tue, 2 Jul 2002 14:12:57 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E74F449D4 for ; Tue, 2 Jul 2002 12:30:05 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id MAA05493; Tue, 2 Jul 2002 12:23:19 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g62JMkd99644; Tue, 2 Jul 2002 12:22:46 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200207021922.g62JMkd99644@arch20m.dellroad.org> Subject: Re: problems with mpd as a pptp server In-Reply-To: <3D1FD641.4050903@brainlink.com> "from Anthony Volodkin at Jul 1, 2002 00:10:41 am" To: Anthony Volodkin Date: Tue, 2 Jul 2002 12:22:46 -0700 (PDT) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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