I have an ASUS Onhub and I use it as a dumb AP. It has 2 Ethernet ports, one is labeled as lan(eth1) and the other as wan(eth0) by openwrt by default.
The wan(eth0) is configured statically 192.168.0.251 and is connected to the main router which does DHCP
The lan(eth1) has a computer connected, the computer gets its IP via DHCP
Both ports are bridged br-lan. No VLAN is explicitly configured. The computer can talk to other devices and same for the Onhub but they can't talk to each other, PING and TCP do not work between these devices. The firewall is off (service firewall stop).
I tried adding a vlan but that did not help, I lose all connectivity to the both devices from a separate device (192.168.0.123).
This used to work with swconfig.
$ ubus call system board
{
"kernel": "6.6.73",
"hostname": "onhub",
"system": "ARMv7 Processor rev 0 (v7l)",
"model": "ASUS OnHub",
"board_name": "asus,onhub",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "24.10.0",
"revision": "r28427-6df0e3d02a",
"target": "ipq806x/chromium",
"description": "OpenWrt 24.10.0 r28427-6df0e3d02a",
"builddate": "1738624177"
}
}
$ cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fdfa:xxxx:xxxx::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'wan'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.0.251'
option netmask '255.255.255.0'
option gateway '192.168.0.254'
option dns '192.168.0.254'
$ ip address show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1502 qdisc mq state UP qlen 1000
link/ether xx:xx:xx:xx:xx:b4 brd ff:ff:ff:ff:ff:ff
inet6 fe80::xxxx:xxxx:xxxx:xxb4/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1502 qdisc mq state UP qlen 1000
link/ether xx:xx:xx:xx:xx:b5 brd ff:ff:ff:ff:ff:ff
inet6 fe80::xxxx:xxxx:xxxx:xxb5/64 scope link
valid_lft forever preferred_lft forever
4: lan1@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
link/ether xx:xx:xx:xx:xx:b5 brd ff:ff:ff:ff:ff:ff
5: wan@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
link/ether xx:xx:xx:xx:xx:b4 brd ff:ff:ff:ff:ff:ff
12: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
link/ether xx:xx:xx:xx:xx:b5 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.251/24 brd 192.168.0.255 scope global br-lan
valid_lft forever preferred_lft forever
inet6 fe80::xxxx:xxxx:xxxx:xxb5/64 scope link
valid_lft forever preferred_lft forever
13: phy0-ap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
link/ether xx:xx:xx:xx:xx:bc brd ff:ff:ff:ff:ff:ff
swconfig for /etc/config/network prior to upgrading
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
list ports 'eth0.2'
list ports 'eth1'
list ports 'eth1.1'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.0.251'
option netmask '255.255.255.0'
option ip6assign '60'
option gateway '192.168.0.254'
list dns '192.168.0.254'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '2 0t'
I also tried explicitly adding a vlan config but I lose connectivity to the onhub but can still reach the computer connected to it. This is the config I tried:
config device
option name 'br-lan'
option macaddr '2c:56:dc:de:16:b4'
option type 'bridge'
list ports 'lan1'
list ports 'wan'
config bridge-vlan
option device 'br-lan'
option vlan '1'
list ports 'lan1'
list ports 'wan'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.0.251'
option netmask '255.255.255.0'
option gateway '192.168.0.254'
option dns '192.168.0.254'
Any ideas ?