How I have to configure my DHCP?

Hi there

I've a WR841N and want get internet by wwan for my personal LAN/WLAN.

I configure my router by this manual Link

The internet spending LAN got a IP 100.xx.xxx.xxx
My LAN got the IP 192.168.1.1

After the first start I get the message udhcpc: sending renew to 192.0.2.1.

So I change the LAN and WAN IP to
IP 192.0.2.1
Netmask 255.255.255.0
Gateway: (IP of the WWAN DHCP Client)
DNS: IP which is given by WWAN spending WLAN

but I still get this message but a bit different.

Tue Jul 28 11:21:47 2020 daemon.notice netifd: wwan (1493): udhcpc: sending renew to 192.0.2.1
Tue Jul 28 11:21:47 2020 daemon.info dnsmasq-dhcp[1424]: DHCPREQUEST(br-lan) 100.75.218.132 60:e3:27:e7:37:5a
Tue Jul 28 11:21:47 2020 daemon.info dnsmasq-dhcp[1424]: DHCPNAK(br-lan) 100.xx.xxx.xxx xx:e3:27:e7:37:5a wrong network
Tue Jul 28 11:23:39 2020 daemon.notice netifd: wwan (1493): udhcpc: sending renew to 192.0.2.1
Tue Jul 28 11:23:39 2020 daemon.info dnsmasq-dhcp[1424]: DHCPREQUEST(br-lan) 100.xx.xxx.xxx xx:e3:27:e7:37:5a
Tue Jul 28 11:23:39 2020 daemon.info dnsmasq-dhcp[1424]: DHCPNAK(br-lan) 100.xx.xxx.xxx xx:e3:27:e7:37:5a wrong network
Tue Jul 28 11:24:35 2020 daemon.notice netifd: wwan (1493): udhcpc: sending renew to 0.0.0.0
Tue Jul 28 11:24:35 2020 daemon.notice netifd: wwan (1493): udhcpc: lease of 100.xx.xxx.xx obtained, lease time 900

So what did I do wrong?

Just follow the guide. This is a routine message.

Ok... I've already read that...
But I though maybe I've a problem with DHCP.

I try to discripe my problem.
The internet spending wlan isn't the best but when I'm directly conntect it my internet connection is much stable than the connection by router.
If I do the ping www.google.com -t order I lost not more than 5% of pings.
When I do the same when I connect to my router, I lost roundabout 10% pings.

So how I can check if my configuration is correct?

If your configuration was wrong you'd have 100% packet loss.
The packet loss you experience could be because of bad wireless connectivity, channel congestion, noisy environment. You can try to ping the ISP gateway to rule out a bad uplink from your provider to the internet.

Ok... it seems that the giving WLAN is wreck...

Thank you guys

1 Like

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.