Wednesday, February 25, 2009

RIP Configuration on all interfaces

Assume that you have two or more interfaces connected to different networks or subnets on your router ;

Ex.

interface Serial1/1
ip address 10.0.3.5 255.255.255.255
!
interface Serial1/2
ip address 195.167.3.1 255.255.255.252
!
interface Serial1/3
ip address 178.168.2.1 255.255.255.252



You can configure RIP protocol using one network command instead of using network command for each network/subnet.

Using Network command for each subnet/network

router rip
version 2
network 10.0.0.0
network 172.16.0.0
network 192.168.1.0
no auto-summary

RIP confguration using only one network command for all interfaces.
The network configuration command accepts the default network (0.0.0.0) as its parameter, causing RIP Protocol to run on all interfaces on a router.

router rip
version 2
network 0.0.0.0 //You can use only one network command for all interfaces
no auto-summary

No comments:

Post a Comment

 
span.fullpost {display:inline;}