routing between vlans (iptables??)
i have two vlan interfaces in my linux box
eth1.17 & eth1.27
Now i need to route any packet coming to eth1.17 to eth1.27 and vice versa
say an icmp packet 126.96.36.199->188.8.131.52 come to eth1.17 then it should be forwarded through eth1.27
if the same packet is coming on eth1.27 then it should be forwarded through eth1.17.
after doing some googling I started with iptables.
iptables -A FORWARD -i eth1.17 -o eth1.27 -j ACCEPT
iptables -A FORWARD -i eth1.27 -o eth1.17 -j ACCEPT
But this does not work...
Could someone please help me out.