Network Configuration

Giving '$INTIF' a gateway

In some installations, AstLinux will not be your LAN's gateway, and AstLinux itself might have to use a gateway to reach a particular subnet (common in VPN situations). To configure this, edit /mnt/kd/rc.elocal (or create it, if not yet present, and make it executable), and add the following to it:

ip route add to via yyy.yyy.yyy.yyy dev ethz

  • is the remote subnet which can be reached via the gateway
  • yyy.yyy.yyy.yyy is the IP address of the gateway
  • ethz is the NIC attached to the same subnet as the gateway

rc.elocal is simply a start-up script which runs directly after the network startup script.

  • userdoc/tt_network_config.txt
  • Last modified: 2010/01/18 05:09
  • by tom