########################## Client /etc/network/interfaces #################### ## ## dopo la modifica diventare root da console e lanciare ## /etc/init.d/networking stop ## /etc/init.d/networking start ## ## se qualche interfaccia non riparte usare ## ifup auto eth2 iface eth2 inet static address 10.1.1.1 netmask 255.255.255.0 up route add -net 10.9.9.0 netmask 255.255.255.0 gw 10.1.1.254 ########################## Router /etc/network/interfaces #################### ## ## dopo la modifica diventare root da console e lanciare ## /etc/init.d/networking stop ## /etc/init.d/networking start ## ## se qualche interfaccia non riparte usare ## ifup auto eth1 iface eth1 inet static address 10.9.9.254 netmask 255.255.255.0 auto eth2 iface eth2 inet static address 10.1.1.254 netmask 255.255.255.0 ########################## Router /etc/sysctl.conf #################### ## ## dopo la modifica lanciare ## sysctl -p net.ipv4.ip_forward=1 ########################## Server /etc/network/interfaces #################### ## ## dopo la modifica diventare root da console e lanciare ## /etc/init.d/networking stop ## /etc/init.d/networking start ## ## se qualche interfaccia non riparte usare ## ifup auto eth1 iface eth1 inet static address 10.9.9.1 netmask 255.255.255.0 up route add -net 10.1.1.0 netmask 255.255.255.0 gw 10.9.9.254