Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Mar 2008
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 22.214.171.124->126.96.36.199 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.