Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

Enterprise Networking Mikrotik Routers (RouterBoard & RouterOS), User and owner discussion group

views
     
seng87
post Aug 6 2014, 11:52 AM

From BolehLand
*****
Senior Member
891 posts

Joined: Jul 2007
From: Klang



Hi guys, just bought my MikroTik RB2011UiAS-RM router yesterday as I'm switching from PFSense to MikroTik for cost issue. As I am trying to change the DHCP IP from 192.168.88.1/24 to 192.168.1.1/23 and the IP my client get from the router is 192.168.1.X with subnet mask 255.255.255.255. Any idea what is wrong here?
seng87
post Aug 6 2014, 12:15 PM

From BolehLand
*****
Senior Member
891 posts

Joined: Jul 2007
From: Klang



QUOTE(amirsubhi @ Aug 6 2014, 12:05 PM)
Have you check the Pool
*
Yerp. All set to the same IP. I can get the leased is just that the subnet mask is weird 255.255.255.255.
seng87
post Aug 6 2014, 12:26 PM

From BolehLand
*****
Senior Member
891 posts

Joined: Jul 2007
From: Klang



QUOTE(amirsubhi @ Aug 6 2014, 12:19 PM)
Can share output from

/ip dhcp-server print
/ip dhcp-server network print
/ip pool print
*
will do later. was not at home plus its a new Unifi installation. thx in advance.
seng87
post Aug 7 2014, 06:53 PM

From BolehLand
*****
Senior Member
891 posts

Joined: Jul 2007
From: Klang



Hi guys, encounter a weird problem. When I set my address to 192.168.1.0/23 the network automatically changed to 192.168.0.0. wonder why is this happening. And what is the default bridge-local do? Really new to mikrotik. Thanks in advance
seng87
post Aug 12 2014, 11:39 PM

From BolehLand
*****
Senior Member
891 posts

Joined: Jul 2007
From: Klang



QUOTE(soonwai @ Aug 9 2014, 03:37 PM)
What are you trying to achieve actually?

It's correct, for 192.168.0.0/23 network, address range is 192.168.0.1 - 192.168.1.254.

Don't remember exactly what the defaults are but bridge-local is typically used to bridge the 2 switches and the wlan on the RB2011UaS-2HnD. That's how mine is configured (everything is on the same network). Except ether1 which is my wan port and ether10 is for iptv.
*
Noted your reply. But the problem is when I enter 192.168.1.0/23 network, address should be 192.168.1.1-192.168.1.254. But the mikrotik router automatically put it as 192.168.0.1 for the network. This is not a logical addressing schema. Btw I've entered Google DNS server but when my client connects to the network I will get TM DNS. It appears in the DNS as Dynamic DNS.
Attached Image
seng87
post Aug 14 2014, 10:10 AM

From BolehLand
*****
Senior Member
891 posts

Joined: Jul 2007
From: Klang



QUOTE(soonwai @ Aug 13 2014, 12:21 AM)
192.168.1.0/23 is an IP address not a network. The network for 192.168.1.0/23 is 192.168.0.0/23, range is 192.168.0.1-192.168.1.254 (which includes 192.168.0.255 and 192.168.1.0).

If you want 192.168.1.1-192.168.1.254, the correct network is 192.168.1.0/24.

For DNS, just set use-peer-dns=no for your pppoe-client and it won't use TM's DNS.
*
Sorry... I was wanting to use 192.168.1.1-192.168.2.254 hence the correct network should be 192.168.1.0/23.. Correction in this area. As for the DNS I did untick the use peer dns but it doesn't work.. I'll try again later. Thanks for the reply.. Appreciate your help. But the IP subnetting is giving me some problem.
seng87
post Aug 14 2014, 11:27 AM

From BolehLand
*****
Senior Member
891 posts

Joined: Jul 2007
From: Klang



QUOTE(asellus @ Aug 14 2014, 11:04 AM)
192.168.1.1-192.168.2.254 is not 192.168.1.0/23. If you want to use that range for DHCP then declare a /22 and then use the said range for your purposes.
*
Ok boss.. understand what you wanted to present to me.. Gotta go restudy my CIDR.. LOL... And Thanks alot for the guidance..

This post has been edited by seng87: Aug 14 2014, 11:28 AM

 

Change to:
| Lo-Fi Version
0.0200sec    0.27    7 queries    GZIP Disabled
Time is now: 26th November 2025 - 11:12 PM