mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-10-04 22:41:03 +02:00
explicilty specify source IP to use when send traffic over tunnels (#428)
This commit is contained in:
parent
2f39f9833b
commit
359ab1d9a1
@ -400,6 +400,7 @@ func (nrc *NetworkRoutingController) injectRoute(path *table.Path) error {
|
||||
|
||||
route = &netlink.Route{
|
||||
LinkIndex: link.Attrs().Index,
|
||||
Src: nrc.nodeIP,
|
||||
Dst: dst,
|
||||
Protocol: 0x11,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user