Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17913

very unusual KVM setup. Question about networking.

$
0
0

I've recently started using a kvm guest as a router for the office along with dnsmasq. I've given the kvm guest two physical nic ports using macvtap. It works great, however when the KVM host reboots I need to mess around with the network since the host itself cannot dhcp and address from the host until the guest dhcpd is up and running. It's a strange chicken and egg problem. What I would really like is a solution that brings up the host's necessary interfaces (so that the guest can use macvtap) and then waits till the guest is up before dhcp'ing it's own interfaces. I've looked a little bit at ifplugd and the difference between allow-hotplug and auto in /etc/network/interfaces but if anyone knows more I'd gladly listen.

TL;DR I'm a crazy sysadmin with too much time on my hands and no sleep schedule, halp

submitted by throwawayagin
[link][12 comments]

Viewing all articles
Browse latest Browse all 17913

Trending Articles