[Embeddedxen-devel] Regarding XEN Networking
Brought to you by:
rossierd
From: akshay st <aks...@ya...> - 2015-06-30 13:59:39
|
Hi, I went over Linux Bridging concepts, i have understood to some extent. I want to know if my understanding on xen networking is correct. Following is the sequence which xen does 1.Linux Dom0 has physical eth0 and Virtual vif, DOMu has virtual vif. 2.DOM0 creates a bridge and assigns eth0 and vif ports to bridge. 3.DomU user assigns a IP address(say 192.168.2.102) 4.DOM0 has IP address 192.168.2.101 and the host to which eth0 is connected has IP 192.168.2.100. 5.Linux DOMu does ping 192.168.2.100 (it does arp broadcast) since its a broadcast Linux dom0 bridge transmits via eth0 (with source mac address set to DOMU local mac address and destination broadcast) 6.Host responds with its IP address with its own source mac address and dest mac address set to DOMu's mac adress. 7.DOM0 bridge receives it and since dest mac address is not local sends it via virtual interface(other port) 8.If above mentioned steps are correct , then eth0 should allow packets with not just its mac address ,but domu's mac address also? our current NIC driver doesn't run in promiscuous mode and it filters out all traffic which destination mac address is not one of its local mac address. So now i need to configure my physical NIC (saying DOMu's mac address is also local) so that i get traffic for both DOM's? Is my understanding is correct? or am i missing anything? if so can you please explain a bit. Warm Regards, Akshay |