The Ethernet interface
The DHCP server
E-DOC-CTC-20051017-0167 v1.0
Proceed as follows to create, configure and attach/connect the Ethernet interface:
1
Add a new Ethernet interface.
=>eth ifadd intf=RtPPPoE_eth
=>
2
Configure the new Ethernet interface with as destination the ATM interface
created above.
=>eth ifconfig intf=RtPPPoE_eth dest=RtPPPoE_atm
=>
3
Connect the ETH interface.
=>eth ifattach intf=RtPPPoE_eth
=>
Proceed as follows to configure the DHCP server:
1
Add a new DHCP server pool.
=>dhcp server pool add name=spoof_pool
=>
2
Configure the DHCP server pool.
=>dhcp server pool config name=spoof_pool intf=lan1 index=0
unnumbered=enabled
=>
It is important to give this pool priority over the default address pool by
setting index=0. When the spoofing pool does not have an address, local
PCs will be served by the next pool (default pool).
Chapter 5
Routed PPPoE
45