my apologies that was a typo. that is not how interfaces files look. Thanks,
On Thu, Feb 20, 2014 at 3:33 PM, Florian Schmitt <[email protected] > wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi! > > Am 21.02.2014 00:23, schrieb motty cruz: > > > > cat /etc/network/interfaces > > > > iface eth0 inet static address 10.5.0.1 netmask 255.255.255.0 > > gateway public IP up route add -net 10.6.0.0 netmask 255.0.0.0 gw > > 10.5.0.6 dev eth0 > > > > > > this does not work because then all traffic gets routed to that > > interface, 10.5.0.6 including public traffic. > > > > > > Why are you using netmask 255.0.0.0? This would also include your > 10.5.0.0/24 net. > > > Florian > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.12 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQEcBAEBAgAGBQJTBpDCAAoJELr4d5XenOcbGgsIAJixEGtrLe3up1Oq7hlxTETB > TqGuKMp5oP4aAzx4iP1hc6r8V91nKEFM+qKGw5JGiqFsn4M1KgHy84V1KrDFLRCR > YhFR6qWl0XN71lJ4fRBxtHege8mHTFpjoC/a/AxlvSVVZU6nkCWTgNaKTBwz4qcn > XF2XqbfEPPVcKs99xid4pH9btRVcft4tYCzyEocMd/LNcysXKIxipCM1pGDJYz/M > iCbjwhqLE0Y3Pd/hNE/5BymxSz1WGp4KxGkUXKTJOiluYgUeBMrBOStQqVkumWvV > gdrN2YY7OjvxssooX2Wa2aKRh+jPyENhI/fKTslouOUllWBvsoWuvbrw6ttdF0k= > =pWUC > -----END PGP SIGNATURE----- > > > -- > To UNSUBSCRIBE, email to [email protected] > with a subject of "unsubscribe". Trouble? Contact > [email protected] > Archive: http://lists.debian.org/[email protected] > >

