RT1
Enable
Conf t/Enter global mode
Banner MOTD #this is a ccna1#/set flag
Banner Login #this is a ccna1#
int f0/0/Ingress interface
IP add 172.16.20.1 255.255.255.0/interface with IP address
int F0/1
IP Add 172.16.10.1 255.255.255.0
Eixt
IP route 172.16.30.0 255.255.255.0 172.16.20.2/Configure routing information, the address of the 30 network segment points to 172.16.20.2 this interface
IP Route 172.16.40.0 255.255.255.0 172.16.20.2
IP Route 172.16.50.0 255.255.255.0 172.16.20.2
Exit
Write
RT2
Enable
Conf t
Banner MOTD #this is a ccna2#
Banner Login #this is a ccna2#
IP Route 172.16.10.0 255.255.255.0 172.16.20.2
IP Route 172.16.40.0 255.255.255.0 172.16.30.2
Exit
Write
RT3
Enable
Conf t
Banner MOTD #this is a ccna3#
Banner Login #this is a ccna3#
IP Route 172.16.10.0 255.255.255.0 172.16.30.1
IP Route 172.16.20.0 255.255.255.0 172.16.30.1
IP Route 172.16.50.0 255.255.255.0 172.16.30.1
Exit
Write
Pc1
IP 172.16.10.3/24 172.16.10.1/Configuring IP addresses, masks, and gateways
Pc2
IP 172.16.50.2/24 172.16.50.1
Pc1
IP 172.16.40.2/24 172.16.40.1
Router Replacement PC
IP Route 172.16.20.0 255.255.255.0 172.16.10.1
IP Route 172.16.30.0 255.255.255.0 172.16.10.1
IP Route 172.16.40.0 255.255.255.0 172.16.10.1
IP route 172.16.50.0 255.255.255.0 172.16.10.1/Configure Routing
Or: Configure the default route 0.0.0.0 0.0.0.0 172.16.10.1
Cisco static routing-for Beginners