Date: Thu, 27 Jul 2006 18:49:59 +0300 From: Chris Dionissopoulos <dionch@freemail.gr> To: Luigi Rizzo <rizzo@icir.org> Cc: net@freebsd.org Subject: Re[2]: multiple DSL modems and pppoe sessions on the same ethernet ? Message-ID: <8210225344.20060727184959@freemail.gr> In-Reply-To: <20060726091619.A99336@xorpc.icir.org> References: <20060726071232.A96367@xorpc.icir.org> <563361368.20060726190713@freemail.gr> <20060726091619.A99336@xorpc.icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Luigi, Wednesday, July 26, 2006, 7:16:19 PM, you wrote: >> > >> > ------+--------------+--------------+--------------+----- >> > | | | | >> > +-[modem1] +-[modem2] +-[modem3] +-[FreeBSD/ppp] >> > DSL#1 DSL#2 DSL#3 > ... >> if your switch supports vlan and 802.1q encapsulation, you would create > it doesn't so not applicable. >> another approach is to use 3 ng_ether interfaces with custom mac >> addresses defined and linked to the same ng_bridge node with physical: > hmmm, i think this won't work either, because each PADI > frame will reach all modems so i cannot differentiate > among the replies. As long as pppoe PADI(*) using broadcast mac (ff:ff:ff:ff:ff:ff) as destination there is no solution to distinguish them using a single broadcast domain(=LAN) (only one broadcast addr for each broadcast domain). How about to patch this netgraph node? http://venus.wsb-nlu.edu.pl/~dlupinsk/ng_mangle/ Adding a "dstmac" argument which changes destination mac for each transmitted packet, makes you free to use 3 mangled ng_ether(4) virtual nics in your ppp.conf. If it doesn't breaks anything (pppoe standart) it will work. right? And off course, using 3 physicals cross linked to each modem is the (obvious) solution. (*) http://en.wikipedia.org/wiki/Pppoe#PADI -- Best regards, Chris mailto:dionch@freemail.gr ____________________________________________________________________ http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου. http://www.freemail.gr - free email service for the Greek-speaking.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8210225344.20060727184959>