Garnet Systems Co Ltd GAE3020 Manuel D’Utilisation

Page de 22
 
GARNET                                        GAE-3020 
14 
ppp 1 welogin fred password chap 
ppp 1 enable 
••
 Save the configuration and reboot the system. This is necessary when 
configuring the system from the console, because the following command can 
only operate on router interfaces which have already been created. 
config save 
restart 
••
  Enable forwarding between the router interfaces: 
ip relay all 
••
  Save the configuration and reboot the system: 
config save 
restart
 
 
 
 
 
2.10 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.11 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