Giuseppe’s Weblog

Just another WordPress.com weblog

Archive for Maggio 14th, 2008

Static routes Ubuntu

nessun commento

Creare un file eseguibile nella cartella:
/etc/network/if-up.d/

con le rotte statiche da aggiungere come nell’esempio:

#!/bin/sh
# Set static routes
#
/sbin/route add -net 10.10.22.0/24 gw 10.10.20.254 dev eth0
/sbin/route add -host 10.10.10.50 gw 10.10.20.254 dev eth0

Written by gfiorito

Maggio 14, 2008 alle 10:04 am

Pubblicato in HowTo, Linux, Ubuntu