Fortinet black logo

Handbook

Adding IPv4 virtual router to an interface

6.0.0
Copy Link
Copy Doc ID 4afb0436-a998-11e9-81a4-00505692583a:435078
Download PDF

Adding IPv4 virtual router to an interface

Use the following command to add an IPv4 VRRP virtual router to the port10 interface of a FortiGate. This VRRP virtual router has a virtual router ID of 200, uses IP address 10.31.101.200 and has a priority of 255. Since this is the highest priority, this interface is configured to be the primary router of the VRRP domain with ID number 200.

note icon VRRP can only be configured on physical interfaces or VLAN interfaces. You cannot configure VRRP on hardware-switch interfaces where multiple physical interfaces are combined into a hardware switch interface.

config system interface

edit port10

config vrrp

edit 200

set vrip 10.31.101.200

set priority 255

end

end

Adding IPv4 virtual router to an interface

Use the following command to add an IPv4 VRRP virtual router to the port10 interface of a FortiGate. This VRRP virtual router has a virtual router ID of 200, uses IP address 10.31.101.200 and has a priority of 255. Since this is the highest priority, this interface is configured to be the primary router of the VRRP domain with ID number 200.

note icon VRRP can only be configured on physical interfaces or VLAN interfaces. You cannot configure VRRP on hardware-switch interfaces where multiple physical interfaces are combined into a hardware switch interface.

config system interface

edit port10

config vrrp

edit 200

set vrip 10.31.101.200

set priority 255

end

end