Archive for Maggio 14th, 2008
Static routes Ubuntu
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