Chapter 2 Advanced Routing for FortiOS 5.0 : Routing Information Protocol (RIP) : Simple RIP example : Configuring FortiGate unit RIP router information
  
Configuring FortiGate unit RIP router information
With the interfaces configured, RIP can now be configured on the FortiGate units.
For each FortiGate unit the following steps will be taken:
configure RIP version used
redistribute static networks
add networks serviced by RIP
add interfaces that support RIP on the FortiGate unit
Router1 and Router4 are configured the same. Router2 and Router3 are configured the same. These routers will be grouped accordingly for the following procedures — repeat the procedures once for each FortiGate unit.
Configure RIP settings on Router1 and Router4 - web-based manager
1. Go to Router > Dynamic > RIP.
2. Select 2 for RIP Version.
3. In Advanced Options, under Redistribute enable Static.
4. Leave the other Advanced Options at default values.
5. Enter the following networks, and select Add after each:
10.11.0.0/255.255.0.0
10.12.0.0/255.255.0.0
10.14.0.0/255.255.0.0
172.20.120.0/255.255.255.0
6. For interface, select Create New and set the following information.
Interface
port1 (internal)
Send Version
Both
Receive Version
Both
Authentication
None
Passive Interface
disabled
7. For interface, select Create New and set the following information.
Interface
port2 (router2)
Send Version
Both
Receive Version
Both
Authentication
None
Passive Interface
disabled
8. For interface, select Create New and set the following information.
Interface
port3 (router3)
Send Version
Both
Receive Version
Both
Authentication
None
Passive Interface
disabled
Configure RIP settings on Router1 and Router4 - CLI
config router rip
set version 2
config interface
edit "port1"
set receive-version 1 2
set send-version 1 2
next
edit "port2"
set receive-version 1 2
set send-version 1 2
next
edit "port3"
set receive-version 1 2
set send-version 1 2
end
config network
edit 1
set prefix 10.11.0.0 255.255.0.0
next
edit 2
set prefix 10.12.0.0 255.255.0.0
next
edit 3
set prefix 10.14.0.0 255.255.0.0
next
edit 4
set prefix 172.20.120.0 255.255.255.0
end
config redistribute "static"
set status enable
end
end
Configure RIP settings on Router2 and Router3- web-based manager
1. Go to Router > Dynamic > RIP.
2. Select 2 for RIP Version.
3. In Advanced Options, under Redistribute enable Static.
4. Leave the other Advanced Options at default values.
5. Enter the following networks, and select Add after each:
10.11.0.0/255.255.0.0
10.12.0.0/255.255.0.0
10.14.0.0/255.255.0.0
172.20.120.0/255.255.255.0
6. For interface, select Create New and set the following information.
Interface
port1 (internal)
Send Version
Both
Receive Version
Both
Authentication
None
Passive Interface
disabled
7. For interface, select Create New and set the following information.
Interface
port2 (router1)
Send Version
Both
Receive Version
Both
Authentication
None
Passive Interface
disabled
8. For interface, select Create New and set the following information.
Interface
port3 (router4)
Send Version
Both
Receive Version
Both
Authentication
None
Passive Interface
disabled
9. For interface, select Create New and set the following information.
Interface
port4 (ISP)
Send Version
Both
Receive Version
Both
Authentication
None
Passive Interface
disabled
Configure RIP settings on Router2 and Router3- web-based manager
config router rip
set version 2
config interface
edit "port1"
set receive-version 1 2
set send-version 1 2
next
edit "port2"
set receive-version 1 2
set send-version 1 2
next
edit "port3"
set receive-version 1 2
set send-version 1 2
end
edit "port4"
set receive-version 1 2
set send-version 1 2
end
config network
edit 1
set prefix 10.11.0.0 255.255.0.0
next
edit 2
set prefix 10.12.0.0 255.255.0.0
next
edit 3
set prefix 10.14.0.0 255.255.0.0
next
edit 4
set prefix 172.20.120.0 255.255.255.0
end
config redistribute "static"
set status enable
end
end