I am using two FritzBoxes in my network. The first is the one that is connected to "the internet" (ppoe). This should not do anything but forward the requests to the second box on which OpenWRT is installed.
On the OpenWRT router I have setup the LAN interface (eth0) with static IP 192.178.200.1 and enabled DHCP. In addition, I setup the WAN interface (eth1) with static IP 192.178.50.5.
While the computer gets a matching IP address on connection to the OpenWRT router (192.178.200.201) I cannot access any sites. I am wondering if the DNS setting is missing. To what IP should the DNS setting point to?
I tried to create a IPv4 route on the FritzBox (ppoe) assigning the LAN range of my internal network to the WAN address of the OpenWRT router (192.178.200.0 => 192.178.50.5 with subnet mask 255.255.255.0) but the FritzBox rejects saving with "Route not allowed".
static IP means you have to input DNS IPs yourself.
1/ which ever , Google's 8.8.8.8
2/ you either have to connect the 2nd router as dumb AP, or if connecting it as router, make sure the lan subnets differ between the two devices, and connect WAN->LAN.
I added 8.8.8.8 as "Use custom DNS servers" address to the LAN interface but still, no connection to any site
I already attached the WAN port of the OpenWRT to the LAN port of the FritzBox. Should the IPv4 route maintained in the FritzBox notpoint to the IP address with which the OpenWRT router is known to it? In the network tab of the FritzBox I do see the OpenWRT router with an IP adress of the DHCP server range. Should I use that IP for the route?
Ah, I did not know how to switch to that mode but now I found it. Protocol of WAN interface is now "DHCP Client". Still no connection but traceroute now displays:
LAN: 192.168.200.1/24
WAN: 192.168.178.70/24 (this is also the IP shown up in the FritzBox's connected devices list, so connection between both routers does exist)
OK, I performed the reset. Afterwards, the connection to the internet was possible.
But to get hints on the issues I had so far: There are now three interface entries that have been created automatically:
LAN (br-lan) 192.168.1.1/24
WAN (eth1) IPv4 only 192.168.178.70/24
WAN6 (eth1) IPv6 only
It seems as if I have selected the incorrect type of the LAN interface, right?