I have my ISP router connected to an openwrt router by wire. When I plug a device into the openwrt routers wired port, I can only access the device when I am connected to the openwrt router as well, but not when I am connected to my ISPs router. This only applies to the wired ports, for wifi all works fine.
Also, the devices connected to the openwrt lan ports do not get DHCP from my ISP router. I feel like the lan ports are on their own WAN network, if that makes sense.
This wasn't always the case, in the beginning when I installed openwrt it all worked fine.
I have no clue what to check or what to look for to figure out what is wrong. Can someone give some hints?
Some things I checked:
root@openwrt:~# ip link | egrep '^[0-9]'
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br-lan state UP qlen 1000
6: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
7: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP qlen 1000
root@openwrt:~# brctl show
bridge name bridge id STP enabled interfaces
br-lan 7fff.880355e82479 no eth0
wlan0
root@openwrt:~# cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix '***********'
config interface 'lan'
option force_link '1'
option type 'bridge'
option proto 'dhcp'
option ip6assign '60'
option macaddr '*************'
option _orig_ifname 'eth0 wlan0'
option _orig_bridge 'true'
option ifname 'eth0 eth1'
config atm-bridge 'atm'
option vpi '1'
option vci '32'
option encaps 'llc'
option payload 'bridged'
option nameprefix 'dsl'
config vdsl 'dsl'
option annex 'a'
option firmware '/lib/firmware/vdsl.bin'
option tone 'av'
option xfer_mode 'ptm'
root@openwrt:~# ifconfig -a
br-lan Link encap:Ethernet HWaddr *****************
inet addr:192.168.2.14 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr:******************** Scope:Link
inet6 addr: *************************** Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:55819 errors:0 dropped:2827 overruns:0 frame:0
TX packets:19864 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7760142 (7.4 MiB) TX bytes:9220407 (8.7 MiB)
eth0 Link encap:Ethernet HWaddr *****************
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:61099 errors:0 dropped:1 overruns:0 frame:0
TX packets:26543 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9656904 (9.2 MiB) TX bytes:10774167 (10.2 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:656 (656.0 B) TX bytes:656 (656.0 B)
wlan0 Link encap:Ethernet HWaddr ********************
inet6 addr: ************** Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4872 errors:0 dropped:0 overruns:0 frame:0
TX packets:43117 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:479178 (467.9 KiB) TX bytes:7103012 (6.7 MiB)
root@openwrt:~# swconfig dev eth0 show
Global attributes:
enable_vlan: 1
Port 0:
uvr: 0
vsr: 0
vinr: 0
tvm: 0
pvid: 0
link: port:0 link:up speed:100baseT full-duplex auto
Port 1:
uvr: 0
vsr: 0
vinr: 0
tvm: 0
pvid: 0
link: port:1 link:up speed:100baseT full-duplex auto
Port 2:
uvr: 0
vsr: 0
vinr: 0
tvm: 0
pvid: 0
link: port:2 link:down
Port 3:
uvr: 0
vsr: 0
vinr: 0
tvm: 0
pvid: 0
link: port:3 link:down
Port 4:
uvr: 0
vsr: 0
vinr: 0
tvm: 0
pvid: 0
link: port:4 link:up speed:100baseT full-duplex auto
Port 5:
uvr: 0
vsr: 0
vinr: 0
tvm: 0
pvid: 0
link: port:5 link:down
Port 6:
uvr: 0
vsr: 0
vinr: 0
tvm: 0
pvid: 0
link: port:6 link:up speed:1000baseT full-duplex auto