Re: Details on iif in ip rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 2011-12-21 01:08, Aadith Koshy wrote:

>Hi Team,
>
>I am having some trouble understanding 'iif' on the ip rules. Let me 
>explain what I am trying out. I have 3 virtual interfaces on a single 
>interface.

No you are not having 3 interfaces. You are having exactly _one_ 
interface. You are being deluded by ifconfig - stop using net-tools.
Use iproute2. Then it all starts making sense.

>eth0       192.168.4.0/24
>eth0:1   192.168.5.0/24
>eth0:2   192.168.6.0/24
>eth0:3   192.168.7.0/24
>
>
>I have all the interfaces setup with dhcp servers and they are able to 
>hand out I have rules that direct traffic from each of the interfaces 
>except eth0:2 to a route table as follows [...]
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux