- 论坛徽章:
- 0
|
Sun PPPoE is available in the Solaris [TM] 8 10/01 Maintenance Update 6 and higher. It is not available in earlier versions of the Solaris [TM] Operating Environment.
Packages:
Make sure the following packages are installed for pppoe server/client configuration:
# pkginfo -l |grep pppd
PKGINST: SUNWpppd
PKGINST: SUNWpppdr
PKGINST: SUNWpppdt
PKGINST: SUNWpppdu
PKGINST: SUNWpppdx
Client confguration:
1. Make sure that no ppp daemon is running on the system, suchas ppp, pppd,pppoed, etc.
2. Make sure that the network interface, such as eri, le, ge, etc., is used only for pppoe.
3. Create a file in /etc/ppp/peers such as myserver to keep the connecting parameters.
pppoeclnt# more /etc/ppp/peers/myserver
sppptun
updetach
debug
plugin pppoe.so
connect "/usr/lib/inet/pppoec -v eri0 local"
Where:
sppptun - what device to use
updetach -will display the o/p on screen when pppd starts.
debug -dubug mode
plugin pppoe.so -initialize the connect string.
connect "..." -connect string
4. Plumb the pppoed & pppoe protocols on the network interface eri0 as follows:
pppoeclnt# sppptun plumb pppoed eri0
pppoeclnt# sppptun plumb pppoe eri0
5. Verify that the interface is plumbed:
pppoeclnt# sppptun query
eri0:pppoed
eri0:pppoe
6. Start the pppoed deamon:
pppoeclnt#/usr/lib/inet/pppoed
7. Test the client configuration. You should see the MAC address, type of service, etc.
pppoeclnt# /usr/lib/inet/pppoec -i eri0 |
|