Community discussions

MikroTik App
 
User avatar
Etz
Member Candidate
Member Candidate
Topic Author
Posts: 178
Joined: Thu Mar 27, 2014 10:09 am
Location: Estonia

Ipv4 default-gateway 192.168.88.1?

Mon May 26, 2014 7:47 pm

Hi

As a newbie, i have a question.

Why CRS125 still advertises 192.168.88.1 with DHCP?

As I built my config from scratch there is no such adress present in config, so where does it come from and how could i remove it?
DHCP gives out correct gateway aswell, but still its a bit annoyance.
 
plisken
Forum Guru
Forum Guru
Posts: 2509
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 5:13 pm

Have you the router reset without default configuration?
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 6:18 pm

It probably comes from dhcp server settings. Have you checked it?
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 6:19 pm

Make export command and go thru.
 
User avatar
Etz
Member Candidate
Member Candidate
Topic Author
Posts: 178
Joined: Thu Mar 27, 2014 10:09 am
Location: Estonia

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 7:13 pm

Ofcourse I did factory rset, actually even multiple times:

Relevant config:
/ip pool
add name=dhcp ranges=192.168.1.21-192.168.1.250
add name=dhcp2 ranges=192.168.2.2-192.168.2.254
add name=dhcp4 ranges=192.168.4.2-192.168.4.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge1 lease-time=1h name=dhcp1
add address-pool=dhcp4 disabled=no interface=bridge4 lease-time=1h name=dhcp4
/ip address
add address=192.168.1.1/24 interface=bridge1 network=192.168.1.0
add address=192.168.4.1/24 interface=bridge4 network=192.168.4.0
/ip dhcp-server network
add address=192.168.1.0/24 dns-server=192.168.1.1 domain=kari.lan \
    gateway=192.168.1.1 netmask=24
add address=192.168.2.0/24 dns-server=192.168.1.1 domain=kari.vpn \
    gateway=192.168.2.1 netmask=24
add address=192.168.4.0/24 dns-server=84.50.149.23 domain=kari.tv \
    gateway=192.168.4.1 netmask=24
I did export config and searched it for 192.168.88.1 and its derivates with no luck.
After that I decided to post a question here as I dont seem to have a slightest idea, where it comes from.

There is no definition about 192.168.88.1 in config file itself at least in the config that export file= produces :roll:
 
plisken
Forum Guru
Forum Guru
Posts: 2509
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 7:17 pm

Look in routing tabel "ip" "routes"
 
User avatar
Etz
Member Candidate
Member Candidate
Topic Author
Posts: 178
Joined: Thu Mar 27, 2014 10:09 am
Location: Estonia

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 7:33 pm

[admin@Kari-CRS] > ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
 #      DST-ADDRESS        PREF-SRC        GATEWAY            DISTANCE
 0 ADC  192.168.1.0/24     192.168.1.1     bridge1                   0
 1 ADC  192.168.4.0/24     192.168.4.1     bridge4                   0
As a sidenote, I dont have currently uplink connected but its irrelevant anyway.

And a screenshot about this annoyance itself:
Image

Connection suffix is different, because I changed it after I did export...
Also that 192.168.88.1 appears on both bridges, so it doesnt depend on DHCP pool or server... :wink:
 
plisken
Forum Guru
Forum Guru
Posts: 2509
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 8:03 pm

Maby you must reset the routerboard without default configuration.

And after that reconfigurate the routerboard.
 
User avatar
Etz
Member Candidate
Member Candidate
Topic Author
Posts: 178
Joined: Thu Mar 27, 2014 10:09 am
Location: Estonia

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 8:08 pm

It is tried this way already, in fact I have done 4 resets and configured it always manually, as default setup doesnt do what I need anyway.

Still no luck... :(
 
plisken
Forum Guru
Forum Guru
Posts: 2509
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 8:12 pm

Have you look in the network card settings on your computer.
Maby stand there the standard gateway static
Sorry for my bad englisch
 
User avatar
Etz
Member Candidate
Member Candidate
Topic Author
Posts: 178
Joined: Thu Mar 27, 2014 10:09 am
Location: Estonia

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 8:17 pm

Have you look in the network card settings on your computer.
Maby stand there the standard gateway static
Sorry for my bad englisch
Nope, not the case...all is automatic and obtained via DHCP...
Computer itself has had multiple reboots no change.

And it doesnt appaer, when I connect the very same Laptop to my old Cisco router or Asus Wireless one.
So definately it is Microtik specific...will try to do some packet sniffing later, maybe I can at least figure out how it appears.

Still, it would leave open the question...how to get rid of it?
 
User avatar
Etz
Member Candidate
Member Candidate
Topic Author
Posts: 178
Joined: Thu Mar 27, 2014 10:09 am
Location: Estonia

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 8:19 pm

And most weirdest part is, it will appear there even when routerboard doesnt have config at all.. :shock:

It doesnt give IP to a host, but that ipv4 Default Gateway 192.168.88.1 will appear instantly.
 
plisken
Forum Guru
Forum Guru
Posts: 2509
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 8:37 pm

Can you ping this IP-address (192.168.88.1)
 
User avatar
Etz
Member Candidate
Member Candidate
Topic Author
Posts: 178
Joined: Thu Mar 27, 2014 10:09 am
Location: Estonia

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 8:40 pm

Can you ping this IP-address (192.168.88.1)
Nope, 192.168.1.1 or 192.168.4.1 (depends on a bridge) Would respond "Destination net unreachable" which makes perfect sense as there is no actual route to 192.168.88.1 host.

I havent tried to ping it with absolutely no config in routerboard at all, but I really doubt it would respond even then,
because host itself doesnt have an IP (as there is no DHCP server running), hence no L3 connectivity at all.
 
User avatar
Etz
Member Candidate
Member Candidate
Topic Author
Posts: 178
Joined: Thu Mar 27, 2014 10:09 am
Location: Estonia

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 9:22 pm

Finally found the culprit...now could someone explain to me, how did it get there as I definately havent added this myself. :shock:

Image

And I am the only one using this Laptop, also this is the only routerboard I ever touched...so far... :lol:
 
plisken
Forum Guru
Forum Guru
Posts: 2509
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 9:37 pm

I thought something like this a static ip in your PC

Your problem has solved
 
User avatar
Etz
Member Candidate
Member Candidate
Topic Author
Posts: 178
Joined: Thu Mar 27, 2014 10:09 am
Location: Estonia

Re: Ipv4 default-gateway 192.168.88.1?

Tue May 27, 2014 9:39 pm

Solved indeed, but still makes me wonder what added it there?

Winbox when I connected to my lovely CRS125 first time and upgraded firmware?
As I cannot think anything else, after that I did factory reset and started building my own config.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Ipv4 default-gateway 192.168.88.1?

Wed May 28, 2014 12:28 pm

If it is windows station, then it is kept in register as pesistent dns. You have already found it. There are articles at microsoft web about it. Actually you should describe correctly what the problem was in the beginning. I was also trying recently to get rid of it. Only solution was to fully remove everything linked to the logical connection kept in windows and then manually delete relevant register branches. Awfull. Some restarts. And setting networks again.

This has nothing to do with mikrotik. This is not right forum to discuss windows features.
 
User avatar
Etz
Member Candidate
Member Candidate
Topic Author
Posts: 178
Joined: Thu Mar 27, 2014 10:09 am
Location: Estonia

Re: Ipv4 default-gateway 192.168.88.1?

Wed May 28, 2014 1:38 pm

This has nothing to do with mikrotik.
Figured it out already as you see...
This is not right forum to discuss windows features.
You are absolutely right, but I got quite a bit confused at the beginning...

Who is online

Users browsing this forum: JmJ17 and 108 guests