Skip to content

Instantly share code, notes, and snippets.

View canerd7u's full-sized avatar
🍋
Here we go again

canerd7u

🍋
Here we go again
View GitHub Profile
@canerd7u
canerd7u / install-ndppd-active-ipv6-subnet.sh
Created July 23, 2022 14:36 — forked from kenshin17/install-ndppd-active-ipv6-subnet.sh
Script install NDP Proxy Daemon, active full subnet ipv6.
#!/bin/bash
# Author: kenshin17
# OS: Centos 7
# Description: Script install NDP Proxy Daemon, active full subnet ipv6.
IPv6SUBNET="xxxx:xxxx:xxxx:xxxx::/64"
echo "######################## CONFIG SYSCTL #########################"
echo "net.ipv6.conf.all.accept_ra = 2" >> /etc/sysctl.conf
echo "net.ipv6.conf.eth0.accept_ra = 2" >> /etc/sysctl.conf