Hi, I have installed a centos65_guest_1 system on a centos65 host with virt-manager. By default libvirt has a default network in NAT mode. At centos65_guest_1 when pinging to google it works. But I would like to use a routed mode for production enviroment with some services online, like http, ftp, ssh, etc. I have created the virtual network 192.168.100.0/24 with routed mode, and I have installed another guest system, centos65_guest_2, that is using this network. The problem is that I can't ping to the outside world. ping to 192.168.100.1 is working Why is not working? Any suggestion? Thank you
On 2014-05-15 12:10, JvR O wrote:> Why is not working?• sysctl → ip_forward? • Target hosts have a correct route to your new subnet? -- Mit freundlichen Grüßen, / Best Regards, Sven Schwedas Systemadministrator TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz Mail/XMPP: sven.schwedas@tao.at | +43 (0)680 301 7167 http://software.tao.at
/etc/sysctl.conf net.ipv4.ip_forward = 1 centos 65 host has static private ip 192.168.1.15 I have added a route ip route add 192.168.1.0/24 via 192.168.1.15 but each time I use 'service network restart' the new route disappears anyway I have made a ping before restarting the network and is still not working Thank you. 2014-05-15 12:23 GMT+02:00 Sven Schwedas <sven.schwedas@tao.at>:> On 2014-05-15 12:10, JvR O wrote: > > Why is not working? > > • sysctl → ip_forward? > > • Target hosts have a correct route to your new subnet? > > > -- > Mit freundlichen Grüßen, / Best Regards, > Sven Schwedas > Systemadministrator > TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz > Mail/XMPP: sven.schwedas@tao.at | +43 (0)680 301 7167 > http://software.tao.at > > > _______________________________________________ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users >