We have multiple VLANs setup between different sites, and are using them to connect our dev. network, 192.168.3.x, and a management network, 172.16.20.x. I have a Xen dom0 on 192.168.3.x; one of it's domUs needs to be on 172.16.20.x.
The network setup on dom0 looks like:
dhcp-169:/ # ifconfig br0 Link encap:Ethernet HWaddr 00:30:48:CC:72:BC inet addr:192.168.3.169 Bcast:192.168.3.255 Mask:255.255.255.0 inet6 addr: fe80::230:48ff:fecc:72bc/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8298 errors:0 dropped:0 overruns:0 frame:0 TX packets:3569 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1644212 (1.5 Mb) TX bytes:1060834 (1.0 Mb)
br0 is a bridge interface to eth0. This bridge is what allows the domUs to access the 192.168.3.x network.
The routing table is as simple as
Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.3.1 0.0.0.0 UG 0 0 0 br0
What I need is for the domU to have a management address (172.16.20.x), so that other machines on that network can talk to it. It can additionally have a development (192.168.3.x) address, if that's required to make things work.
Now, I can ping to the management network (172.16.20.x) from the development (192.168.3.x) network. However, I cannot ping the development (192.168.3.x) network from the management (172.16.20.x) network. Not sure if this will cause any problems...
What networking configuration needs to be in place on the dom0 and domU to enable this setup? I've tried a few different bridge and VLAN configurations on dom0 and domU, but no to avail.