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

Ipv6 #42

Merged
merged 26 commits into from
Mar 4, 2021
Merged

Ipv6 #42

merged 26 commits into from
Mar 4, 2021

Conversation

majst01
Copy link
Contributor

@majst01 majst01 commented Jan 22, 2021

part of #41

TODO:

  • firewall: if both sides are ipv6 no not NAT

@majst01
Copy link
Contributor Author

majst01 commented Jan 23, 2021

We need to pass the bits for the lo address because otherwise it inherits from the already configured ip:


metal@d71b909b3b9430da:/etc/systemd/network$ more 00-lo.network 
# networkid: underlay-vagrant-lab
[Match]
Name=lo

[Address]
Address=127.0.0.1/8

[Address]
Address=10.1.0.1
metal@d71b909b3b9430da:/etc/systemd/network$ ip ads 
Object "ads" is unknown, try "ip help".
metal@d71b909b3b9430da:/etc/systemd/network$ ip ad s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet 10.1.0.1/8 brd 10.255.255.255 scope global lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever

Copy link
Contributor

@mwindower mwindower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@majst01 majst01 requested a review from mwindower March 4, 2021 10:47
@mwindower mwindower merged commit 9f70ed1 into master Mar 4, 2021
@mwindower mwindower deleted the ipv6 branch March 4, 2021 10:47
@mwindower mwindower mentioned this pull request Mar 4, 2021
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.

2 participants