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

peer addresses and unconnected interfaces #23

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

eklabn
Copy link

@eklabn eklabn commented Jun 29, 2023

Here are a couple of changes to (1) handle interface addresses with /32 masks and (2) create a dummy for each unconnected interface.

@choppsv1 choppsv1 force-pushed the main branch 2 times, most recently from 91b4758 to eb56767 Compare August 9, 2023 04:23
For p2p links with each endpoint in a different IP subnet, as would be
found with IPv4 addresses and 32-bit subnet masks, configure the peer
address.  In Linux, adding an interface route with the peer's address
as the destination is not sufficient; no other route will be able to
use the peer's address as a next-hop.
An interface with no connection is currently omitted from the target
network namespace.  Instead, add a Linux "dummy" interface and assign
IP addresses.
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

Successfully merging this pull request may close these issues.

1 participant