[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problema di routing



Title: problema di routing

ciao a tutti,
ho questo problema il router con ip pubblico(per esempio 194.10.8.1/30) e Debian eth1 con ip pubblico  194.10.8.2/30 ad esempio. Funziona quasi tutto, posso pingare fuori e il router. Ma la Debian ha anche una eth0 con  ip 192.168.1.1 e fa da gateway per la  LAN. Il problema è che i pacchetti dai computer sulla lan si fermano a 194.10.8.2. Sembra che Debian non riescaa fare da router.. perché ??

etc/network/interfaces..
iface eth0 inet static
address 192.168.1.1
255.255.255.0
gateway 194.10.8.2

iface eth1 inet static
address 194.10.8.2
255.255.255.252       
gateway 194.10.8.1

e aggiunto..

route add -net 0.0.0.0 netmask 0.0.0.0 gw 194.10.8.1 dev eth1

..help

Giuseppe


Reply to: