Skip to content

Instantly share code, notes, and snippets.

@hazelesque
Last active January 22, 2017 23:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hazelesque/7a64b06c5837e8ddda3152b95f77acec to your computer and use it in GitHub Desktop.
Save hazelesque/7a64b06c5837e8ddda3152b95f77acec to your computer and use it in GitHub Desktop.
#### BROKEN MACHINE ####
[root@ipa4 ~]# grep slaac /etc/dhcpcd.conf
grep: /etc/dhcpcd.conf: No such file or directory
[root@ipa4 ~]# sysctl -a | grep use_tempaddr
sysctl: reading key "net.ipv6.conf.all.stable_secret"
net.ipv6.conf.all.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.default.stable_secret"
net.ipv6.conf.default.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.dummy0.stable_secret"
net.ipv6.conf.dummy0.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.eth0.stable_secret"
net.ipv6.conf.eth0.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.gre0.stable_secret"
net.ipv6.conf.gre0.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.gretap0.stable_secret"
net.ipv6.conf.gretap0.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.ip6_vti0.stable_secret"
net.ipv6.conf.ip6_vti0.use_tempaddr = -1
sysctl: reading key "net.ipv6.conf.ip6gre0.stable_secret"
net.ipv6.conf.ip6gre0.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.ip6tnl0.stable_secret"
net.ipv6.conf.ip6tnl0.use_tempaddr = -1
sysctl: reading key "net.ipv6.conf.ip_vti0.stable_secret"
net.ipv6.conf.ip_vti0.use_tempaddr = -1
sysctl: reading key "net.ipv6.conf.lo.stable_secret"
net.ipv6.conf.lo.use_tempaddr = -1
sysctl: reading key "net.ipv6.conf.sit0.stable_secret"
net.ipv6.conf.sit0.use_tempaddr = -1
sysctl: reading key "net.ipv6.conf.teql0.stable_secret"
net.ipv6.conf.teql0.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.tunl0.stable_secret"
net.ipv6.conf.tunl0.use_tempaddr = -1
[root@ipa4 ~]#
#### WORKING MACHINE ####
root@app1:~# sysctl -a | grep use_tempaddr
sysctl: reading key "net.ipv6.conf.all.stable_secret"
net.ipv6.conf.all.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.default.stable_secret"
net.ipv6.conf.default.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.dummy0.stable_secret"
net.ipv6.conf.dummy0.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.eth0.stable_secret"
net.ipv6.conf.eth0.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.gre0.stable_secret"
net.ipv6.conf.gre0.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.gretap0.stable_secret"
net.ipv6.conf.gretap0.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.ip6_vti0.stable_secret"
net.ipv6.conf.ip6_vti0.use_tempaddr = -1
sysctl: reading key "net.ipv6.conf.ip6gre0.stable_secret"
net.ipv6.conf.ip6gre0.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.ip6tnl0.stable_secret"
net.ipv6.conf.ip6tnl0.use_tempaddr = -1
sysctl: reading key "net.ipv6.conf.ip_vti0.stable_secret"
net.ipv6.conf.ip_vti0.use_tempaddr = -1
sysctl: reading key "net.ipv6.conf.lo.stable_secret"
net.ipv6.conf.lo.use_tempaddr = -1
sysctl: reading key "net.ipv6.conf.sit0.stable_secret"
net.ipv6.conf.sit0.use_tempaddr = -1
sysctl: reading key "net.ipv6.conf.teql0.stable_secret"
net.ipv6.conf.teql0.use_tempaddr = 0
sysctl: reading key "net.ipv6.conf.tunl0.stable_secret"
net.ipv6.conf.tunl0.use_tempaddr = -1
root@app1:~#
#### BROKEN MACHINE ####
[root@ipa4 ~]# ip -6 a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
inet6 2a01:7e00::7dc:9c42:36bb:93cf/64 scope global noprefixroute dynamic
valid_lft 2592000sec preferred_lft 604800sec
inet6 fe80::ddef:fb2c:6469:1d98/64 scope link
valid_lft forever preferred_lft forever
[root@ipa4 ~]# ip -6 r
2a01:7e00::/64 dev eth0 proto ra metric 100 pref medium
2a01:7e00::/64 dev eth0 proto kernel metric 256 pref medium
fe80::1 dev eth0 proto static metric 100 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
default via fe80::1 dev eth0 proto static metric 100 pref medium
[root@ipa4 ~]#
#### WORKING MACHINE ####
root@app1:~# ip -6 a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
inet6 2a01:7e00::f03c:91ff:fee7:ebd2/64 scope global mngtmpaddr dynamic
valid_lft 2591998sec preferred_lft 604798sec
inet6 fe80::f03c:91ff:fee7:ebd2/64 scope link
valid_lft forever preferred_lft forever
root@app1:~# ip -6 r
2a01:7e00::/64 dev eth0 proto kernel metric 256 expires 2591996sec pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
default via fe80::1 dev eth0 proto ra metric 1024 expires 11sec hoplimit 64 pref medium
root@app1:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment