User's Manual
GARNET GAE-3030
11
restart
? Enable forwarding between the router interfaces:
ip relay all
? Save the configuration and reboot the system:
config save
restart
2.9 NAT
NAT can be used with IPoA routing or PPP routing. NAT has to be enabled on the
router interface towards the service provider.
The following command enables NAT on a router interface.
ip nat add <interface name>
For the IPoA example previously described the command would be:
ip nat add ipoa
For the PPP example previously described the command would be:
ip nat add ppp_device
2.10 DHCP Server
DHCP can be used to assign IP addresses to PCs connected on the Ethernet
interface of the Client Access Device, as long as the Client Access Device has
been assigned an IP address. In addition to the commands shown in the next
sections, use the following command to get information on all of the DHCP
Server commands:
dhcpserver help
Enabling the DHCP Server
To enable the DHCP server, a range of IP addresses need to be provided that the
server can assign to clients.
The example below shows the commands needed to supply the DHCP server
with 99 IP addresses from 192.168.219.1 to 192.168.219.99 on the subnet
192.168.219.0 with the subnet mask of 255.255.255.0. The maximum lease time
for each client is set to 86400 seconds, or 1 day. BOOTP clients may be