Description: The purpose of this lab is to
configure RIP Routing and other required commands to advertise these
rip routes on all the devices and test for ping command.
Instructions:
1. Assign the IP address of all the devices as given below
| Device |
Interface |
IP Address |
Mask |
| R1 |
So-0/0/1
So-0/0/0 |
192.168.1.1
192.168.3.1 |
255.255.255.0
255.255.255.0 |
| R2 |
So-0/0/0
So-0/0/1 |
192.168.1.2
192.168.2.1 |
255.255.255.0
255.255.255.0 |
| R3 |
So-0/0/0
So-0/0/1 |
192.168.3.2
192.168.2.2 |
255.255.255.0
255.255.255.0 |
2. Enable RIP routing on all the devices
3. Specify the policy to accept the rip routes on all the devices
4. Apply an import policy and an export policy (policy created
above) on all the devices.
5. From R1 issue a ping command to R2 and R3
On R1:
user@R1>configure
[edit]
user@R1#edit interfaces so-0/0/0 unit 0 family inet
[edit interfaces so-0/0/0 unit 0 family inet]
user@R1#set address 192.168.3.1/24
[edit interfaces so-0/0/0 unit 0 family inet]
user@R1#exit
[edit]
user@R1#edit interfaces so-0/0/1 unit 0 family inet
[edit interfaces so-0/0/1 unit 0 family inet]
user@R1#set address 192.168.1.1/24
[edit interfaces so-0/0/1 unit 0 family inet]
user@R1#exit
[edit]
user@R1#edit policy-options policy-statement R1pol term R1term
[edit policy-options policy-statement R1pol term R1term]
user@R1#edit from
[edit policy-options policy-statement R1pol term R1term from]
user@R1#set protocol rip
[edit policy-options policy-statement R1pol term R1term from]
user@R1#exit
[edit policy-options policy-statement R1pol term R1term]
user@R1#edit then
[edit policy-options policy-statement R1pol term R1term then]
user@R1#set accept
[edit policy-options policy-statement R1pol term R1term then]
user@R1#exit
[edit policy-options policy-statement R1pol term R1term]
user@R1#exit
[edit]
user@R1#edit protocols rip group R1grp
[edit protocols rip group R1grp]
user@R1#set export R1pol
[edit protocols rip group R1grp]
user@R1#edit neighbor so-0/0/0
[edit protocols rip group R1grp neighbor so-0/0/0]
user@R1#set import R1pol
[edit protocols rip group R1grp neighbor so-0/0/0]
user@R1#exit
[edit protocols rip group R1grp]
user@R1#edit neighbor so-0/0/1
[edit protocols rip group R1grp neighbor so-0/0/1]
user@R1#set import R1pol
[edit protocols rip group R1grp neighbor so-0/0/1]
user@R1#exit
[edit protocols rip group R1grp]
user@R1#exit
[edit]
user@R1#commit
commit complete
[edit]
user@R1#
On R2:
user@R2>configure
[edit]
user@R2#edit interfaces so-0/0/0 unit 0 family inet
[edit interfaces so-0/0/0 unit 0 family inet]
user@R2#set address 192.168.1.2/24
[edit interfaces so-0/0/0 unit 0 family inet]
user@R2#exit
[edit]
user@R2#edit interfaces so-0/0/1 unit 0 family inet
[edit interfaces so-0/0/1 unit 0 family inet]
user@R2#set address 192.168.2.1/24
[edit interfaces so-0/0/1 unit 0 family inet]
user@R2#exit
[edit]
user@R2#edit policy-options policy-statement R2pol term R2term
[edit policy-options policy-statement R2pol term R2term]
user@R2#edit from
[edit policy-options policy-statement R2pol term R2term from]
user@R2#set protocol rip
[edit policy-options policy-statement R2pol term R2term from]
user@R2#exit
[edit policy-options policy-statement R2pol term R2term ]
user@R2#edit then
[edit policy-options policy-statement R2pol term R2term then]
user@R2#set accept
[edit policy-options policy-statement R2pol term R2term then]
user@R2#exit
[edit policy-options policy-statement R2pol term R2term ]
user@R2#exit
[edit]
user@R2#edit protocols rip group R2grp
[edit protocols rip group R2grp ]
user@R2#set export R2pol
[edit protocols rip group R2grp ]
user@R2#edit neighbor so-0/0/0
[edit protocols rip group R2grp neighbor so-0/0/0]
user@R2#set import R2pol
[edit protocols rip group R2grp neighbor so-0/0/0]
user@R2#exit
[edit protocols rip group R2grp ]
user@R2#edit neighbor so-0/0/1
[edit protocols rip group R2grp neighbor so-0/0/1]
user@R2#set import R2pol
[edit protocols rip group R2grp neighbor so-0/0/1]
user@R2#exit
[edit protocols rip group R2grp ]
user@R2#exit
[edit]
user@R2#commit
commit complete
[edit]
user@R2#
On R3:
user@R3>configure
[edit]
user@R3#edit interfaces so-0/0/0 unit 0 family inet
[edit interfaces so-0/0/0 unit 0 family inet]
user@R3#set address 192.168.3.2/24
[edit interfaces so-0/0/0 unit 0 family inet]
user@R3#exit
[edit]
user@R3#edit interfaces so-0/0/1 unit 0 family inet
[edit interfaces so-0/0/1 unit 0 family inet]
user@R3#set address 192.168.2.2/24
[edit interfaces so-0/0/1 unit 0 family inet]
user@R3#exit
[edit]
user@R3#edit policy-options policy-statement R3pol term R3term
[edit policy-options policy-statement R3pol term R3term ]
user@R3#edit from
[edit policy-options policy-statement R3pol term R3term from]
user@R3#set protocol rip
[edit policy-options policy-statement R3pol term R3term from]
user@R3#exit
[edit policy-options policy-statement R3pol term R3term ]
user@R3#edit then
[edit policy-options policy-statement R3pol term R3term then]
user@R3#set accept
[edit policy-options policy-statement R3pol term R3term then]
user@R3#exit
[edit policy-options policy-statement R3pol term R3term ]
user@R3#exit
[edit]
user@R3#edit protocols rip group R3grp
[edit protocols rip group R3grp ]
user@R3#set export R3pol
[edit protocols rip group R3grp ]
user@R3#edit neighbor so-0/0/0
[edit protocols rip group R3grp neighbor so-0/0/0]
user@R3#set import R3pol
[edit protocols rip group R3grp neighbor so-0/0/0]
user@R3#exit
[edit protocols rip group R3grp ]
user@R3#edit neighbor so-0/0/1
[edit protocols rip group R3grp neighbor so-0/0/1]
user@R3#set import R3pol
[edit protocols rip group R3grp neighbor so-0/0/1]
user@R3#exit
[edit protocols rip group R3grp ]
user@R3#exit
[edit]
user@R3#commit
commit complete
[edit]
user@R3#
On R1:
user@R1>ping 192.168.2.2
user@R1>ping 192.168.2.1
