I'm trying to get Xen running in a setup where the domUs have a completely different IP than the dom0 (not in the same network range). This answer got everything working within the same /24 range, but not with completely unrelated IPs.
dom0's /etc/network/interfaces:
# The primary interface.
# The configuration is done in the bridge.
auto eth0
# The bridge for Xen to use.
auto xenbr0
iface eth0 inet static
bridge_ports eth0
address 188.165.X.Y
netmask 255.255.255.0
network 188.165.X.0
broadcast 188.165.X.255
gateway 188.165.X.254
dom0's bridge (brctl show):
bridge name bridge id STP enabled interfaces
eth0 8000.00259022aab2 no peth0
vif1.0
domU's /etc/network/interfaces:
# The primary network interface
auto eth0
iface eth0 inet static
address 91.121.A.B
gateway 188.165.X.254
netmask 255.255.255.0
I've tried different netmasks in domU's configuration as well. How should I configure the thing to allow the domU to connect to the network in a working manner?