У меня есть два сервера, подключенные как изображение, с которым я присоединил здесь. Я не могу проверить с помощью ping-запросов от server1 до server2. Но я могу проверить с помощью ping-запросов от server1 до R2 Eth1, и server2 может проверить с помощью ping-запросов R1 Eth1. Все другие маршрутизаторы могут проверить с помощью ping-запросов друг друга и к серверам. И никакое использование брандмауэра.
==========OS versions==========
Server1:ubuntu 12.04 LTSServer2:ubuntu 16.04 LTS
===========Routing tables of servers.===========
******Server1******
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.1 0.0.0.0 UG 100 0 0 eth0
10.10.0.0 * 255.255.255.0 U 0 0 0 eth0
10.10.10.10 192.168.1.1 255.255.255.255 UGH 0 0 0 eth0
(I add last route, but it only works for few times and again connection gone)
******Server2******
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.10.10.1 0.0.0.0 UG 0 0 0 eth1
10.10.10.0 * 255.255.255.0 U 0 0 0 eth1
========ICMP redirects.===========
******Server1******
sysctl -p
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.secure_redirects = 0
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv6.conf.lo.disable_ipv6 = 1
******Server2******
sysctl -p
net.ipv4.conf.all.accept_redirects = 0
net.ipv6.conf.all.accept_redirects = 0
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv6.conf.all.accept_source_route = 0
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1