3 ms·
inet 10.252.1.20/32 brd 10.252.1.20 scope global eth0 valid_lft forever preferred_lft forever # ip r sh default via 10.252.0.1 dev eth0 onlink
by ilyt 3y ago
inet 10.252.1.20/32 brd 10.252.1.20 scope global eth0
valid_lft forever preferred_lft forever
# ip r sh
default via 10.252.0.1 dev eth0 onlink
yes you do need a route for gateway, we just add it via CM
> Do you somehow configure the router too?
interface on the hypervisor (each vm gets their own)
inet 10.252.0.1/32 brd 10.252.0.1 scope global v.vmname.0
and a route
10.252.1.20 dev vvmname.0 src 10.252.0.1 uid 0
added in a hook, and then distributed via ospf to rest of devices
- jve 3y agoSo each VM needs 2 IP addresse - 1 GW, another one VM? What is the advantage here...? Or is this done to prevent VM using another address from 10.252.0.0/x "subnet" ?