Page MenuHomeDevCentral

Don't use keyword add to declare an IPv6 alias on FreeBSD
Needs ReviewPublic

Authored by dereckson on Fri, Apr 3, 17:39.
Tags
None
Referenced Files
F25202820: D4039.diff
Sat, Apr 4, 23:15
F25201015: D4039.id10553.diff
Sat, Apr 4, 19:41
F25194113: D4039.id10553.diff
Sat, Apr 4, 09:26
F25194023: D4039.diff
Sat, Apr 4, 09:21
Subscribers
None

Details

Summary

Ref T2293.

Test Plan

ifconfig igb0 inet6 2001:bc8:2e84:700:0:dead:c0de:b07 prefixlen 56

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
network-ipv6-alias
Build Status
Buildable 6561
Build 6845: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson added reviewers: yousra, Duranzed.
WindRiver
$ salt-call --local state.apply roles/core/network/ipv6
local:
----------
          ID: /etc/rc.conf.d/netif/ipv6_igb0
    Function: file.managed
      Result: True
     Comment: File /etc/rc.conf.d/netif/ipv6_igb0 updated
     Started: 18:02:28.820428
    Duration: 14.352 ms
     Changes:   
              ----------
              diff:
                  --- 
                  +++ 
                  @@ -14,5 +14,5 @@
                   #   </auto-generated>
                   
                   ifconfig_igb0_ipv6="inet6 2001:bc8:2e84:700::da7a:7001 prefixlen 56"
                  -ifconfig_igb0_ipv6_alias1="inet6 add 2001:bc8:2e84:700:0:dead:c0de:b07 prefixlen 56"
                  +ifconfig_igb0_ipv6_alias1="inet6 2001:bc8:2e84:700:0:dead:c0de:b07 prefixlen 56"
                   
----------
[…]