Re: FORWARD chain and Interfaces

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

 



netfilter@xxxxxxxxxxxxxx a écrit :
> On Sat, 21 May 2011 22:51 +0200, "Pascal Hambourg"
>>
>> How are the virtual machine network interfaces connected together ?
>> Did you create two separate virtual links ?
>> One explanation could be that all interfaces are connected to the same
>> virtual link, so traffic coming to the router could arrive at any of its
>> two interfaces.
> 
> That's an interesting idea.  I'm not sure how Parallels sets up the
> interfaces.

How then do you know which interface of the router is connected to which
network ?

A quick test could be to send broadcast packets from A then B while
listening on all interfaces of the other machines with tcpdump or the
like. If you can see the broadcast packets on all interfaces then they
all are on the same network.

> Right now I'm writing the FORWARD rules assuming that when the real
> hardware is in place it will function as I expect.  I'm using -i eth0
> and -o eth1 for new traffic originating from Network A going to B  and
> -i eth1 and -o eth0 for new traffic originating from Network B to A.  
> Based on my original diagram below.  Does that sound reasonable?

Sure.
--
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