Michael's Domain

The fact that everything looks different doesn't mean that all has changed

Permanent static route in Ubuntu Karmic Koala (9.10)

To add a permanent static route to a system with one NIC, you need to edit the
/etc/network/interfaces file:

The following section needs to be replaced:

# The primary network interface
auto eth0
#iface eth0 inet dhcp

Modify as follows:

# The primary network interface
auto eth0
iface eth0 inet dhcp
up route add -net 10.8.0.0 netmask 255.255.255.0 gw 192.168.0.3
down route del -net 10.8.0.0 netmask 255.255.255.0 gw 192.168.0.3


© Michael Jeltsch 2006

Powered by Drupal - Design by Artinet