Mailing List Archive

Please help!!! problems on running RIP
----- Original Message -----
From: ee2610
To: quagga-users@lists.quagga.net
Sent: Saturday, August 16, 2003 4:21 PM
Subject: Please help!!! problems on running RIP


Dear All
I am doing a project that need to use Zebra.
I install zebra-0.93b on Linux Redhat8.0 (2.4.16) and use three desktops as
router servers,
they connect by following :
LAN1--(RIP)--router C --(RIP)--router A--(RIP)-- router B--(RIP)--LAN2
Now the problem is that rip protocols do not work. I am not sure whether the
problem is at installation stage or zebra.conf/ripd.conf. The following is
my work process:

1.INSTALLATION:
[root@localhost:/usr/zebra-0.93b]#./configure --enable-netlink
[root@localhost:/usr/zebra-0.93b]#make
[root@localhost:/usr/zebra-0.93b]#make install

2.Run zebra
[root@localhost:/root]#zebra -d
[root@localhost:/root]#ripd -d

3. my zebra and ripd configure files(show router A and B)
########Router B########
!Router B zebra.conf
hostname RouterB
password zebra
enable password zebra
!
interface lo
ip address 127.0.0.1/16
!
interface eth0
ip address 200.11.7.1/24
!multicast
!
interface eth1
ip address 200.11.8.1/24
!multicast
!
!Router B ripd.conf
hostname ripd
password zebra
!
debug rip events
debug rip packet
debug rip zebra
!
router rip
version 1
network 200.11.7.0/24
network eth0
network 200.11.8.0/24
network eth1
neighbor 200.11.8.2
redistribute kernel
redistribute connected
log file ripd.log
!
!log stdout
#####Router A######
! router A zebra.conf
hostname RouterA
password zebra
enable password zebra
!
interface lo
ip address 127.0.0.1/16
!
interface eth0
ip address 200.11.9.2/24
!multicast
!
interface eth1
ip address 200.11.8.2/24
!multicast
!Router A ripd.conf
hostname ripd
password zebra
!
debug rip events
debug rip packet
debug rip zebra
!
router rip
network 200.11.9.0/24
network eth0
network 200.11.8.0/24
network eth1
neighbor 200.11.9.1
neighbor 200.11.8.1
redistribute kernel
redistribute connected
log file ripd.log
!
!log stdout

4. Telnet results
router A>show ip route
K * 127.0.0.0/8 is directly connected, lo
C>* 127.0.0.0/8 is directly connected, lo
C>* 127.0.0.0/16 is directly connected, lo
K * 162.11.20.0/24 is directly connected, eth2 inactive
C>* 200.11.8.0/24 is directly connected, eth1
C>* 200.11.9.0/24 is directly connected, eth0
router A>show ip rip
Network Next Hop Metric From Time
C(i) 200.11.8.0/24 0.0.0.0 1 self
C(i) 200.11.9.0/24 0.0.0.0 1 self
router B>show ip route
K * 127.0.0.0/8 is directly connected, lo
C>* 127.0.0.0/8 is directly connected, lo
C>* 127.0.0.0/16 is directly connected, lo
C>* 200.11.7.0/24 is directly connected, eth0
C>* 200.11.8.0/24 is directly connected, eth1
router B>show ip rip
Network Next Hop Metric From Time
C(i) 200.11.7.0/24 0.0.0.0 1 self
C(i) 200.11.8.0/24 0.0.0.0 1 self
Please help me solve the problem, many thanks.