#con t | Enter the router configuration mode |
(config)#interface eth1 | Switch to interface eth1 |
(config-if)#ip address 3.3.3.2/24 | Configure the ip address 3.3.3.2 to eth1 |
(config-if)#commit | Commit the candidate configuration to the running configuration |
(config-if)#exit | Exit interface mode. |
#con t | Enter the router configuration mode |
(config)#ip route 20.20.20.0/24 eth1 | Add static route with eth1 as exit interface |
(config-if)#commit | Commit the candidate configuration to the running configuration |