This shows you the differences between two versions of the page.
Next revision
|
Previous revision
|
userdoc:tt_network_config [2010/01/08 11:40] tom created |
userdoc:tt_network_config [2010/01/18 05:09] (current) tom Language clarification |
====== Network Configuration ====== | ====== Network Configuration ====== |
| === Giving '$INTIF' a gateway === |
| |
===== Giving $INTIF a default 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: |
| |
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'' |
* ''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. |