James Allsopp wrote: > Just restarted everything and the address of the virtual machine is > 192.168.122.216 so on a different subnet.
The VM is on 192.168.122.216. Okay. > Looking at the output of ps aux | grep network, I found this: > ja@Hawaiian:~$ ps aux | grep network > nobody 6157 0.0 0.0 22760 956 ? S 22:04 0:00 dnsmasq > --strict-order --bind-interfaces > --pid-file=/var/run/libvirt/network/default.pid --conf-file= --listen-address > 192.168.122.1 --except-interface lo --dhcp-range > 192.168.122.2,192.168.122.254 --dhcp-lease-max=253 Acknowledged. You have dnsmasq configured to assign addresses to clients to the 192.168.122.1/24 subnet between .2 and .254. > and an /sbin/ifconfig gives this: > a@Hawaiian:~$ /sbin/ifconfig > br0 Link encap:Ethernet HWaddr 00:1d:7d:0d:2a:9f > inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 > inet6 addr: fe80::21d:7dff:fe0d:2a9f/64 Scope:Link Your bridge is configured for 192.168.1.2/24. Somehow you will need to route between those networks. > virbr0 Link encap:Ethernet HWaddr fe:54:00:87:97:a6 > inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 A virbr0 is set up on 192.168.122.1/24. I believe this to be a NAT interface. A NAT interface will allow outgoing connections. But obviously no incoming connections can occur. > so the question is how did virbr0 get here, and how do I alter it to > make my VM look like a normal network machine. It is probably being created by libvirt during VM startup. You probably have it set up as the network default for libvirt. You would need to show us your libvirt configuration and tell us what type of VMs you are using and how you are starting them. Are you using KVM? If you haven't read it then this page is very useful. Read through this and it will probably answer a lot of your questions. http://wiki.libvirt.org/page/Networking Bob
signature.asc
Description: Digital signature