Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Christian_89
Contributor III

Default Distances change

Hi, everyone

How can I change the value of Default Distances I would have to change the DHCP value, which is moderately default to 5 and static to 10. I would like to set DHCP to 40 or higher. Anyone know how I can change that? many thanks for your help.

1 Solution
Toshi_Esumi
SuperUser
SuperUser

Are you talking about the admin distance on the DHCP-injected default route on a wan interface? If so, below is the commend:

config sys int

  edit <wan_interface_name>

    set distance 40

  next

end

 

Or, if you wan to get rid of it completely, you can use below instead.

config sys int

  edit <wan_interface_name>

    set defaultgw disable

  next

end

 

Toshi

View solution in original post

2 REPLIES 2
Toshi_Esumi
SuperUser
SuperUser

Are you talking about the admin distance on the DHCP-injected default route on a wan interface? If so, below is the commend:

config sys int

  edit <wan_interface_name>

    set distance 40

  next

end

 

Or, if you wan to get rid of it completely, you can use below instead.

config sys int

  edit <wan_interface_name>

    set defaultgw disable

  next

end

 

Toshi

Christian_89
Contributor III

Hello Toshi

Yes we talk to her about DHCP. Thank you for your information, this helps me a lot.

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors