Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2002 13:46:57 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        Archie Cobbs <archie@dellroad.org>
Cc:        Naga R Narayanaswamy <nraju@mindspring.com>, FreeBSD-Net <freebsd-net@FreeBSD.ORG>
Subject:   Re: ng_pppoe and ng_bridge
Message-ID:  <Pine.BSF.4.21.0201101342060.59070-100000@InterJet.elischer.org>
In-Reply-To: <200201102124.g0ALOTZ52431@arch20m.dellroad.org>

next in thread | previous in thread | raw e-mail | index | archive | help
hmmm that may be problematical, because pppoe relies on the transmitting
interface to set the source MAC address.
you may be able to do it with the ng_etf node.
(ether-type_filter)
filter pppoe packets to pppoe and all others to the bridge.

julian 
(p.s. etf is only in current but I have a 4.x version somewhere)


On Thu, 10 Jan 2002, Archie Cobbs wrote:

> Naga R Narayanaswamy writes:
> > When I run ng_bridge between 2 ethernet interfaces and then
> > initiate a PPPoE session using ng_pppoe, the ppp fails and 
> > I repeatedly get the following message:
> > 
> > Jan  9 11:28:55 guru ppp[387]: Warning: [1]: Cannot create PPPoE
> > netgraph node: Socket is already connected
> 
> ng_bridge and ppp probably want to connect to the same
> hook on the ng_ether node.
> 
> You'd have to figure out how to make ppp connect the
> ng_pppoe node to the ng_bridge node rather than
> directly to the ng_ether node.
> 
> -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
> 


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?Pine.BSF.4.21.0201101342060.59070-100000>