0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

nftablesのルール確認をしないとめんどうになる..

0
Posted at

環境

ルータ1

hostname: frr-edge-r1
eth0: WAN DHCP
eth1: 192.168.210.2
eth2: 192.168.254.1

ルータ2

hostname: frr-core-r1
eth0: 192.168.210.1

eth1: 192.168.200.1
eth2: 192.168.215.1

ホスト1

hostname: ansible
eth0: 192.168.254.15

ルータ3

hostname: id1028-pve01-frr-client1net-r1
eth0: 192.168.200.12

経路図

ホスト1 - ルータ1 - ルータ2 - ルータ3
ルータ同士はOSPFエリア0ネイバー関係にある。

状況

ホスト1からルータ3へICMP応答確認がとれない
このホストにIPが割り当てられていてGWが正しく向けれているか確認後、
GWへICMP応答確認を試した。応答が得られたため、GWまでの問題ではないことを確認。
同一L2ネットワークの端末からも検証
192.168.254.0/27の端末からとれないことを確認。

応答確認

ルータ1からルータ2まで応答確認がとれた
ルータ1からルータ3まで応答確認がとれない
ルータ2からルータ3まで応答確認がとれない

ルータ3

user01@ルータ3:~$ sudo tcpdump icmp
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
10:01:16.909725 IP 192.168.210.2 > ルータ3.home.arpa: ICMP echo request, id 35860, seq 177, length 64
10:01:17.933710 IP 192.168.210.2 > ルータ3.home.arpa: ICMP echo request, id 35860, seq 178, length 64
10:01:18.957675 IP 192.168.210.2 > ルータ3.home.arpa: ICMP echo request, id 35860, seq 179, length 64

この結果からICMPは届いてることを確認した。
ルータ3のFWを疑いnftablesを無効に。
検証の端末すべてから疎通確認がとれた。

nftablesのルールが問題だった

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?