LINUX.ORG.RU

Сообщения h14min94

 

Проблема с маршрутизацией Linux

схема http://pikbox.ru/view.php?filename=20150115164345476Drawing1.jpg

CentOS release 6.5 sysctl.conf

net.ipv4.ip_forward = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
net.ipv4.tcp_timestamps = 0

ip route show

10.0.13.12/30 via 10.0.13.209 dev eth3
10.0.13.204/30 via 10.0.13.209 dev eth3
10.0.13.8/30 via 10.0.13.209 dev eth3
10.0.13.192/30 via 10.0.13.209 dev eth3
10.0.13.0/30 via 10.0.13.209 dev eth3
10.0.13.152/30 via 10.0.13.209 dev eth3
10.0.13.216/30 via 10.0.13.209 dev eth3
10.0.13.24/30 via 10.0.13.209 dev eth3
10.0.13.156/30 via 10.0.13.209 dev eth3
10.0.13.208/30 dev eth3  proto kernel  scope link  src 10.0.13.210
10.0.13.16/30 via 10.0.13.209 dev eth3
10.0.13.212/30 via 10.0.13.209 dev eth3
10.0.13.168/30 via 10.0.13.209 dev eth3
10.0.13.44/30 via 10.0.13.209 dev eth3
10.0.13.40/30 via 10.0.13.209 dev eth3
10.0.13.160/30 via 10.0.13.209 dev eth3
10.0.13.32/30 via 10.0.13.209 dev eth3
10.0.13.164/30 via 10.0.13.209 dev eth3
10.0.13.48/30 via 10.0.13.209 dev eth3
10.0.13.180/30 via 10.0.13.209 dev eth3

tcpdump host 192.168.0.15 16:57:19.776430 IP 192.168.0.15 > 10.0.13.166: ICMP echo request, id 1, seq 3605, length 40 ответа нет.

вопрос: чтобы увидеть c 0.15(win pc) хоп x.x.x.166, нужно route add x.x.x.164 mask 255.255.255.252 192.168.0.2(win server) должен видеть с 0.15 через 192.168.0.1 (Linux gateway) - так ничего не вижу.

не могу понять в чем дело.

 

h14min94
()

RSS подписка на новые темы