diff options
Diffstat (limited to 'conf.d/network.Linux')
-rw-r--r-- | conf.d/network.Linux | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/conf.d/network.Linux b/conf.d/network.Linux index bda4ac0f..f57ec91a 100644 --- a/conf.d/network.Linux +++ b/conf.d/network.Linux @@ -1,11 +1,16 @@ + +# You can assign a default route +#defaultroute="gw 192.168.0.1" +#defaultroute6="gw 2001:a:b:c" + # ifconfig under Linux is not that powerful and doesn't easily handle # multiple addresses # On the other hand, ip (iproute2) is quite powerful and is also supported #ip_eth0="192.168.0.10/24; 192.168.10.10/24" # You can also use ip to add the default route. -#defaultiproute="192.168.0.1" -#defaultiproute6="2001:a:b:c" +#defaultiproute="via 192.168.0.1" +#defaultiproute6="via 2001:a:b:c" # ip doesn't handle MTU like ifconfig, but we can do it like so #ifup_eth0="ip link set \$int mtu 1500" |