userdoc:tt_network_config

This is an old revision of the document!


Network Configuration

Giving '$INTIF' a gateway

In some installations, AstLinux will not be your LAN's gateway, and AstLinux itself might have to use that 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 xxx.xxx.xxx.xxx/xx via yyy.yyy.yyy.yyy dev ethz

  • xxx.xxx.xxx.xxx/xx 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.1262981474.txt.gz
  • Last modified: 2010/01/08 14:11
  • by droemel