RIP (routing information protocol) configuration forRIP v1 and RIP v2
- Router# conf terminal
- Router(config)# int e0
- Router(config_if)# ip add 192.168.10.10 255.255.255.0
- Router(config_if)# no shut
- Router(config_if)# exit
- Router(config)# int s0
- Router(config_if)# ip add 1.1.1.1 255.255.255.0
- Router(config_if)# no shut
- Router(config_if)# clock rate 6400
- Router(config_if)# router rip
If we want to configure on RIP v2 so do as
- Router(config_router)# version v2
- Router(config_router)# network 192.168.10.0
- Router(config_router)# network 1.0.0.0
- Router(config_router)# exit
Now do the configuration on router 2 as
- Router> enable
- Router# conf terminal
- Router(config)#int e0
- Router(config_if)# ip add 192.168.20.10 255.255.255.0
- Router(config_if)# no shut
- Router(config_if)# exit
- Router(config)# int s0
- Router(config_if)# ip add 1.1.1.2 255.255.255.0
- Router(config_if)# no shut
- Router(config_if)# clock rate 64000
- Router(config_if)# exit
- Router(config)# router rip (for rip v2 just type version 2)
- Router(config_router)# version 2
- Router(config_router)# network 192.168.20.0
- Router(config_router)# network 1.0.0.0
- Router(config_router)# exit
- Router(config)# exit
- Router# exit
If we have an environment in which there are 3 or more then 3 routers then the configuration will be as
- Router# conf terminal
- Router(config)# int e0
- Router(config_if)# ip add 192.168.10.10 255.255.255.0
- Router(config_if)# no shut
- Router(config_if)# exit
- Router(config)# int s0
- Router(config_if)# ip add 10.1.1.1 255.255.255.0
- Router(config_if)# no shut
- Router(config_if)# clock rate 6400
- Router(config_if)# exit
- Router(config)# router rip
- If we want to configure on RIP v2 so do as
- Router(config_router)# version v2
- Router(config_router)# network 192.168.10.0
- Router(config_router)# network 1.0.0.0
- Router(config_router)# exit
Now do the configuration on router 2 as
- Router> enable
- Router# conf terminal
- Router(config)#int e0
- Router(config_if)# ip add 192.168.20.10 255.255.255.0
- Router(config_if)# no shut
- Router(config_if)# exit
- Router(config)# int s0
- Router(config_if)# ip add 1.1.1.2 255.255.255.0
- Router(config_if)# no shut
- Router(config_if)# clock rate 64000
- Router(config_if)# exit
- Router(config)# int s1
- Router(config_if)# ip add 10.1.1.1 255.255.255.0
- Router(config_if)# no shut
- Router(config_if)# clock rate 64000
- Router(config_if)# exit
- Router(config)# router rip (for rip v2 just type version 2)
- Router(config_router)# version 2
- Router(config_router)# network 192.168.20.0
- Router(config_router)# network 1.0.0.0
- Router(config_router)# network 10.0.0.0 (which is the network ID for 1.1.1.2 add)
- Router(config_router)# exit
- Router(config)# exit
- Router# exit
Now configuration for router 3
- Router> enable
- Router# conf terminal
- Router(config)#int e0
- Router(config_if)# ip add 192.168.30.10 255.255.255.0
- Router(config_if)# no shut
- Router(config_if)# exit
- Router(config)# int s0
- Router(config_if)# ip add 10.1.1.2 255.255.255.0
- Router(config_if)# no shut
- Router(config_if)# clock rate 64000
- Router(config_if)# exit
- Router(config)# router rip
- Router(config_router)# version 2 (for rip v2 just type version 2)
- Router(config_router)# network 192.168.30.0
- Router(config_router)# network 1.0.0.0
- Router(config_router)# network 10.0.0.0 (which is the network ID for 10.1.1.2 add)
- Router(config_router)# exit
- Router(config)# exit
- Router# exit
MORE:
- Default Routing
- Static Routing
- How to access a system on router 3
- RIP (routing information protocol) configuration
- IGRP (Interior Gateway Routing Protocol)
- EIGRP (Enhanced Interior Gateway Routing Protocol)
- OSPF (Open Shortest Path First)