PPPoE(Point-to-Point Protocol
over Ethernet) is a new technic derive
from ADSL.
Below is my pppoe configuration.
If you want to know deeply, please reference man page ppp(8).
Turn
on PPPoE
- Get FreeBSD Release
3.1 or higher. Versions before this do not support pppoe.
- You must have two ethernet
cards, one connects outside(real ip), and the other inside(private
ip).
- # cd /usr/src/sys/i386/conf/
- # cp GENERIC xxx(xxx
is a filename what you want to assign, modify xxx for a new kernel,
this way is to backup original kernel)
- Build a custom kernel
with the following option:

In addition, you can add
advance options below:
- # config xxx
- # cd /usr/src/sys/compile/xxx/
- # make depend all install
- Backup /etc/rc.conf,
and modify it below:

In addition, you can add
advance command to /etc/rc.local like below:
- Backup /etc/defaults/rc.conf,
and modify it below:

- Backup /etc/ppp/ppp.conf,
and modify it below:

- Now
PPPoE is done.
- # sync;reboot
- # ifconfig -a

FAQ
Q: |
If your computers
which inside didn't browse some web sites, or receive E-mail,
you can follow steps below: |
A: |
MTU is the reason
of this problem, if your computer is UNIX platform, you can
set MTU below:

If your computer is
Win98 platform, you can set MTU below:






|
|
|