beautypg.com

Atlantis Land I-Storm A02-RA(Atmos)_ME01 User Manual

Page 54

background image

pvccreate a1 32 a1 33

(at the switch console, if it is a Virata Switch)

ppp event 5

(at the console of the PPP ATMOS system)

ppp 1 pvc 32

ppp 2 pvc 33

ppp 1 enable

ppp 2 enable

(they should now swap packets and synchronise)

ppp 1 status

This should show that the two ends are connected. No data will be exchanged.

8.2.2 IP dial-out over PPP

To perform a dial-out over a PVC, operate as follows:
First set up a router device for PPP to use. No IP address should be specified, so that
the device is created but not enabled. The device name ppp_device should be used.

ip device add ppp_device ether //ppp/DEVICE=1

ppp 1 pvc

ppp 1 welogin

ppp 1 enable

If the configuration is saved at this point, the dial-in will be attempted automatically.

8.2.3 IP dial-in server setup

To create a system which can accept dial-in connections over PVCs, type the
following:

Note – For a complex setup such as this, it may be more convenient to create it
on another system using a text editor, then TFTP the setup into the ATMOS
system.
Note – Assume that 8 dial-in PVCs are being created, numbered 32 to 39.
These will be created as channels 2 to 9. A single IP subnet will be created,
attached to a port of the router via interface 3. The IP subnet 192.168.200.0 will
be used, with channel n assigning address 192.168.200.n to the far end. The
server interface will take address 192.168.200.99.

ip device add ppp_device3 ether //ppp/DEVICE=3

192.168.220.99

Further IP setup may be needed, for instance to route the result to some other device
such as the Ethernet port.)

ppp interface 3 localip 192.168.220.99

ppp 2 pvc 32 listen

ppp 2 interface 3