System information

Appendix A: Advanced Device Configuration 401
Address Configuration for Connected Devices
This first set of bullets are a review of the steps for obtaining the PPTP
address assigned to the OnBoard:
Enter the ifconfig or ipconfig command on the command line of
the users workstation to discover the IP address assigned to the
OnBoard’s end of the PPTP VPN tunnel.
Enter the OnBoard’s PPTP-assigned address either in a browser or with
ssh on the command line to access the OnBoard. In this example the
address is 192.168.2.1.
The next bulleted items shows how to create an appropriate route to the virtual
network.
Create a static route to inform the workstation that the devices to be
contacted are at the other end of the point-to-point link.
In this example, to communicate with “sp1,” “sp2,” and “sp3,” a route
would needed to the virtual network whose IP address is 172.20.0.0
as shown below:
To communicate with “sp4”, because it cannot be contacted through a
virtual network IP address, the same route mentioned in “PPTP VPN
Configuration for Example 2” on page 388 would be needed to “sub2,”
which has the network IP address 192.168.4.1 as shown below:
Enable native IP and access the device’s native features.
Enabling native IP and accessing the device’s native features is the same as
described under “Enabling Native IP and Accessing a Device’s Native
Features Using Real IP Addresses for Example 2” on page 391.
route add -net 172.20.0.0 mask 255.255.0.0 via 192.168.2.1
route add -net 192.168.4.1 mask 255.255.252.0 via 192.168.2.1