Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ras113

macrumors regular
Original poster
Oct 23, 2017
118
13
Hello

I did search but did not find any other place then this to post my problems with router..

I got huawei B593s-22 4G router..it works ok but there is something that annoys me.

The problem is that LAN IP addresses changes for my pc/iphones/android/macbook/tv all the time..

Before with previous router if i connected to the WIFI with my mac my Ip was 192.168.1.102 allways!..but NOW it changes whole the time, sometimes like 192.168.7,9, 3..etc.. Even sometimes it obtains the same IP that some other device is allready using it and i get the warning on macbook "your ip 192.168.1.X is used by some other device" something like this..

How can i fix so after the device get IP from dhcp it will be the same IP all the time..?

if that is not possible then,

How do i configure in router or should i configure in the device for Static IP? what to fil into those getaway, nameserver..etc..?

that router supports both DHCP and static IP
 
Not familiar with that router, but most support DHCP Reservations. The idea is, the MAC address (looks something like: 01:23:45:67:89:ab) is mapped to an IP address in the router's DHCP configuration. When the host boots up, it sends a DHCP request from the MAC address to the network, and the DHCP server sees the reservation and responds with the same IP Address each time.

It is kind of a pain to get MAC address from many devices, and you generally don't care about having different IP for most devices. But, if the Mac has stuff that is shared with other devices (files for example), use reservations. To get MAC from a Mac, go to Network properties and click on the active interface (Wi-Fi, Ethernet, etc) and then Advanced. On the Hardware tab, you will see the MAC address. If you are CLI literate, open Terminal and type ifconfig and find the interface (this is tricky because there can be quite a few).

The DHCP properties on the router should also have a lease period. If you set that to a longer timeframe, say a week, then it won't assign that address to another host, even if the last host it was assigned to is offline, until after the lease expires. If this is set very low (10 minutes for example), and your device is offline for longer, it may just assign that address to another device. When devices boot up, they try to renew the last IP the DHCP server gave it, this may be the duplicates you see, and a longer lease setting might help.

If you have a mix of static and DHCP on your network and don't exclude the static IP from the DHCP range, the router may assign a new host the duplicate IP. If the router is assigning dups for DHCP clients, it is confused, poorly designed, or otherwise not a very good router to be using. You can try rebooting the router when this happens, and it might fix it, or if the router is flaky and reboots itself, it might be creating the confusion. Again, well designed routers should never mismanage DHCP.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.