J
J
jov2012-09-25 03:02:43
Xen
jov, 2012-09-25 03:02:43

Networking in xen via vif-nat?

Good day. I'm trying to assemble a virtualization stand for debugging software. And there are a lot of manuls, but they are all focused on setting up a network through a bridge. This option does not suit me, because the network is via wi-fi (the computer will stand on the mezzanine, the wires will be pulled lazily, and it will not be aesthetically pleasing). It is impossible to drive a wireless card into the bridge. Attempts to configure the network using alternative methods (nat / route) according to this manual do not lead to success. dom0 network configuration:

cat /etc/network/interfacesback network interface
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
  wireless-essid OpenWrt

auto xenbr0
iface xenbr0 inet dhcp
    bridge_ports eth0
Fragment from the virtual machine config
cat /var/lib/xend/domains/4302a3b0-ed08-dff8-375d-11b101523f66/config.sxp
.....
    (device
        (vif
            (bridge xenbr0)
            (uuid 4b5e6cc7-1766-18c0-f88f-b888400faa6b)
            (script /etc/xen/scripts/vif-nat)
            (ip 192.168.200.1)
            (mac 00:16:3e:7d:fd:03)
            (backend 0)
        )
    )
....
Actually in Windows dumU, in the network settings I specify 192.168.200.1 (2), the gateway is 192.168.200.254 (recommended by the manual) / 192.168.200.128 (the address that vif1.0 receives on the machine). Does not work. Please help me figure it out. I really don't want to pull the cable.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
ivnik, 2012-09-25
@ivnik

Maybe bridge_ports wlan0?

J
jov, 2012-09-26
@jov

The problem is already solved. And it consisted in the fact that editing the configurations of /var/lib/xend/domains/ virtual machines without stopping the xendomains daemon did not change the settings one iota.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question