Community discussions

MikroTik App
 
Istrebitel
just joined
Topic Author
Posts: 1
Joined: Mon Dec 22, 2014 6:10 pm

DHCP Server does not work except on 192.168.88.1

Mon Dec 22, 2014 6:16 pm

I've changed my lan to 192.168.1.0/24, since I'm used to it from my last router. I have changed DHCP server accordingly.

Everything says I did it correctly:
- Accessing 192.168.1.1 shows me 192.168.1.100-192.168.1.254 as DHCP range in the right part of the screen
- Terminal's /ip dhcp-server print commands show that I have DHCP in 192.168.1.0 network and leasig 192.168.1.0 network addresses

However, it just won't work! In windows 7 when I check my connection status and then press details it says:
IPV4 DHCP Server: 192.168.88.1

Rebooting doesn't help either. It stays that way.

EDIT:

I am now more convinced that this is somehow related to the specific PC. The PC in question is connected via eth2. It's a typical windows 7 PC. I am sure it's free of malware/adware/viruses, and otherwise functions properly. However, when connected to the router, if "autodetect" is set in the adapter properties, it won't acquire an address from DHCP. It will get some autoconfigured random address with 255.255.0.0 submask. It will show increasing number of outgoing packets and zero incoming packets (Even though router shows both tx and rx on graphs for eth2). The router log only shows interface going up, but doesn't show DHCP assigning an address. If it was already assigned, it doesn't get used.

After several more reboots I have finally managed to get the correct DHCP Server address to show. However, problem remains (in the form described above).

Another pc - a notebook - connected via wlan (same OS, almost same software installed) works perfectly - it gets address from DHCP Server with no problem.

I am not sure now if the problem applies to the router itself anymore, maybe it's just some weirdness with my PC, but if you have any ideas in which direction should I go to solve this, I would be grateful.
 
gotsprings
Forum Guru
Forum Guru
Posts: 2310
Joined: Mon May 14, 2012 9:30 pm

Re: DHCP Server does not work except on 192.168.88.1

Tue Dec 23, 2014 1:14 pm

check
/ip address
/ip dhcp-server dhcp
/ip dhcp-server network
/ip pool
/ip dns (for good measure)

Confirm settings in all those sections.
Also in
/ip dhcp-server lease
DELETE anything with a 192.168.88.0/24 address.
 
User avatar
gabak
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Fri Sep 01, 2006 7:10 am

Re: DHCP Server does not work except on 192.168.88.1

Sat Dec 27, 2014 7:55 pm

here i made a full class about mikrotik, theory + practice i hope you find it useful
you will find how to set it up from scratch and basic concept.
https://www.youtube.com/watch?v=Gmoa2jhNuws


pd: in the middle of the video i show you how to setup the DHCP.

Who is online

Users browsing this forum: oatis and 37 guests