Community discussions

MikroTik App
 
huntah
Member Candidate
Member Candidate
Topic Author
Posts: 287
Joined: Tue Sep 09, 2008 3:24 pm

DHCP Client gateway distance Distance - BUG?

Wed Apr 14, 2010 11:27 pm

Hello,

I have noticed quite an interesting thing. If my WAN interface assignes the IP address via DHCP Client the default route has a distance of 0?
But if I manualy assign the address and the default route it gets the distance 1.

I think distance 0 means local box (MK Router) and distance 1 first hop.
Or am I wrong?

I am expiriencing this on RB433 with v3.x and 4.x
Can someone else verify my findings and report back..
This was a problem (distance 0) when I tried to route some public subnet to my PPPoE server on wlan1 interface...

Huntah
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: DHCP Client gateway distance Distance - BUG?

Wed Apr 21, 2010 5:42 pm

please write to support@mikrotik.com
 
dssmiktik
Forum Veteran
Forum Veteran
Posts: 732
Joined: Fri Aug 17, 2007 8:42 am

Re: DHCP Client gateway distance Distance - BUG?

Wed Apr 21, 2010 10:07 pm

I experience the same thing.

NOTE: However, I do NOT think this is a bug. The default is 0, but you can change this manually:
/ip dhcp-client set WAN default-route-distance=1
Correct me if I'm wrong.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: DHCP Client gateway distance Distance - BUG?

Thu Apr 22, 2010 1:21 pm

huh, really )) haven't looked at the settings %)

Who is online

Users browsing this forum: Ahrefs [Bot], BrianHiggins, infabo, MarkusT, scoobyn8 and 97 guests