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
Esteemed Contributor III

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
Esteemed Contributor III

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.

Labels
Top Kudoed Authors