Garnet Systems Co Ltd GAE3020 Manuel D’Utilisation

Page de 22
 
GARNET                                        GAE-3020 
13 
ip route add default 0.0.0.0 192.168.102.3 0:0:0:0 
••
 The next command configures the IPoA protocol to run on PVC 700 with a 
peak cell rate of 50000 cells per second, using the port named “atm”: 
ip ipatm pvc add ipoa atm 700 pcr 50000 
••
  Save the configuration and reboot the system. 
config save 
restart
 
 
 
2.9 PPP Routing 
When configured for PPP, data is routed between Ethernet and PPP over ATM.  
The PPP data runs over a PVC between the modem and the service provider.  
The IP address and PVC need to be defined by the service provider.    Since the 
modem is routing, an IP address needs to be assigned on both modem’s 
interfaces.    The PC’s default gateway must be set to the Ethernet IP address of 
the modem. 
The following configuration must be performed to set up the modem: 
 
••
 Add the Ethernet device to the router and assign it an IP address.  In the 
command, “ethernet” is a label  used to refer to this device. The arguments 
“ether” and “//edd” are required for an Ethernet device. 
ip device add ethernet ether //edd 192.168.101.2 
••
  Add the PPP device to the router and assign it an IP address. In the following 
command, “ppp_device” is a label for this device. The argument “ether” is 
required for a PPP device. The PPP module supports multiple simultaneous 
connections, so we explicitly specify Device 1. 
ip device add ppp_device ether //ppp/DEVICE=1 
We will be using PPP Device 1 and Interface 1, which are able to automatically 
configure the IP address of the router interface and add a default route, when the 
connection is made. That is why the IP address of the router interface was not 
specified in the previous command. 
••
 The following command configures PPP Device 1 for dial-out on PVC 700. 
CHAP authentication will be used; PPP will supply a username of “fred” and a 
password of “password”. 
ppp 1 pvc 700 ip