Community discussions

MikroTik App
 
gmeden
Member Candidate
Member Candidate
Topic Author
Posts: 149
Joined: Mon Aug 06, 2007 5:07 am
Location: Indiana, US

ccr-1009-8g-1s

Tue May 10, 2016 8:26 pm

I have configured this device with a dhcp server , however , the addresses handed out are not the correct subnet , they are factory default addresses in the 192.168.88.0/24 family. That was changed during setup to 192.168.254.0/24 , but it insists on handing out 192.168.88.0/24 addresses...That subnet was deleted during setup..???? There is no entry in dhcp server for that subnet.
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: ccr-1009-8g-1s

Tue May 10, 2016 8:33 pm

What interface are you connected to. What IP address is on that interface. Can you export some of your config so we can assist better.
 
gmeden
Member Candidate
Member Candidate
Topic Author
Posts: 149
Joined: Mon Aug 06, 2007 5:07 am
Location: Indiana, US

Re: ccr-1009-8g-1s

Tue May 10, 2016 9:29 pm

Ports 1-4 are switched by default , with the dhcp server assigned to interface 1, and am using interface 3 , but given that those ports are switched..it shouldn't matter should it? Odd thing is some devices pick up the right subnet while others don't..rather baffling...why does the 88 subnet even exist , it's nowhere in the configuration..

What interface are you connected to.....3
What IP address is on that interface......192.168.254.1
 
pe1chl
Forum Guru
Forum Guru
Posts: 10223
Joined: Mon Jun 08, 2015 12:09 pm

Re: ccr-1009-8g-1s

Wed May 11, 2016 9:29 am

Hmmm i just installed a ccr-1009-8g-1s-1s+ and after default install there was no DHCP server and ports 1-4 were
not switched by default. I had to do these steps myself and I changed the IP before setting up the DHCP server.
I never encountered this issue... I was suprised because in many small MikroTik routers I encountered a default
setup that included NAT, DHCP, default firewall entries etc. It was not the case for this one, I guessed it was probably
because it is aimed at specialized installations and not at the home router market.

However, it should never be a problem to re-configure DHCP. Note that there are several configuration tabs in the
IP->DHCP Server page, and also they refer to a pool in the IP->Pool page. Are you sure you have re-configured
all those?
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: ccr-1009-8g-1s

Wed May 11, 2016 1:35 pm

Can you post you dhcp config.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10223
Joined: Mon Jun 08, 2015 12:09 pm

Re: ccr-1009-8g-1s

Wed May 11, 2016 3:55 pm

/ip pool
add name=dhcp-pool ranges=192.168.244.10-192.168.247.250
/ip dhcp-server
add address-pool=dhcp-pool disabled=no interface=ether1-nat lease-time=8h \
    name=dhcp-ether1
/ip dhcp-server config
set store-leases-disk=never
/ip dhcp-server network
add address=192.168.244.0/22 dns-server=192.168.244.1 gateway=192.168.244.1
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: ccr-1009-8g-1s

Wed May 11, 2016 5:22 pm

Your initial configuration states that your IP is 192.168.254.1/24
your dhcp server is 192.168.244.1/22
in order for this to work the interface you connect your computer to needs to be programmed in the same subnet. and as this interface is what your computers will be using as their gateway it should match the gateway IP.
can you explain how you would like this to work and we can assist further or we can adjust your settings to either match your initial config or your dhcp config.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10223
Joined: Mon Jun 08, 2015 12:09 pm

Re: ccr-1009-8g-1s

Wed May 11, 2016 6:09 pm

Sorry for confusion, I thought you were the original poster with the messed-up DHCP config who wanted to
see my working config as an example.
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: ccr-1009-8g-1s

Wed May 11, 2016 6:40 pm

oops I also thought you were the original poster. we wait for original poster to post.
 
gmeden
Member Candidate
Member Candidate
Topic Author
Posts: 149
Joined: Mon Aug 06, 2007 5:07 am
Location: Indiana, US

Re: ccr-1009-8g-1s

Wed May 18, 2016 11:03 pm

I am the OP .. things seem to be working as I have just decided to use eth5 as the "spur" network and set the DHCP to that interface , working.. . The thing that was/is most confusing is why the 192.168.88.X subnet pops up on the switched ports (1-4) when DHCP is attempted on it. I reassigned that subnet to 192.168.254.X , the 88 subnet is the default , but was deleted/changed during setup and was erased from the DHCP pool.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10223
Joined: Mon Jun 08, 2015 12:09 pm

Re: ccr-1009-8g-1s

Wed May 18, 2016 11:11 pm

I can't explain that. My CCR came with ONLY the 192.168.88.1/24 network on ether1 and NOTHING else.
No switching 1-4, no DHCP, nothing. I had to build that all from zero. Which is good, because it avoids problems
like you are mentioning.

So I would think that whatever it is doing in that regard, you have configured it yourself and you can clear it out by
resetting the router to defaults.
 
gmeden
Member Candidate
Member Candidate
Topic Author
Posts: 149
Joined: Mon Aug 06, 2007 5:07 am
Location: Indiana, US

Re: ccr-1009-8g-1s

Mon May 23, 2016 5:04 pm

????...oddly I've just installed an rb750 at another location and reassigned the ip addresses , cleared and reconfigured the dhcp pool and upon reboot that default subnet (192.168.88.x) reappeared in addition to the reassigned ip for eth 1.
I've used mikrotik device for several years , so I'm not exactly a noob when it comes to configuring these devices , this is highly unusual..
 
gmeden
Member Candidate
Member Candidate
Topic Author
Posts: 149
Joined: Mon Aug 06, 2007 5:07 am
Location: Indiana, US

Re: ccr-1009-8g-1s

Mon May 23, 2016 10:26 pm

hmm...found a default entry in dhcp client settings for the 192.168.88.x subnet . Where/who is assigning this ip is a mystery as there are no other dhcp servers on this node , I can only assume that there is some mechanism in the OS that does this , but don't think it's a real good idea if it is intentional.

Who is online

Users browsing this forum: No registered users and 141 guests