[pve-devel] qemu nat mode and rate limiting ?

Dietmar Maurer dietmar at proxmox.com
Tue Mar 5 09:42:05 CET 2013


> Hostside: Allow IPv4 forwarding and add route to client (could be put in a script -
> route has to be added after the client has started):
> 
> sysctl -w net.ipv4.ip_forward=1                 # allow forwarding of IPv4
> route add -host <ip-of-client> dev <tap-device> # add route to the client
> 
> Clientside: Default GW of the client is of course then the host (<ip-of-host> has
> to be in same subnet as <ip-of-client> ...):
> 
> route add default gw <ip-of-host>
> "
> Because I don't see ip address on tap, but only a route

Sure, we just need to add a correct route.

Not sure how to handle that when we migrate a VM.


More information about the pve-devel mailing list