[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
network configuration w/PPPoE on OpenBSD 2.9 current
My DSL connection with Ameritech requires PPPoE based authentictation, so
to get up and running in a jiffy I purchased a cheapy DSL router (SMC
Barricade), plugged it into the DSL modem, had it configured for PPPoE,
and all was good (behind the Barricade was a NAT'd subnet with a single
DMZ host, worked good for the time being).
Now I have a new problem. Ameritech have me 5 static IP addresses and I
am only making use of 1 of them (for the DSL router). I now have a
roomate who would like to put a webserver up on one of the free IP's, but
I cannot let him use one without reconfiguring the network layout.
What I would like to have is this:
Internet
|
| PSTN line
|
DSL Modem
|
| Ethernet
|
8 port 10/100 switch
|
|
---------------------------------------------
| | | |
| | | |
OpenBSD OpenBSD ... OpenBSD |
Box doing Box doing Box doing |
PPPoE PPPoE PPPoE |
doing |
bandwidth DSL Router
throttling (bridge) + wireless
| AP (+NAT)
| | | | |
4 port 10/100 hub | | | |
|
| Misc Boxes
Annoying Roomate below
Questions:
1) Am I fsck'ing confused (i.e. can this work?)
2) does the DSL modem plug into uplink on the switch or reg. ether port?
3) does the bridge (throttle box) plug into normal port or uplink on hub?
4) must I share my PPPoE username/passwd with every box on the "front
lines"?
5) does this procedure look O.K. for PPPoE on OpenBSD 2.9 current:
ppp.conf looks like:
default:
set log Phase Chat LCP IPCP CCP tun command
# set device /dev/cua01
# set speed 115200
# set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK
ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
ameritech:
set device "!/usr/sbin/pppoe -i dc0"
set mtu 1492
set mru 1492
set speed sync
disable acfcomp protocomp
deny acfcomp
authname ********
authkey ********
My procedure is to:
1) bring up interface to do PPPoE on (ifconfig dc0 up full-duplex)
2) # ppp pppoe
Working in ...
Using interface: tun0
ppp ON somehost> dial
...
By the way, I have not gotten this to work yet (haven't tried with ""'s
around the device line in ppp.conf above). I will try to get pppoe to
work when I get home tonight.
Thanks for any help.
Rick