Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userdoc:tt_network_config [2010/01/08 11:59]
tom Removed erroneous 'default' from title
userdoc:tt_network_config [2010/01/18 05:09] (current)
tom Language clarification
Line 1: Line 1:
 ====== Network Configuration ====== ====== Network Configuration ======
 +=== Giving '​$INTIF'​ a gateway ===
  
-===== Giving $INTIF a gateway ===== +In some installations, ​AstLinux ​will not be your LAN's gateway, and AstLinux ​itself might have to use gateway to reach a particular subnet (common in VPN situations). To configure this, edit ''/​mnt/​kd/​rc.elocal''​ (or create itif not yet present, and make it executable), and add the following to it:
- +
-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 add the following to it:+
  
 ''​ip route add to xxx.xxx.xxx.xxx/​xx via yyy.yyy.yyy.yyy dev ethz''​ ''​ip route add to xxx.xxx.xxx.xxx/​xx via yyy.yyy.yyy.yyy dev ethz''​
Line 11: Line 10:
   * ''​ethz''​ is the NIC attached to the same subnet as the gateway   * ''​ethz''​ is the NIC attached to the same subnet as the gateway
  
-''​rc.elocal''​ is simply a start-up script which runs after Astlinux'​s other startup ​scripts.+''​rc.elocal''​ is simply a start-up script which runs directly ​after the network ​startup ​script.