Matthew Mondor
2010-11-20 16:15:41 UTC
Hello,
I tried the following test here, but which unfortunately doesn't seem
to work. On both sides of the bridge0 (tap0 or tap1), client PADI can
be seen, but I can see no server response whatsoever, with a netbsd-5
system and kernel built using the PPPOE_SERVER option:
# Bridge the new test 192.168.2.0 network to the local 192.168.1.13 address
route add -net 192.168.2.0 -netmask 255.255.255.0 192.168.1.13
# Create two tap(4) devices
ifconfig tap0 create
ifconfig tap1 create
ifconfig tap0 up
ifconfig tap1 up
# Make sure that our two tap(4) devices have a different ethernet
# address, then bridge them:
ifconfig bridge0 create
brconfig bridge0 add tap0
brconfig bridge0 add tap1
ifconfig bridge0 up
# Setup the server-side pppoe0 interface
ifconfig pppoe0 create
ifconfig pppoe0 link0
pppoectl -e tap0 pppoe0
pppoectl pppoe0 hisauthproto=pap hisauthname='***@bar.baz' hisauthsecret='quux' myauthproto=none
ifconfig pppoe0 192.168.2.1 192.168.2.13
# Now setup client-side pppoe1 interface
ifconfig pppoe1 create
pppoectl -e tap1 pppoe1
pppoectl pppoe1 myauthproto=pap myauthname='***@bar.baz' myauthsecret='quux' hisauthproto=none
ifconfig pppoe1 0.0.0.0 0.0.0.1 netmask 0xffffffff
# Finally activate the server side, then the client side,
# after setting up tcpdump instances on both tap(4) sides.
ifconfig pppoe0 up
ifconfig pppoe1 up
Anyone know if I'm missing something, or if that's due to a known
issue? I'm trying the PPPOE_SERVER support for the first time, after
having read http://www.netbsd.org/docs/network/pppoe/#pppoe-server and
the pppoe(4) manual page.
Thanks,
I tried the following test here, but which unfortunately doesn't seem
to work. On both sides of the bridge0 (tap0 or tap1), client PADI can
be seen, but I can see no server response whatsoever, with a netbsd-5
system and kernel built using the PPPOE_SERVER option:
# Bridge the new test 192.168.2.0 network to the local 192.168.1.13 address
route add -net 192.168.2.0 -netmask 255.255.255.0 192.168.1.13
# Create two tap(4) devices
ifconfig tap0 create
ifconfig tap1 create
ifconfig tap0 up
ifconfig tap1 up
# Make sure that our two tap(4) devices have a different ethernet
# address, then bridge them:
ifconfig bridge0 create
brconfig bridge0 add tap0
brconfig bridge0 add tap1
ifconfig bridge0 up
# Setup the server-side pppoe0 interface
ifconfig pppoe0 create
ifconfig pppoe0 link0
pppoectl -e tap0 pppoe0
pppoectl pppoe0 hisauthproto=pap hisauthname='***@bar.baz' hisauthsecret='quux' myauthproto=none
ifconfig pppoe0 192.168.2.1 192.168.2.13
# Now setup client-side pppoe1 interface
ifconfig pppoe1 create
pppoectl -e tap1 pppoe1
pppoectl pppoe1 myauthproto=pap myauthname='***@bar.baz' myauthsecret='quux' hisauthproto=none
ifconfig pppoe1 0.0.0.0 0.0.0.1 netmask 0xffffffff
# Finally activate the server side, then the client side,
# after setting up tcpdump instances on both tap(4) sides.
ifconfig pppoe0 up
ifconfig pppoe1 up
Anyone know if I'm missing something, or if that's due to a known
issue? I'm trying the PPPOE_SERVER support for the first time, after
having read http://www.netbsd.org/docs/network/pppoe/#pppoe-server and
the pppoe(4) manual page.
Thanks,
--
Matt
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Matt
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de