# config system interfaceFGT-B Configuration.
edit "loopback"
set vdom "root"
set ip 10.10.10.20 255.255.255.255
set allowaccess ping
set type loopback
next
end
# config router bgp
set as 20
# config neighbor
edit "10.10.10.40"
set ebgp-enforce-multihop enable
set remote-as 40
set update-source "loopback"
set ebgp-multihop-ttl 255
next
end
# config network
edit 1
set prefix 172.16.1.0 255.255.255.0
next
end
# config router static
edit 1
set dst 10.10.10.40
set gateway 192.168.1.2
set device "wan1"
next
edit 2
set dst 10.10.10.40
set gateway 192.168.2.2
set device "wan2"
next
end
# config system interface
edit "loopback"
set vdom "root"
set ip 10.10.10.40 255.255.255.255
set allowaccess ping
set type loopback
next
end
# config router bgp
set as 40
# config neighbor
edit "10.10.10.20"
set ebgp-enforce-multihop enable
set remote-as 20
set update-source "loopback"
set ebgp-multihop-ttl 255
next
end
# config network
edit 1
set prefix 172.16.2.0 255.255.255.0
next
end
# config router static
edit 1
set dst 10.10.10.20
set gateway 192.168.1.1
set device "wan1"
next
edit 2
set dst 10.10.10.20
set gateway 192.168.2.1
set device "wan2"
next
end
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.