KVM guest, need to remove from bridge, proxyarp and host route - what=best practice?

daveo

Member
Jan 6, 2012
38
1
6
London
dave.osbourne.uk.eu.org
Hi,

I've become quite used to the web interface so would be quite keen to know if there is a best practice solution for my little kludge (see below) to be automated post 'start'. This was necessary to solve the problem with a Win KVM guest on an IP that does not share a subnet with the host.

After I "start", I run the commands via an ssh session:

#] echo 1 > /proc/sys/net/ipv4/conf/tap101i0d0/proxy_arp
#] brctl delif vmbr0 tap101i0d0
#] route add -host 91.186.7.XXX dev tap101i0d0

XX is the real IP of the win2008 Guest

Also very happy for someone to scream at me if this was the worst solution ever (;

DaveO