无法在这个位置找到: head2.htm
当前位置: 建站首页 > 新闻 > 公司新闻 >

云筏高新科技NAT股票大盘鸡升級了 完全免费二倍运行内存 另附官方网打开并获得IPv6详细地址

时间:2021-03-27 23:00来源:未知 作者:jianzhan 点击:
在2020年初,本网站共享了云筏高新科技KVM-NAT 1核500M运行内存200G电脑硬盘 1T总流量 可分享80端口号建网站 超低价无技术性服务的NAT股票大盘鸡 如今云筏官方网业务流程调节,已不售卖廉

在2020年初,本网站共享了云筏高新科技KVM-NAT 1核500M运行内存200G电脑硬盘 1T总流量 可分享80端口号建网站 超低价无技术性服务的NAT股票大盘鸡 如今云筏官方网业务流程调节,已不售卖廉价NAT商品,可是针对总量顾客会再次维护保养并维持续订价钱不会改变。有选购的小伙子伴都应当接到了短消息或电子邮件通告,必须自己去动工单拆换升級了,新开业的NAT股票大盘鸡有二倍的运行内存,此外IPv4端口号由五个变成20个,IPv6详细地址则必须自主开展配备;官方网站这会开的一些慢,网编早已配备好啦,随意共享下配备IPV6方法

CentOS7 打开IPv6作用

一些镜像系统是禁止使用了IPv6作用的,因而必须打开。最先查询一下是不是被和谐用了:


[[email protected] network-scripts]# sysctl -a | grep ipv6.*disable
sysctl: reading key "net.ipv6.conf.all.stable_secret"
net.ipv6.conf.all.disable_ipv6 = 1
sysctl: net.ipv6.conf.default.disable_ipv6 = 1
reading key "net.ipv6.conf.default.stable_secret"
sysctl: reading key "net.ipv6.conf.eth0.stable_secret"
net.ipv6.conf.eth0.disable_ipv6 = 1
sysctl: reading key "net.ipv6.conf.lo.stable_secret"
net.ipv6.conf.lo.disable_ipv6 = 1

disable=1表明被和谐用了,因而必须去改动,配备文档为/etc/sysctl.conf


#把ipv6 disable的主要参数都改成0,随后储存,轻载服务后起效 [[email protected] ~]# sysctl -pvm.swappiness = 0 net.ipv4.neigh.default.gc_stale_time = 120 net.ipv4.conf.all.rp_filter = 0 net.ipv4.conf.default.rp_filter = 0 net.ipv4.conf.default.arp_announce = 2 net.ipv4.conf.lo.arp_announce = 2 net.ipv4.conf.all.arp_announce = 2 net.ipv4.tcp_max_tw_buckets = 5000 net.ipv4.tcp_syncookies = 1 net.ipv4.tcp_max_syn_backlog = 1024 net.ipv4.tcp_synack_retries = 2 net.ipv6.conf.all.disable_ipv6 = 0 net.ipv6.conf.default.disable_ipv6 = 0 net.ipv6.conf.lo.disable_ipv6 = 0

 


[[email protected] network-scripts]# ip addr
1: lo: LOOPBACK,UP,LOWER_UP mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
 inet 127.0.0.1/8 scope host lo
 valid_lft forever preferred_lft forever
 inet6 ::1/128 scope host 
 valid_lft forever preferred_lft forever
2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc mq state UP group default qlen 1000
 link/ether 00:15:5d:1a:f7:05 brd ff:ff:ff:ff:ff:ff
 inet 172.16.2.7/12 brd 172.31.255.255 scope global eth0
 valid_lft forever preferred_lft forever
 inet6 2a01:4f8:212:1234:215:5dff:fe1a:f705/64 scope global mngtmpaddr dynamic 
 valid_lft 2591920sec preferred_lft 604720sec
 inet6 fe80::215:5dff:fe1a:f705/64 scope link 
 valid_lft forever preferred_lft forever

留意看eth0的网口中ipv6详细地址是不是被分派


[[email protected] network-scripts]# ping6 
PING (yw-in- (2607:f8b0:4002:c05::66)) 56 data bytes
64 bytes from yw-in- (2607:f8b0:4002:c05::66): icmp_seq=1 ttl=103 time=107 ms
64 bytes from yw-in- (2607:f8b0:4002:c05::66): icmp_seq=2 ttl=103 time=107 ms
---  ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 107.212/107.398/107.584/0.186 ms

 


[[email protected] network-scripts]# ip -6 route
2a01:4f8:212:1234::/64 dev eth0 proto kernel metric 256 expires 2591804sec pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
default via fe80::24b9:6e08:f5fd:b36f dev eth0 proto ra metric 1024 expires 1604sec pref medium

 


打开IPv6作用

一些镜像系统是禁止使用了IPv6作用的,因而必须打开。最先查询一下是不是被和谐用了:


[email protected]:~# sysctl -a | grep ipv6.*disable
sysctl: reading key "net.ipv6.conf.all.stable_secret"
net.ipv6.conf.all.disable_ipv6 = 1
sysctl: reading key "net.ipv6.conf.default.stable_secret"
net.ipv6.conf.default.disable_ipv6 = 1
sysctl: reading key "net.ipv6.conf.eth0.stable_secret"
net.ipv6.conf.eth0.disable_ipv6 = 1
sysctl: reading key "net.ipv6.conf.lo.stable_secret"
net.ipv6.conf.lo.disable_ipv6 = 1

disable=1表明被和谐用了,因而必须去改动,配备文档为/etc/sysctl.conf


#把ipv6 disable的主要参数都改成0,随后储存,轻载服务后起效 [email protected]:~# sysctl -p vm.swappiness = 0 net.ipv4.neigh.default.gc_stale_time = 120 net.ipv4.conf.all.rp_filter = 0 net.ipv4.conf.default.rp_filter = 0 net.ipv4.conf.default.arp_announce = 2 net.ipv4.conf.lo.arp_announce = 2 net.ipv4.conf.all.arp_announce = 2 net.ipv4.tcp_max_tw_buckets = 5000 net.ipv4.tcp_syncookies = 1 net.ipv4.tcp_max_syn_backlog = 1024 net.ipv4.tcp_synack_retries = 2 net.ipv6.conf.all.disable_ipv6 = 0 net.ipv6.conf.default.disable_ipv6 = 0 net.ipv6.conf.lo.disable_ipv6 = 0

设定网口,开启DHCP


# This file work interfaces available on your system
# and how to activate them. rmation, see interfaces(5).
source /work/interfaces.d/*
# work interface
auto lo
iface lo inet loopback
# work interface
auto eth0
iface eth0 inet static
address 172.16.2.X
netmask 255.240.0.0
gateway 172.16.2.1
iface eth0 inet6 dhcp

重新启动互联网,查验是不是一切正常


CentOS

改动/work-scripts/ifcfg-eth0,将DHCPV6C=yes删掉,并载入IPv6有关信息内容:

(责任编辑:admin)
织梦二维码生成器
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
无法在这个位置找到: ajaxfeedback.htm
栏目列表
推荐内容


扫描二维码分享到微信

在线咨询
联系电话

400-888-8866