-
-
Save hazelesque/9c68ad48774949703a7dafa5b6b373b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ipa4 ~]# sysctl -a | grep accept_ra | perl -ne 'print if /eth0/ or /all/ or /default/' | |
sysctl: reading key "net.ipv6.conf.all.stable_secret" | |
sysctl: reading key "net.ipv6.conf.default.stable_secret" | |
sysctl: reading key "net.ipv6.conf.dummy0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.eth0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.gre0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.gretap0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.ip6_vti0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.ip6gre0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.ip6tnl0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.ip_vti0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.lo.stable_secret" | |
sysctl: reading key "net.ipv6.conf.sit0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.teql0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.tunl0.stable_secret" | |
net.ipv6.conf.all.accept_ra = 1 | |
net.ipv6.conf.all.accept_ra_defrtr = 1 | |
net.ipv6.conf.all.accept_ra_from_local = 0 | |
net.ipv6.conf.all.accept_ra_min_hop_limit = 1 | |
net.ipv6.conf.all.accept_ra_mtu = 1 | |
net.ipv6.conf.all.accept_ra_pinfo = 1 | |
net.ipv6.conf.all.accept_ra_rtr_pref = 1 | |
net.ipv6.conf.default.accept_ra = 1 | |
net.ipv6.conf.default.accept_ra_defrtr = 1 | |
net.ipv6.conf.default.accept_ra_from_local = 0 | |
net.ipv6.conf.default.accept_ra_min_hop_limit = 1 | |
net.ipv6.conf.default.accept_ra_mtu = 1 | |
net.ipv6.conf.default.accept_ra_pinfo = 1 | |
net.ipv6.conf.default.accept_ra_rtr_pref = 1 | |
net.ipv6.conf.eth0.accept_ra = 1 | |
net.ipv6.conf.eth0.accept_ra_defrtr = 0 | |
net.ipv6.conf.eth0.accept_ra_from_local = 0 | |
net.ipv6.conf.eth0.accept_ra_min_hop_limit = 1 | |
net.ipv6.conf.eth0.accept_ra_mtu = 1 | |
net.ipv6.conf.eth0.accept_ra_pinfo = 0 | |
net.ipv6.conf.eth0.accept_ra_rtr_pref = 0 | |
[root@ipa4 ~]# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@app1:~# sysctl -a | grep accept_ra | perl -ne 'print if /eth0/ or /all/ or /default/' | |
sysctl: reading key "net.ipv6.conf.all.stable_secret" | |
sysctl: reading key "net.ipv6.conf.default.stable_secret" | |
sysctl: reading key "net.ipv6.conf.dummy0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.eth0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.gre0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.gretap0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.ip6_vti0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.ip6gre0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.ip6tnl0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.ip_vti0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.lo.stable_secret" | |
sysctl: reading key "net.ipv6.conf.sit0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.teql0.stable_secret" | |
sysctl: reading key "net.ipv6.conf.tunl0.stable_secret" | |
net.ipv6.conf.all.accept_ra = 1 | |
net.ipv6.conf.all.accept_ra_defrtr = 1 | |
net.ipv6.conf.all.accept_ra_from_local = 0 | |
net.ipv6.conf.all.accept_ra_min_hop_limit = 1 | |
net.ipv6.conf.all.accept_ra_mtu = 1 | |
net.ipv6.conf.all.accept_ra_pinfo = 1 | |
net.ipv6.conf.all.accept_ra_rtr_pref = 1 | |
net.ipv6.conf.default.accept_ra = 1 | |
net.ipv6.conf.default.accept_ra_defrtr = 1 | |
net.ipv6.conf.default.accept_ra_from_local = 0 | |
net.ipv6.conf.default.accept_ra_min_hop_limit = 1 | |
net.ipv6.conf.default.accept_ra_mtu = 1 | |
net.ipv6.conf.default.accept_ra_pinfo = 1 | |
net.ipv6.conf.default.accept_ra_rtr_pref = 1 | |
net.ipv6.conf.eth0.accept_ra = 2 | |
net.ipv6.conf.eth0.accept_ra_defrtr = 1 | |
net.ipv6.conf.eth0.accept_ra_from_local = 0 | |
net.ipv6.conf.eth0.accept_ra_min_hop_limit = 1 | |
net.ipv6.conf.eth0.accept_ra_mtu = 1 | |
net.ipv6.conf.eth0.accept_ra_pinfo = 1 | |
net.ipv6.conf.eth0.accept_ra_rtr_pref = 1 | |
root@app1:~# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment