# Хост потерял доступ в локалку

**URL:** <https://linux.ru/forum/t/topic/10769>\
**Category:** Вопросы по серверам и сетям\
**Created:** [22.Апрель.2021 08:32:44 UTC](https://linux.ru/forum/t/topic/10769 "2021-04-22T08:32:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhenyatk](https://linux.ru/forum/letter_avatar_proxy/v4/letter/z/a183cd/32.png) [@zhenyatk](https://linux.ru/forum/u/zhenyatk)\
**Post date:** [22.Апрель.2021 08:32:44 UTC](https://linux.ru/forum/t/topic/10769/1 "2021-04-22T08:32:44Z")

</div>

Здравствуйте

Столкнулась со странным.&nbsp;

Есть шлюз на centos 7, с двумя физическими интерфейсами. На eth0 - два провайдера на разных vlan (eth0.50 и eth0.60), на eth1 - локалка и dmz на eth1.3

Настраивала правила маршрутизации iproute2 для двух провайдеров и в какой то момент обнаружила, что локальная сетка перестала быть доступной со шлюза. Сам шлюз из локалки доступен, пингуется и управляется, а вот с него ни один хост в локалке не виден.  
В iptables в цепочке OUTPUT простые правила:  
&nbsp;

```
-A OUTPUT -o lo -j ACCEPT -A OUTPUT -p icmp -j ACCEPT -A OUTPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A OUTPUT -p udp -m udp --dport 53 -m conntrack --ctstate NEW -j ACCEPT -A OUTPUT -p tcp -m tcp --dport 53 -m conntrack --ctstate NEW -j ACCEPT -A OUTPUT -m owner --uid-owner 0 -m conntrack --ctstate NEW -j ACCEPT -A OUTPUT -j REJECT --reject-with icmp-port-unreachable

```

route:

```
Kernel IP routing table Destination &nbsp; &nbsp; Gateway &nbsp; &nbsp; &nbsp; &nbsp; Genmask &nbsp; &nbsp; &nbsp; &nbsp; Flags Metric Ref &nbsp; &nbsp;Use Iface default &nbsp; &nbsp; &nbsp; &nbsp; gateway &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; UG &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp;0 eth0.60 x.x.x.x &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 255.255.255.224 U &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp;0 eth0.60 y.y.y.y &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 255.255.255.248 U &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp;0 eth0.50 link-local &nbsp; &nbsp; &nbsp;0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 255.255.0.0 &nbsp; &nbsp; U &nbsp; &nbsp; 1003 &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp;0 eth1 link-local &nbsp; &nbsp; &nbsp;0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 255.255.0.0 &nbsp; &nbsp; U &nbsp; &nbsp; 1004 &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp;0 eth0.50 link-local &nbsp; &nbsp; &nbsp;0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 255.255.0.0 &nbsp; &nbsp; U &nbsp; &nbsp; 1005 &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp;0 eth0.60 link-local &nbsp; &nbsp; &nbsp;0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 255.255.0.0 &nbsp; &nbsp; U &nbsp; &nbsp; 1006 &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp;0 eth1.3 z.z.z.z &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 255.255.255.0 &nbsp; U &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp;0 eth1.3 192.168.252.0 &nbsp; 0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 255.255.252.0 &nbsp; U &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp;0 eth1

```

Вроде нет никаких запретов на ping со шлюза в локалку - но шлюз не пингует ни один хост в локалке. Повторяюсь из локалки шлюз прекрасно пингуется и управляется…

Вот что не так?
