Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for specified interface IP addresses #280

Closed
V3rgilius opened this issue Dec 15, 2022 · 0 comments
Closed

Support for specified interface IP addresses #280

V3rgilius opened this issue Dec 15, 2022 · 0 comments

Comments

@V3rgilius
Copy link

I created a topology using examples/gobgp/gobgp.pb.txt, but I can't ping through from r1 to r2 (I changed the router-id of both nodes). I noticed that there's hardly a way to specify IP address of pods' interfaces. The interface ip can be specified by adding a Kubernetes object to a cluster with meshnet-cni installed, but it cannot be done in a kne deployed cluster by the same method. Is it because the localip and peerip remain empty strings in this code?

kne/topo/node/node.go

Lines 148 to 155 in 476a6df

links = append(links, topologyv1.Link{
UID: int(ifc.Uid),
LocalIntf: ifcName,
PeerIntf: ifc.PeerIntName,
PeerPod: ifc.PeerName,
LocalIP: "",
PeerIP: "",
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant