[CentOS-virt] Libvirt NAT-based network 2x-4x faster than Libvirt routed network?

Aleksei Miheev aleksei at miheev.info
Thu May 27 10:21:08 UTC 2010

В Thu, 27 May 2010 10:40:30 +0300
Veiko Kukk <veiko at ekp.ee> пишет:

> On 05/25/2010 04:34 PM, Kenni Lund wrote:
> > - 1 public IP for the host (xxx.yyy.zzz.215) on a /32 subnet with
> > xxx.yyy.zzz.193 as gateway
> Is it typo?
> There can be no subnet with /32 bit mask, it's single host only.

Actually, it is possible:

ip addr add xxx.yyy.zzz.215/32 dev eth0
ip route add xxx.yyy.zzz.193 dev eth0
ip route add default via xxx.yyy.zzz.193

More information about the CentOS-virt mailing list