I've been having problems with Xen networking on OpenSUSE, specifically with getting Dom0 opening a TCP connection to the DomU. Other machines on the network can open TCP connections to all 3, so I'm hoping a manual network configuration will let me resolve the Dom0 -> DomU issue.
So I need help to manually configure my Dom0 network, bridge, and 2 VIF interfaces in OpenSUSE. Ideally I'll have 3 mac addresses, two randomly generated for each VIF and one for the Dom0. This way my internal DHCP/DNS server can assign each a IP and all machines on the lan can connect to all 3 servers. All 3 machines should be on the same internal network with everything else (no VLAN or NAT). NOTE: You can assume this is a static network setup, I'm just using DHCP with static MACs for convenience, but I expect the IPs of Dom0, and DomUs to be fixed.
1) How do I configure this network start to finish in YaST?
or
2) Please provide sample /etc/sysconfig/network scripts, and any other config file scripts to set this up.
Thanks
Best Answer
I create the bridges manually using the ifcfg- files in /etc/sysconfig/network. I have a bridge attached to eth0 that gets passed to domUs. Below are my ifcfg-eth0 and ifcfg-br5000 files. It's slightly different if you need to bridge a VLAN, but since you don't indicate as much, I assume that's not needed.
eth0:
br5000: