wido commented on issue #12210:
URL: https://github.com/apache/cloudstack/issues/12210#issuecomment-3637928850
> Ok, then I don't get it. How does the VM communicate with the gw on the
bridge SVI. They're on separate subnets, you install a default gw to
169.254.0.1 (/32) on the VM but it's unreachable, right? Is there some magic
going on in the driver?
See this part in the netplan config:
```
- to: default
via: 169.254.0.1
on-link: true
```
The magic is the 'on-link' here, where you tell the Linux kernel that this
IP is on the same network and that ARP has to be used.
```
root@web01:~# ip -4 route show
default via 169.254.0.1 dev ens18 proto static onlink
root@web01:~#
```
For IPv6 this is not required as fe80::1 is part of the link-local spec.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]