Community discussions

MikroTik App
 
emptech
just joined
Topic Author
Posts: 8
Joined: Wed Aug 13, 2014 8:59 am

difficulty in changing the DHCP subnet

Fri Oct 03, 2014 9:17 am

I am trying to change the default network 192.168.88.1 to 192.168.1.1 and want to change the DHCP range from the default to 192.168.10 - 192.168.1.199.

I understand there are five items to change, using WinBox, I have changed the LAN IP address from 192.168.88.1 to 192.168.1.1. I have left the netmask as /24.

I have changed the IP Pool, IP, Pool, Clicked on Address Field, made changes to show my new range.

I have changed the network that the DHCP server uses, IP, DHCP Server, networks tab, double clicked on the address, I have changed the address, gateway, and dns servers to 192.168.1.1. Not sure if I put /24 after the address IP.

I assigned an IP to the interface running the DHCP server, IP, Addresses, double clicked on ether2, changed to 192.168.1.1.

Last, I checked the DNS entry for the router, IP, DNS, static, clicked on router address, and changed to 192.168.1.1, made no other changes.

After doing all this, I rebooted the router and all looked good so far, I could communicate with the rest of my network, storage devices, other computers, printers, etc.

However, all of a sudden, access to the internet got extremely slow. I am now getting all kinds of connection problems, e-mail, web browsing, etc. Everything on the internal network seems just fine.

I can't be without the e-mail and browser, so I have restored the system back to normal, internet access very fast, e-mail works fine, just can't see the rest of my network.

I'm used to the consumer-grade simple routers, never had to do all this stuff to perform what seems to be a simple function, what do I do next?

Thanks - Jim
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: difficulty in changing the DHCP subnet

Fri Oct 03, 2014 10:43 am

when you are changing ip network these are places to check:

/ip address - address itself and network
/ip address set <num> address=192.168.1.1/24 network=192.168.1.0
/ip pool
/ip pool set <pool num> ranges=192.168.1.2-192.168.1.254
/ip dhcp-server
/ip dhcp-server network set <num> address=192.168.1.0/24 gateway=192.168.1.1
here you also may like to change DNS server address if you are using router as dns resolver.


In your case specifically i think you still have ip address network set incorrectly
 
emptech
just joined
Topic Author
Posts: 8
Joined: Wed Aug 13, 2014 8:59 am

Re: difficulty in changing the DHCP subnet

Fri Oct 03, 2014 8:22 pm

I realize what I'm asking for is very basic and almost seems like a silly problem.
I also realize there are a number of ways to enter in settings. To use a graphical interface, I've been using WinBox, but is that the best way to perform the settings you have suggested, or is it better to do it via a command line interface, ie, terminal?

I've seen other posts that almost look like scripts, where a bunch of settings can be made all at once, not one at a time.

I will try to digest what you have suggested, thank you - Jim