I have OpenWrt running on a Raspberry Pi 4B, connected to the ISP.
Tried to attach a Zyxel EX3301-T0 WiFi-router via Ethernet cable to the Pi.
The Zyxel indicates problems, though. Its red light is ON, and I can't
route packets through the Zyxel.
The IP address of the inner interface of the Pi is 192.168.2.1.
There is an entry for the routing in the Pi:
config route 'route_zyxel'
option interface 'lan'
option target '192.168.1.0'
option netmask '255.255.255.0'
option gateway '192.168.2.200'
And an entry in the file /etc/config/dhcp:
# Zyxel
config host
option dns '1'
option mac 'fc:22:f4:76:bb:03'
option ip '192.168.2.200'
The IP address of the inner interface (i e not the WAN interface) of the Zyxel router is defined to 192.168.1.1.
I started tcpdump in the Pi, and powered the Zyxel up, which gave the following packets.
(I'm excluding IPv6 packets since I'm only interested in IPv4.)
Is this log enough to tell how the problem could be solved?
14:52:25.464568 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from fc:22:f4:76:bb:03 (oui Unknown), length 548
14:52:25.465477 IP Y.lan.67 > 192.168.2.200.68: BOOTP/DHCP, Reply, length 300
14:52:25.544886 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from fc:22:f4:76:bb:03 (oui Unknown), length 548
14:52:25.546137 IP Y.lan.67 > 192.168.2.200.68: BOOTP/DHCP, Reply, length 300
14:52:30.570484 ARP, Request who-has 192.168.2.200 tell Y.lan, length 28
14:52:31.610450 ARP, Request who-has 192.168.2.200 tell Y.lan, length 28
14:52:32.650445 ARP, Request who-has 192.168.2.200 tell Y.lan, length 28
14:52:34.213805 ARP, Request who-has 192.168.1.1 tell 192.168.1.1, length 46
14:52:34.392958 IP 0.0.0.0 > all-systems.mcast.net: igmp query v2
14:52:34.653931 ARP, Request who-has Y.lan tell Y.lan, length 46
14:52:34.953084 ARP, Request who-has Y.lan tell Y.lan, length 46
14:52:35.922909 IP 0.0.0.0 > all-systems.mcast.net: igmp query v2
14:52:36.612884 IP 0.0.0.0 > all-systems.mcast.net: igmp query v2
14:52:37.602851 IP 0.0.0.0 > all-systems.mcast.net: igmp query v2
14:52:37.892995 IP Y.lan > 239.255.255.250: igmp v2 report 239.255.255.250
14:52:38.212900 IP 0.0.0.0 > all-systems.mcast.net: igmp query v2
14:52:47.442778 IP Y.lan > 239.255.255.250: igmp v2 report 239.255.255.250
14:52:50.153334 ARP, Request who-has Y.lan tell Y.lan, length 46
14:52:53.161425 IP Y.lan > all-routers.mcast.net: igmp leave 239.255.255.250
14:52:54.462644 IP 0.0.0.0 > all-systems.mcast.net: igmp query v2
14:52:54.562945 IP 192.168.2.200 > igmp.mcast.net: igmp v3 report, 1 group record(s)
14:52:54.952695 IP 192.168.2.200 > igmp.mcast.net: igmp v3 report, 1 group record(s)
14:53:01.313452 ARP, Request who-has 192.168.1.1 tell 192.168.1.1, length 46
14:53:02.033208 ARP, Request who-has Y.lan tell Y.lan, length 46
14:53:02.343722 ARP, Request who-has Y.lan tell Y.lan, length 46
14:53:03.172619 IP 192.168.2.200 > igmp.mcast.net: igmp v3 report, 1 group record(s)
14:53:03.552517 IP 0.0.0.0 > all-systems.mcast.net: igmp query v2
14:53:03.602543 IP 192.168.2.200 > igmp.mcast.net: igmp v3 report, 1 group record(s)
14:53:03.643585 IP 192.168.2.200 > igmp.mcast.net: igmp v3 report, 1 group record(s)
14:53:04.022469 IP 0.0.0.0 > all-systems.mcast.net: igmp query v2
14:53:04.332781 IP 192.168.2.200 > igmp.mcast.net: igmp v3 report, 1 group record(s)
14:53:08.838066 IP Y.lan.50905 > 239.255.255.250.1900: UDP, length 172
14:53:08.838467 IP Y.lan.52456 > 239.255.255.250.1900: UDP, length 244
etc and many more port 1900-packets from Y.lan...
14:53:08.962538 IP Y.lan > 239.255.255.250: igmp v2 report 239.255.255.250
Y.lan is the Raspberry Pi.