Help setting up a simply home network - OpenWrt One

Good evening,

I am a complete novice when it comes to OpenWrt. I have been using Linux for many years and am a big fan of free software, but I have never studied computer science. I am trying to build my home network in the following way:

  1. my ISP's modem/router
  2. OpenWrt One
  3. switch
  4. 2 personal computers

I have read the documentation but I can't get anything to work.
I want to use my modem/router only as a modem, using the router function of the OpenWrt One.

Modem: I disabled Wi-Fi and DHCP and set a static IP for the devices connected to the LAN1 port: 192.168.168.2, and I connected the LAN1 port to the 2.5G port of the One

Openwrt One: I set the 2.5G port to static IP with address 192.168.168.2

When I connect a PC to the One's 1G port, I cannot access the internet.
Can anyone help me, please?

Thank you.

It sounds like you set the same address/subnet on the wan and lan. That won’t work.

Is your upstream device in router mode or bridge mode? Does your isp require dhcp, PPPoE, or static ip for making a connection?

1 Like

Also what type of Internet service? Cable, fiber, 5G, DSL, etc?

Thank you for your replies. My ISP is Tim, Italy. I have an FTTC connection with the last part in copper, so it should be DSL. The modem/router is a Tim-branded ZTE H2740. Unfortunately, there are no detailed documents on how to set up bridge mode. I asked the ISP and was told to do the following: disable DHCP, WiFi, and set a static IP for the LAN to assign to my router. I know this is not bridge mode, but it should work... According to them.

Perhaps this is the problem:
I have not set up different subnets and addresses for LAN and WAN. Could you please suggest some beginner tutorials on how to do this in OpenWRT?

I hope I have provided sufficient information. Thank you!

This is not the same as bridge mode, and largely unnecessary.

If you’re not able to set bridge mode, simply turning off WiFi on the isp router is sufficient. Leave dhcp enabled on the isp device.

Then reset your Openwrt router to defaults. It should “just work” (aside from WiFi that is disabled by default), unless the isp router uses 192.168.1.0/24 as its subnet. If that is the case, you just change openwrt to use something else - you would change the router address to something like 192.168.32.1.
That is all that should be needed.

1 Like

Thank you for your answer.
I really liked my ISP's response about disabling DHCP, and here's why. I would prefer to avoid leaving DHCP enabled on my ISP's modem because I have a very tech-savvy youngster at home. I'm sure that within a few weeks, he would want to try connecting a temporary cable from the modem to his computer, just to see if I had left DHCP enabled. And thus bypass the parental controls I intend to install on the router.

It is important that all machines connected to the internet have a single, well-controlled route to the network.

Thanks again!

Ok. But you must first be sure to know the address of the router itself as well as the subnet mask in order to set a static ip on your openwrt router.

If you have a tech savvy kid, the dhcp server being disabled is not going to block them for very long.

Thank you, could this address be correct? See image.

The boy at my house might be very good at bypassing static IP, but I don't think he could do it without leaving traces. He would have to reset the modem to bypass the access password. Before that happens, there are educational and dialogue topics that I intend to pursue. Thank you again.

What is the address of the modem on its lan side?

This is the right question: I now understand the important point of my ignorance. I understand that I don't know “how to tell the modem to only talk to the router”. The attached screenshot shows the standard settings for my modem. I don't know which of these parameters is the correct one to answer your question; is the answer here? Thank you.

This seems to indicate that the modem’s address is 192.168.1.1 and that there is also a guest network (?) at 192.168.168.1.

Change your openwrt lan address to 192.168.7.1 (as an example).

Your wan address can be 192.168.1.2 with subnet mask 255.255.255.0.

The gateway and dns also need to be specified. 192.168.1.1 will work for both of those.

1 Like

Thank you very much, I will try it in the next few days and let you know.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.