1 |
|
1 |
|
1 |
|
1 | service xinetd restart |
1 |
|
关闭Linux防火墙:
1 | systemctl stop firewalld.service |
查看linux防火墙状态:
1 | firewall-cmd --state |
补充:打开linux防火墙1
systemctl start firewalld.service
打开目录 /etc/sysconfig/network-scripts/ifcfg-xxxx
编辑ifcfg-xxxx 修改内容为:
HWADDR=00:0c:29:44:8e:e7
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=enp2s0
UUID=5b0a7d76-1602-4e19-aee6-29f57618ca01
ONBOOT=yes
1.本机ip假设为: 10.12.129.189
2.查看所有arp缓存:1
arp -a
3.删除arp缓存:1
arp -d 10.12.129.189
1 |
|
查看echo服务是否开启:
1 | netstat -l | grep echo |
修改配置:
vim /etc/xinetd.d/echo-stream,把 disable = yes 改为 disable = no
重启xinetd服务:
1 | service xinetd restart |
再次查看echo服务是否开启:
1 | netstat -l | grep echo |
5 / 5