Displaying 2 results from an estimated 2 matches for "route_localnet".
2013 Jun 14
2
Enabling route_localnet on private network
...must be deleted which I did by adding an "ip route delete" command to the ifcfg-br0 file that starts the bridged network that is used by the KVM guests. The second configuration change is where I am having trouble. For the second change I need to set the kernel boolean net.ipv4.conf.pvt0.route_localnet to be true to allow routing of the 127.0.0.0/8 on the libvirt net device that I have configured to use addresses on the 127.0.0.0/8 network. Normally I would do this by adding "net.ipv4.conf.pvt0.route_localnet = 1" to /etc/sysctl.conf but this does not work because the libvirt pvt0 devi...
2013 Jun 15
0
Re: Enabling route_localnet on private network
My question is where can I add the command "/sbin/sysctl -w
> net.ipv4.conf.pvt0.route_localnet=1" to the start-up files so the command
> is run after the libvirt device pvt0 has been autostarted?
>
Does libvirt hooks can do this ?http://libvirt.org/hooks.html