just referred to http://www.cyberciti.biz/faq/redhat-centos-rhel-fedora-linux-add-multiple-ip-samenic/.
many thx !
How many IPv6 addresses Linux host gets is defined in the
/proc/sys/net/ipv6/conf/all/max_addresses
or
/proc/sys/net/ipv6/conf/<eth number>/max_addresses
all interfaces
# cat /proc/sys/net/ipv6/conf/all/max_addresses 16 |
per NIC interface
# cat /proc/sys/net/ipv6/conf/eth0/max_addresses 16 |
So you can control how many IPv6 addresses your Linux system gets by editing this value.
# tail -1 /etc/sysctl.conf net.ipv6.conf.all.max_addresses=1 |
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.