-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Come mai hai un gateway configurato per ciascuna interfaccia? Io lascerei solo quello di eth1 e configurerei il:
- - Masquerading iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE - - Forwarding echo 1 > /proc/sys/net/ipv4/ip_forward Potresti caricare anche alcuni moduli come ip_conntrack_ftp, ip_nat_ftp etc per far funzionare a dovere i vari servizi ai client della lan. Gianluca [EMAIL PROTECTED] ha scritto: > 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 > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEZi0KK1z3HmyB2QIRAlr3AJ9523gwsUiVANIw6J9WbrbtUWJxvACdEQMw QnXH0vX2RFpWMrCqPQQpsoY= =isAU -----END PGP SIGNATURE----- -- Per REVOCARE l'iscrizione alla lista, inviare un email a [EMAIL PROTECTED] con oggetto "unsubscribe". Per problemi inviare un email in INGLESE a [EMAIL PROTECTED] To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

