From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jose Sebastiao Martins Date: Wed, 30 Oct 2002 12:57:41 +0000 Subject: [LARTC] Routing MIME-Version: 1 Content-Type: multipart/mixed; boundary="=======732401B=======" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org --=======732401B======= Content-Type: text/plain; x-avg-checked=avg-ok-3EB034CA; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit Hi all, I'm new to iproute2 and iptables. It's a very simple topology: world--a.b.c.d--|router|--x.y.z.10--x.y.z.8--|linux+iptables| | 172.16.0.1 | / \ / HUB linux1=172.16.0.200 I can ping x.y.z.8 from privite net linux1 or $windows but not the router interface x.y.z.10. Here are my settings: ip ro sh 200.179.120.0/23 dev eth1 scope link 172.16.0.0/16 dev eth0 scope link 127.0.0.0/8 dev lo scope link default via 200.179.120.10 dev eth1 ip ru sh 0: from all lookup local 32766: from all lookup main 32767: from all lookup 253 If I try: ip route add 172.16.0.0/16 via 200.179.120.10 ip route add 172.16.0.0/16 via 200.179.120.8 I get File exists I'm already setting the rules. For now it's completly open. iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT all -- anywhere anywhere LOG all -- anywhere anywhere LOG level warning Chain OUTPUT (policy ACCEPT) target prot opt source destination Please, what I'm missing? TIA Jose Sebastiao Martins tiao@int.efoa.br --=======732401B======= Content-Type: text/plain; charset=us-ascii; x-avg=cert; x-avg-checked=avg-ok-3EB034CA Content-Disposition: inline --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/02 --=======732401B=======-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/