mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-10-05 15:01:04 +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{
|
route = &netlink.Route{
|
||||||
LinkIndex: link.Attrs().Index,
|
LinkIndex: link.Attrs().Index,
|
||||||
|
Src: nrc.nodeIP,
|
||||||
Dst: dst,
|
Dst: dst,
|
||||||
Protocol: 0x11,
|
Protocol: 0x11,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user