12.07.2015 Views

download

download

download

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 9If you are experiencing weird behavior on your established PPPoEconnections, such as problems with HTTP or FTP not working, (althoughICMP packets are flowing very well) they can be attributed to MTU orMRU problems that cause packets to fragment. In such cases, you shouldcheck the MTU size on both the client and server and ensure that thecorrect MTU or MRU is being used.Another important parameter is "proxy", which is in fact the Proxy ARP feature. Byenabling this feature, your PPPoE server acts as the ARP proxy server forthe clients and responds to ARP requests on behalf of the connected clients,whenever necessary.You may also have noted that we are assigning the IP addresses from 10.0.0.100 to10.0.0.199 to the users, and use 10.0.0.1 as the virtual IP address of the gatewayfrom the client's perspective.The only thing remaining is setting up the ppp.secret file, as in the example youhave seen in the section on dial-in server.Once all the necessary configuration is in place, you should now either reboot yourserver or manually start pppoed daemon by running the following command, andtest connectivity from your clients:# /etc/rc.d/pppoed startSummaryEstablishing a PPP connection under FreeBSD 7 is more or less similar to establishingother forms of tunnels, unless there is a daemon (or the kernel module) thattakes care of encapsulation and hence, there is no need to perform manualifconfig configuration.While using user PPP (the stand-alone PPP process), almost all the configuration isdone through the /etc/ppp/ppp.conf file. Once you have configured one or moreconnection entries under ppp.conf, you can use the ppp(8) utility to control theestablishment of the PPP tunnel.[ 155 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!