- 论坛徽章:
- 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.\r\n\r\nPackages:\r\n\r\nMake sure the following packages are installed for pppoe server/client configuration:\r\n\r\n # pkginfo -l |grep pppd\r\n PKGINST: SUNWpppd\r\n PKGINST: SUNWpppdr\r\n PKGINST: SUNWpppdt\r\n PKGINST: SUNWpppdu\r\n PKGINST: SUNWpppdx \r\n Client confguration:\r\n\r\n1. Make sure that no ppp daemon is running on the system, suchas ppp, pppd,pppoed, etc.\r\n\r\n2. Make sure that the network interface, such as eri, le, ge, etc., is used only for pppoe.\r\n\r\n3. Create a file in /etc/ppp/peers such as myserver to keep the connecting parameters.\r\n\r\n pppoeclnt# more /etc/ppp/peers/myserver\r\n sppptun\r\n updetach\r\n debug\r\n plugin pppoe.so\r\n connect \"/usr/lib/inet/pppoec -v eri0 local\" \r\n\r\n\r\nWhere:\r\n\r\nsppptun - what device to use\r\n\r\nupdetach -will display the o/p on screen when pppd starts.\r\n\r\ndebug -dubug mode\r\n\r\nplugin pppoe.so -initialize the connect string.\r\n\r\nconnect \"...\" -connect string\r\n\r\n4. Plumb the pppoed & pppoe protocols on the network interface eri0 as follows:\r\n\r\n pppoeclnt# sppptun plumb pppoed eri0\r\n pppoeclnt# sppptun plumb pppoe eri0 \r\n\r\n\r\n5. Verify that the interface is plumbed:\r\n\r\n pppoeclnt# sppptun query\r\n eri0:pppoed\r\n eri0:pppoe \r\n\r\n\r\n6. Start the pppoed deamon:\r\n\r\n pppoeclnt#/usr/lib/inet/pppoed \r\n\r\n 7. Test the client configuration. You should see the MAC address, type of service, etc.\r\n\r\n pppoeclnt# /usr/lib/inet/pppoec -i eri0 |
|