SuperNode配置:

 
svn co https://svn.ntop.org/svn/ntop/trunk/n2ncd n2n/n2n_v1makemake PREFIX=/opt/n2n installcd /etc/init.d/wget http://svn.ichiayi.com/opensvn/opentrysoft/trysrvtool/n2n***dchmod a+x n2n***dchkconfig --add n2n***dcd /etcwget http://svn.ichiayi.com/opensvn/opentrysoft/trysrvtool/n2n***d.confvi n2n***d.conf# General configuration# n2n IP Address# DHCP Client Enable -> on; Disable -> offn2n_DHCP='off'# If DHCP enabled the below IP will be ignored.n2n_IP='10.9.9.1'# n2n community name    n2n_cname='n2nrdtest04'  //组名# Encryption key (ASCII)n2n_pass='n2nrdtest04' //密码# Supermode Host:# IP:PortSNODE_Host='140.92.143.17:7654' //SUPER NDOE监听IP:PORT# Supernode Mode: Enable -> on; Disable -> offSNODE='on'SNODE_PORT='7654'# Log fileLOGS='/var/log/n2n***d.log' //日志文件路径service n2n***d start   启动服务

NODE设置:

svn co https://svn.ntop.org/svn/ntop/trunk/n2ncd n2n/n2n_v1makemake PREFIX=/opt/n2n installcd /etc/init.d/wget http://svn.ichiayi.com/opensvn/opentrysoft/trysrvtool/n2n***dchmod a+x n2n***dchkconfig --add n2n***dcd /etcwget http://svn.ichiayi.com/opensvn/opentrysoft/trysrvtool/n2n***d.confvi n2n***d.conf# General configuration# n2n IP Address# DHCP Client Enable -> on; Disable -> offn2n_DHCP='off'# If DHCP enabled the below IP will be ignored.n2n_IP='10.9.9.2'         //指定的私有IP# n2n community namen2n_cname='n2nrdtest04'   //组名# Encryption key (ASCII)n2n_pass='n2nrdtest04'    //密码# Supermode Host:# IP:PortSNODE_Host='140.92.143.17:7654' 指定用于连接SUPER NODE的IP和端口# Supernode Mode: Enable -> on; Disable -> offSNODE='off'SNODE_PORT='7654'# Log fileLOGS='/var/log/n2n***d.log'service n2n***d start