You are not logged in.
I have a update archlinux booted with xen efi. The dom0 works ok and can connect to the internet perfectly, but i am unable to create a vm with working internet.
I already tried the methods using nmcli (NetworkManager), ip (iproute2), create_ap (https://github.com/oblique/create_ap), using static and dhcp. I also have noticed something weird, when i was following a bridge creating tutorial using nmcli, the bridge-slave wont start, only the masters. I don't know which log to post, so if you guys need one please ask
Offline
A little more info would help. When you say:
with working internet
What do you mean exactly? And how are you trying to get to the internet? There are a lot of networking-related things that could be wrong, without Xen being at all to blame. I'm not running Xen, but I'll take a stab based on otherwise related experiences.
To start, based on Xen network bridge instructions: Can you see any indication that the guest is appropriately attached to a virtual network bridge (e.g. xenbr0) in the host?
For help with this first suggestion, you could examine the output of:
sudo brctl show xenbr0
in your host (dom0). I surmise there should be something corresponding to the guest's NIC in the "interfaces" column. If that column is empty then there may be something wrong with your Xen networking setup in the host.
Next, for the suggestion that follows, you'll need a command that requires continued network access in the guest, e.g. a constant ping to 8.8.8.8.
If you have a valid entry in the "interfaces" column that corresponds to your guest NIC, then you can use
sudo brctl showmacs xenbr0
and see if the guest MAC shows up. If the bridge is set up correctly, the guest MAC should appear when you start the ping, and start growing stale as reported in the "ageing timer" column when you stop the ping.
If you make it this far and things look OK, then please report a little more about the networking setup. Are you using a wired or wireless adapter? Are you trying to use the same gateway in your guest as in your host, and can your guest ping that gateway? If you're using the web or anything else requiring DNS to test your guest's connection, do you have valid DNS configured? These are just a few of the "lot of networking-related things" mentioned above.
If you're starting a foray into virtual networking, this is also a great opportunity to learn to love tools like tcpdump/wireshark, traceroute, and iptables, to name a few.
Offline
Sorry by the late response. This is the output from brctl show xenbr0:
bridge name bridge id STP enabled interfaces
xenbr0 8000.feffffffffff no vif5.0
and this is the output form brctl showmacs xenbr0:
port no mac addr is local? ageing timer
1 fe:ff:ff:ff:ff:ff yes 0.00
1 fe:ff:ff:ff:ff:ff yes 0.00
It seems that is something with the second output.
I'll try to explain the problem better. The problem is that on my dom0 i can create the bridge with no problem at all and I was able to create the slave too, but when i start the domU which is a archlinux it runs a dhcpcd.service and it returns an error. So i tried to create a static IP, but i could not get it working too. I cant even ping the dom0 NIC ip.
Offline
Please use [ code ] tags (not yellow highlight) for terminal output.
https://wiki.archlinux.org/index.php/Co … s_and_code
https://bbs.archlinux.org/help.php#bbcode
Offline
So a bridge joins interfaces together to make one network.
Xen puts each interface for each vm into the bridge ..... you need to put the physical interface on the DOM0 into the bridge as well.
If you don't, then no VM will be able to get beyond the DOM0, which is what you are describing.
Offline