Profile cover photo
Profile photo
Éibhear Ó hAnluain
About
Posts

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Help, please.

I would like to host my personal web site on a guest server on a physical box in my home office.

I have a problem, though, with internal routing.

The host server is connected to the internet through a router. The server's IP address, 192.168.0.17, is assigned using DHCP on the router, but the router is configured to assign that IP address always to the device with that MAC address.

The host is running Debian Jessie, and the physical NIC connected to the router is designated eth1.

Currently, guests are on their own NAT'd network, 192.168.122.0/24. I use the virt-manager utility to create and manage guests.

There are two options open to me so far as I am aware:
1) Route connections to the 192.168.122.0/24 subnet via 192.168.0.17. However, I can't see how that can be done with my current router. Anyway, it's not my preferred option, as I'd prefer not to have a separate subnet to maintain.
2) Create a network bridge from eth1 on the physical host to the guests so that all the guests would be on the 192.168.0.0/24 subnet. I've solved the problem of routing into the 192.168.0.0/24 network, so once I have a network bridge to the guests, I'm sorted.

Option 2) is my preferred, but I can't find a resource that would help me in a way that I can be confident is answering my questions.

The closest I have come to is https://wiki.debian.org/BridgeNetworkConnections, which covers bridging of physical devices, but refers to another page for host-to-guest bridging. However, the reference to the other page (http://wiki.libvirt.org/page/Networking#Altering_the_interface_config) doesn't make it clear as to whether I should be following some or all of the instructions on the linked-to site, and if just some of it, which part.

Another alternative I could follow is at http://rickvandeloo.com/2014/11/24/configuring-network-bridge-debian-jessie-static-address/, but it starts from a base config that is not the same as what I have (static IP address, versus my "dynamically" assigned IP address). I'm not clear on what the configuration changes do for me (and therefore, I'm not clear on whether they are appropriate for me).

So, basically, can I get some help in creating a network bridge from my eth1 to by virt-manager-managed guests on Debian Jessie, please?

Thanks,

Éibhear

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Last day for my CV survey. Please let me know what you think: https://www.surveymonkey.com/s/7R8TRFH I've a wide range of responses, though all helpful.
Wait while more posts are being loaded