[ previous ] [ next ] [ threads ]
 
 From:  Twig <twig at gwi dot net>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] PPPoE Half-Bridging
 Date:  Fri, 12 Nov 2004 23:01:34 -0500
Warning, bad ASCII diagramming below...

Given the diagram below, if I were to place a ng_tee between bpf and 
ng0, putting the left hook on bpf, the right hook on ng0, and either 
right2left or left2right on the inet hook of ep0, my opt1 interface I 
wish to half bridge with PPP.  This sound right?

                     +-----+
                     |xl1  |
                     |ether|
                     |     |
                     +-----+
                        |orphans
                        |
                ethernet|
                    +--------+
                    |0000000b|
                    |pppoe   |
                    |        |
                    +--------+
                        |mpd983_pppoe
                        |
                  link0 |
+--------+       +------------+            +--------+
|00000005|bypass |mpd983_pppoe|VJC Support |00000009|
|socket  |-------|00000007    |------------|vjc     |
|        | bypass|ppp         | VJC Support|        |
+--------+       +------------+            +--------+
     |demand             |inet
     |                   |
     |                ppp|
     |              +--------+
     |              |00000008|
     |--------------|bpf     |
                 mpd|        |
                    +--------+
                         |iface
                         |
                     inet|
                    +--------+
                    |ng0     |
                    |00000006|
                    |iface   |
                    +--------+