-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 wim wrote: > On Sat, May 13, 2006 at 08:43:35PM +0200, [EMAIL PROTECTED] wrote: > >>Hi all I have dth fallowing problem.. I have a router with public ip (for >>example 194.10.8.1/30) and my Debian whit eth1 public ip 194.10.8.2/30. >>Everything works fine I can ping outside no problem.. but my Debian also fas >>eth0 interface with ip 192.168.1.1 and it is the gateway of my LAN. The >>problem is that packets from my lan stops at 194.10.8.2. It seems to be >>Debian cannot routes packets ?? >> >>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 >> >>I also added.. >> >>route add -net 0.0.0.0 netmask 0.0.0.0 gw 194.10.8.1 dev eth1 >> >>..but no way to make my Debian works as router/gateway for computers iiside >>my lan >> >>Giuseppe > > > Hello Giuseppe, > > You should remove the gateway for your eth0 configuration, as it is not > in the same subnet of 192.168.1.1/24 > Your default gateway for your other devices on the LAN should point to > 192.168.1.1. Also IP Forwarding has to be enabled.
Ace. - -- Random Quotes From Megas XLR Coop: You see? The mysteries of the Universe are revealed when you break stuff. Jamie: When in doubt, blow up a planet. Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here. Glorft Technician: Unnecessary use of force in capturing the Earthers has been approved. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEaFQM7U+DAAbUYg0RAkaIAJ9si3Ghoqp+ZPDQmyp+9OCbpfu4ugCdF6cr Xa/zXzQCdTBGES4tFMuwU40= =TMJS -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

