Quagga Case 3
来源:互联网 发布:骑士战歌坐骑升阶数据 编辑:程序博客网 时间:2024/06/05 07:45
http://openmaniak.com/quagga_case3.php
1. CASE PRINCIPLE
We will test in this third example a medium difficulty level environment where two routers (Cisco 3750 & Quagga B) are linked together with two OPSF areas, one OSPF area is tagged as stub area.
The Quagga B router and the Cisco 2651 are located in a stub area. They have OPSF intra(O) and inter-area routes (OIA) in their routing tables but no external OSPF route. To route these external OPSF networks like 10.200.1.1 (see next paragraph), there is a default OSPF route to the border router (Quagga A router) on the routers inside area 1.
Quagga A is a border router because it is in area 0 or backbone area and in area 1.
For the purpose of our case study, the 10.200.1.1 static route is redistributed into OSPF on the Quagga A router to "artificially" create an external OPSF network tagged as OE2. Because of the stub area, this network should not be propagated on the Quagga B router and the Cisco 2651.
2. PICTURE
(click on the web links to have more details about a protocol)
Interface settings
OSPF - backbone area
OSPF - multi area
OSPF - stub area
Static routing
Redistribution - static to OSPF
Telnet access
3. CONFIGURATIONS
See the Quagga tutorial for help about this. LINUX CONFIGURATIONS
Check that the zebra and ospfd daemons are activated:
#vim /etc/quagga/daemonszebra=yes
bgpd=no
ospfd=yes
ospf6d=no
ripd=no
ripngd=no
isisd=no
If you changed your daemons file, restart the quagga service:
#vim /etc/init.d/quagga restartStopping Quagga daemons (prio:0): ospfd zebra (bgpd) (ripd) (ripngd) (ospf6=d) (isisd).
Removing all routes made by zebra.
Nothing to flush.
Loading capability module if not yet done.
Starting Quagga daemons (prio:10): zebra ospfd.
Set the Quagga A hostname in the /etc/quagga/vtysh.conf file:
#vim /etc/quagga/vtysh.conf!
! Sample
!
! service integrated-vtysh-config
hostname Quagga_A
username root nopassword
!
Set the Quagga B hostname in the /etc/quagga/vtysh.conf file:
#vim /etc/quagga/vtysh.conf!
! Sample
!
! service integrated-vtysh-config
hostname Quagga_B
username root nopassword
!
Don't forget to activate the ip forwarding on the Quagga A router!
It is not necessary to activate ip forwarding on the Quagga B router because it has only one network interface.
ROUTERS CONFIGURATIONS
CISCO ROUTER 2651 IOS: 12.2-23aQUAGGA ROUTER A 0.99.6interface FastEthernet0/1
ip address 10.1.3.2 255.255.255.0
no shutdowninterface eth0
ip address 10.1.3.1/24
link-detectinterface FastEthernet0/0
ip address 10.1.4.2 255.255.255.0
no shutdowninterface eth1
ip address 10.1.1.1/24
link-detectinterface Loopback 1
ip address 10.200.1.3 255.255.255.255
interface lo
ip address 10.200.1.2/32
link-detecthostname Cisco-2651 ip route 10.200.1.1/32 10.1.1.2router ospf 1
area 1 stub
network 10.1.3.0 0.0.0.255 area 1
network 10.1.4.0 0.0.0.255 area 1
network 10.200.1.3 0.0.0.0 area 1router ospf
area 1 stub
network 10.1.3.0/24 area 1
network 10.1.1.0/24 area 0
network 10.200.1.2/32 area 0line vty 0 4
no loginline vty
no loginenable secret passwordenable password password
CISCO SWITCH L3 3750 IOS: 12.2-25.SEE2
QUAGGA ROUTER B 0.99.6interface vlan 1
ip address 10.1.1.2 255.255.255.0
no shutdowninterface eth0
ip address 10.1.4.1/24
link-detectinterface Loopback 1
ip address 10.200.1.1 255.255.255.255
interface lo
ip address 10.200.1.4/32
link-detecthostname 3750_L3 router ospf 1
network 10.1.1.0 0.0.0.255 area 0
router ospf
area 1 stub
network 10.1.4.0/24 area 1
network 10.200.1.4/32 area 1line vty 0 4
no loginline vty 0 4
no loginenable secret password
enable password password
ip routing
ip multicast-routing distributed SEE THE ENTIRE CONFIGURATION OF THE DEVICES:
Quagga A
Quagga B
Cisco 2651
Cisco 3750 L3
4. SHOW COMMANDS
3750_L3##show interface vlan 1
Vlan1 is up, line protocol is up Hardware is EtherSVI, address is 0011.2233.4444 (bia 0011.2233.4444) Internet address is 10.1.1.2/24 MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:00, output 00:00:00, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 2120 packets input, 159981 bytes, 0 no buffer Received 0 broadcasts (57 IP multicast) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 1425 packets output, 139335 bytes, 0 underruns 0 output errors, 0 interface resets 0 output buffer failures, 0 output buffers swapped out3750_L3#show ip route
Codes:C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set 10.0.0.0/8 is variably subnetted, 7 subnets, 2 masksC 10.200.1.1/32 is directly connected, Loopback1C 10.1.1.0/24 is directly connected, Vlan1O 10.200.1.2/32 [110/11] via 10.1.1.1, 01:40:19, Vlan1O IA 10.1.3.0/24 [110/11] via 10.1.1.1, 01:40:19, Vlan1O IA 10.1.4.0/24 [110/12] via 10.1.1.1, 01:40:19, Vlan1O IA 10.200.1.3/32 [110/12] via 10.1.1.1, 01:40:19, Vlan1O IA 10.200.1.4/32 [110/22] via 10.1.1.1, 01:40:19, Vlan13750_L3#show ip ospf interface
Vlan1 is up, line protocol is up Internet Address 10.1.1.2/24, Area 0 Process ID 1, Router ID 10.200.1.1, Network Type BROADCAST, Cost: 1 Transmit Delay is 1 sec, State BDR, Priority 1 Designated Router (ID) 10.200.1.2, Interface address 10.1.1.1 Backup Designated router (ID) 10.200.1.1, Interface address 10.1.1.2 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 oob-resync timeout 40 Hello due in 00:00:07 Supports Link-local Signaling (LLS) Index 1/1, flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1, maximum is 1 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 10.200.1.2 (Designated Router) Suppress hello for 0 neighbor(s)3750_L3#show ip ospf database
OSPF Router with ID (10.200.1.1) (Process ID 1) Router Link States (Area 0) Link ID ADV RouterAgeSeq#ChecksumLinkcount10.200.1.1 10.200.1.11170x8000001D0x000A481 10.200.1.2 10.200.1.27310x8000001D0x000A482 Net Link States (Area 0) Link ID ADV RouterAgeSeq#Checksum 10.1.1.1 10.200.1.27310x800000040x00C009 Summary Net Link States (Area 0) Link ID ADV RouterAgeSeq#Checksum 10.1.3.0 10.200.1.215430x800000080x005E0A 10.1.4.0 10.200.1.27430x800000090x005B0A 10.200.1.3 10.200.1.26230x800000090x00019C 10.200.1.4 10.200.1.29230x8000000A0x005938 Type-5 AS External Link States Link ID ADV RouterAgeSeq#ChecksumTag 10.200.1.1 10.200.1.27730x80000000x008A730 3750_L3#show ip ospf neighbor
Neighbor IDPriStateDead TimeAddressInterface10.200.1.21FULL/DR00:00:3410.1.1.1Vlan1
Top of the page Show Commands Menu
QUAGGA A ROUTER
Quagga_A#show interface description
InterfaceStatusProtocolDescriptioneth0upup eth1upup loupup Quagga_A#show interface eth0
Interface eth0 is up, line protocol is up index 2 metric 1 mtu 1500 flags: <UP,BROADCAST,RUNNING,MULTICAST> HWaddr: 00:02:11:22:33:99 inet 10.1.3.1/24 broadcast 10.1.3.255 inet6 fe80::201:66ff:1122:3399/64 2598 input packets (0 multicast), 213456 bytes, 0 dropped 0 input errors, 0 length, 0 overrun, 0 CRC, 0 frame 0 fifo, 0 missed 2491 output packets, 229815 bytes, 0 dropped 0 output errors, 0 aborted, 0 carrier, 0 fifo, 0 heartbeat 0 window, 0 collisionsQuagga_A (Linux level)#route -n
Kernel IP routing tableDestinationGatewayGenmaskIndicMetricRefUseIface10.200.1.110.1.1.2255.255.255.255UGH000eth110.200.1.310.1.3.2255.255.255.255UGH1100eth010.200.1.410.1.3.2255.255.255.255UGH2100eth010.1.4.010.1.3.2255.255.255.0UG1100eth010.1.1.00.0.0.0255.255.255.0U000eth110.1.3.00.0.0.0255.255.255.0U000eth0Quagga_A#show ip route
Codes:K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - ISIS, B - BGP, > - selected route, * - FIB route C>*127.0.0.0/8 is directly connected, loC>*10.200.1.2/32 is directly connected, loC>*10.1.3.0/24 is directly connected, eth0C>*10.1.1.0/24 is directly connected, eth1S>*10.200.1.1/32 [1/0] via 10.1.1.2, eth1O10.1.1.0/24 [110/10] is directly connected, eth1, 03:30:30O10.1.3.0/24 [110/10] is directly connected, eth0, 03:30:39O10.200.1.2/32 [110/10] is directly connected, lo, 03:30:39O>*10.1.4.0/24 [110/11] via 10.1.3.2, eth0, 03:30:29O>*10.200.1.3/32 [110/11] via 10.1.3.2, eth0, 03:30:29O>*10.200.1.4/32 [110/21] via 10.1.3.2, eth0, 03:30:29Quagga_A#show ip ospf interface
eth0 is up ifindex 2, MTU 1500 bytes, BW 0 Kbit <UP,BROADCAST,RUNNING,MULTICAST> Internet Address 10.1.3.1/24, Broadcast 10.1.3.255, Area 0.0.0.1 [Stub] MTU mismatch detection:enabled Router ID 10.200.1.2, Network Type BROADCAST, Cost: 10 Transmit Delay is 1 sec, State Backup, Priority 1 Designated Router (ID) 10.1.4.2, Interface Address 10.1.3.2 Backup Designated Router (ID) 10.200.1.2, Interface Address 10.1.3.1 Multicast group memberships: OSPFAllRouters OSPFDesignatedRouters Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5 Hello due in 6.220s Neighbor Count is 1, Adjacent neighbor count is 1eth1 is up ifindex 3, MTU 1500 bytes, BW 0 Kbit <UP,BROADCAST,RUNNING,MULTICAST> Internet Address 10.1.1.1/24, Broadcast 10.1.1.255, Area 0.0.0.0 MTU mismatch detection:enabled Router ID 10.200.1.2, Network Type BROADCAST, Cost: 10 Transmit Delay is 1 sec, State DR, Priority 1 Designated Router (ID) 10.200.1.2, Interface Address 10.1.1.1 Backup Designated Router (ID) 10.200.1.1, Interface Address 10.1.1.2 Multicast group memberships: OSPFAllRouters OSPFDesignatedRouters Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5 Hello due in 5.460s Neighbor Count is 1, Adjacent neighbor count is 1lo is up ifindex 1, MTU 16436 bytes, BW 0 Kbit <UP,LOOPBACK,RUNNING> Internet Address 10.200.1.2/32, Area 0.0.0.0 MTU mismatch detection:enabled Router ID 10.200.1.2, Network Type LOOPBACK, Cost: 10 Transmit Delay is 1 sec, State Loopback, Priority 1 No designated router on this network No backup designated router on this network Multicast group memberships: <None> Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5 Hello due in inactive Neighbor Count is 0, Adjacent neighbor count is 0Quagga_A#show ip ospf database
OSPF Router with ID (10.200.1.2) Router Link States (Area 0.0.0.0) Link ID ADV RouterAgeSeq#CkSumLink count10.200.1.1 10.200.1.114960x8000001c0x0c47110.200.1.2 10.200.1.2670x800000100xdfa22 Net Link States (Area 0.0.0.0) Link ID ADV RouterAgeSeq#CkSum 10.1.1.1 10.200.1.2670x800000040xc009 Summary Link States (Area 0.0.0.0) Link ID ADV RouterAgeSeq#CkSumRoute10.1.3.0 10.200.1.29090x800000080x5e0a10.1.3.0/2410.1.4.0 10.200.1.2790x800000090x5b0a10.1.4.0/2410.200.1.3 10.200.1.217900x800000080x039b10.200.1.3/3210.200.1.4 10.200.1.22590x8000000a0x593810.200.1.4/32 Router Link States (Area 0.0.0.1 [Stub]) Link ID ADV RouterAgeSeq#CkSumLink count10.1.4.2 10.1.4.27360x800000100x8742310.200.1.2 10.200.1.2590x8000000c0xe98b110.200.1.4 10.200.1.44700x8000000a0x59272 Net Link States (Area 0.0.0.1 [Stub]) Link ID ADV RouterAgeSeq#CkSum 10.1.3.2 10.1.4.27360x800000070xea43 10.1.4.2 10.1.4.27360x800000080xf930 Summary Link States (Area 0.0.0.1 [Stub]) Link ID ADV RouterAgeSeq#CkSumRoute0.0.0.0 10.200.1.21790x800000090xcfb00.0.0.0/010.1.1.0 10.200.1.213090x800000070x94d810.1.1.0/2410.200.1.2 10.200.1.23090x800000090x1f8210.200.1.2/32 AS External Link States 10.200.1.1 10.200.1.21090x800000090x8a73E2 10.200.1.1/32 [0x0]Quagga_A#show ip border-routers
============ OSPF router routing table ============= Quagga_A#show ip neighbor
Neighbor IDPriStateDead TimeAddressInterfaceRXmtLRqstLDBsmL10.200.1.1Full/Backup32.136s10.1.1.2eth1:10.1.1.110010.1.4.21Full/DR36.102s10.1.3.2eth0:10.1.3.1000Quagga_A#show ip ospf route
============ OSPF network routing table ============N10.1.1.0/24[10] area: 0.0.0.0 directly attached to eth1N10.1.3.0/24[10] area: 0.0.0.1 directly attached to eth0N10.1.4.0/24[11] area: 0.0.0.1 via 10.1.3.2, eth0N10.200.1.2/32[10] area: 0.0.0.0 directly attached to loN10.200.1.3/32[11] area: 0.0.0.1 via 10.1.3.2, eth0N10.200.1.4/32[21] area: 0.0.0.1 via 10.1.3.2, eth0 ============ OSPF router routing table ============= ============ OSPF external routing table ===========Quagga_A#show ip forwarding
IP forwarding is onSee explanation about Linux IP forwarding.
Top of the page Show Commands Menu
CISCO 2651
Cisco_2651#show ip interface brief
InterfaceIP-AddressOK?MethodStatusProtocolFastEthernet0/010.1.4.2YESNVRAMupupFastEthernet0/110.1.3.2YESNVRAMupupLoopback110.200.1.3YESmanualupupCisco-2651#show interface FastEthernet 0/0
FastEthernet0/0 is up, line protocol is up Hardware is AmdFE, address is 0011.2211.3345 (bia 0011.2211.3345) Internet address is 10.1.4.2/24 MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set
Keepalive set (10 sec) Full-duplex, 100Mb/s, 100BaseTX/FX ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:01:20, output 00:00:09, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 477 packets input, 46396 bytes Received 303 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog 0 input packets with dribble condition detected 603 packets output, 58014 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped outCisco-2651#show ip route
Codes:C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is 10.1.3.1 to network 0.0.0.0 10.0.0.0/8 is variably subnetted, 6 subnets, 2 masksC 10.1.4.0/24 is directly connected, FastEthernet0/0C 10.1.3.0/24 is directly connected, FastEthernet0/1C 10.200.1.3/32 is directly connected, Loopback1O 10.200.1.4/32 [110/11] via 10.1.4.1, 02:06:38, FastEthernet0/0O IA 10.1.1.0/24 [110/11] via 10.1.3.1, 02:06:38, FastEthernet0/1O IA 10.200.1.2/32 [110/11] via 10.1.3.1, 02:06:38, FastEthernet0/1O*IA0.0.0.0/0 [110/2] via 10.1.3.1, 02:06:40, FastEthernet0/1Cisco-2651#show ip ospf border-routers
OSPF Process 1 internal Routing Table Codes: i - Intra-area route, I - Inter-area route i 10.200.1.2 [1] via 10.1.3.1, FastEthernet0/1, ABR, Area 1, SPF 12Cisco-2651#show ip ospf database
OSPF Router with ID (10.1.4.2) (Process ID 1) Router Link States (Area 1) Link ID ADV RouterAgeSeq#ChecksumLink count10.1.4.2 10.1.4.218000x8000000D0x008D3F310.200.1.2 10.200.1.24140x800000090x00EF88110.200.1.4 10.200.1.48210x800000070x005F242 Net Link States (Area 1) Link ID ADV RouterAgeSeq#Checksum 10.1.3.2 10.1.4.218000x800000040x00F040 10.1.4.2 10.1.4.218000x800000050x00FF2D Summary Net Link States (Area 1) Link ID ADV RouterAgeSeq#Checksum 0.0.0.0 10.200.1.25950x800000060x00D5AD 10.1.1.0 10.200.1.2790x800000040x009AD5 10.200.1.2 10.200.1.217900x800000060x00257F Cisco-2651#show ip ospf interface
Loopback1 is up, line protocol is up Internet Address 10.200.1.3/32, Area 1 Process ID 1, Router ID 10.1.4.2, Network Type LOOPBACK, Cost: 1 Loopback interface is treated as a stub HostFastEthernet0/0 is up, line protocol is up Internet Address 10.1.4.2/24, Area 1 Process ID 1, Router ID 10.1.4.2, Network Type BROADCAST, Cost: 1 Transmit Delay is 1 sec, State DR, Priority 1 Designated Router (ID) 10.1.4.2, Interface address 10.1.4.2 Backup Designated router (ID) 10.200.1.4, Interface address 10.1.4.1 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:02 Index 2/2, flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1, maximum is 4 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 10.200.1.4 (Backup Designated Router) Suppress hello for 0 neighbor(s)FastEthernet0/1 is up, line protocol is up Internet Address 10.1.3.2/24, Area 1 Process ID 1, Router ID 10.1.4.2, Network Type BROADCAST, Cost: 1 Transmit Delay is 1 sec, State DR, Priority 1 Designated Router (ID) 10.1.4.2, Interface address 10.1.3.2 Backup Designated router (ID) 10.200.1.2, Interface address 10.1.3.1 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:01 Index 1/1, flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1, maximum is 3 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 10.200.1.2 (Backup Designated Router) Suppress hello for 0 neighbor(s) Top of the page Show Commands Menu
QUAGGA B ROUTER
Quagga_B#show interface description
InterfaceStatusProtocolDescriptioneth0upup loupup Quagga_B#show interface eth0
Interface eth0 is up, line protocol is up index 2 metric 1 mtu 1500 flags: <UP,BROADCAST,RUNNING,MULTICAST> HWaddr: 00:02:11:22:88:88 inet 10.1.4.1/24 broadcast 10.1.4.255 inet6 fe80::201:66ff:1122:8888/64 2598 input packets (0 multicast), 213456 bytes, 0 dropped 0 input errors, 0 length, 0 overrun, 0 CRC, 0 frame 0 fifo, 0 missed 2491 output packets, 229815 bytes, 0 dropped 0 output errors, 0 aborted, 0 carrier, 0 fifo, 0 heartbeat 0 window, 0 collisionsQuagga_B (Linux level)#route -n
Kernel IP routing tableDestinationGatewayGenmaskIndicMetricRefUseIface10.200.1.310.1.4.2255.255.255.255UGH1100eth010.200.1.210.1.4.2255.255.255.255UGH2100eth010.1.4.00.0.0.0255.255.255.0U000eth010.1.1.010.1.4.2255.255.255.0UG2100eth010.1.3.010.1.4.2255.255.255.0UG1100eth00.0.0.010.1.4.20.0.0.0UG1200eth0Quagga_B#show ip route
Codes:K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - ISIS, B - BGP, > - selected route, * - FIB route C>*10.1.4.0/24 is directly connected, eth0C>*10.200.1.4/32 is directly connected, loC>*127.0.0.0/8 is directly connected, loO10.1.4.0/24 [110/10] is directly connected, eth0, 01:04:26O10.200.1.4/32 [110/10] is directly connected, lo, 01:04:26O10.1.1.0/24 [110/21] via 10.1.4.2, eth0, 00:28:00O>*10.1.3.0/24 [110/11] via 10.1.4.2, eth0, 00:52:54O>*10.200.1.2/32 [110/21] via 10.1.4.2, eth0, 00:28:04O>*10.200.1.3/32 [110/11] via 10.1.4.2, eth0, 01:04:17O>*0.0.0.0/0 [110/12] via 10.1.4.2, eth0, 00:28:04Quagga_B#show ip ospf border-routers
============ OSPF router routing table =============R10.200.1.2[11] area: 0.0.0.1, ABR via 10.1.4.2, eth0Quagga_B#show ip ospf database
OSPF Router with ID (10.200.1.4) Router Link States (Area 0.0.0.1 [Stub]) Link ID ADV RouterAgeSeq#CkSumLink count10.1.4.2 10.1.4.217180x8000000a0x933c310.200.1.2 10.200.1.216900x800000050xf784110.200.1.4 10.200.1.42940x800000040x65212 Net Link States (Area 0.0.0.1 [Stub]) Link ID ADV RouterAgeSeq#CkSum 10.1.3.2 10.1.4.217180x800000010xf63d 10.1.4.2 10.1.4.218870x800000020x062a Summary Link States (Area 0.0.0.1 [Stub]) Link ID ADV RouterAgeSeq#CkSumRoute0.0.0.0 10.200.1.21630x800000030xdbaa0.0.0.0/010.1.1.0 10.200.1.217150x800000010xa0d210.1.1.0/2410.200.1.2 10.200.1.21430x800000030x2b7c10.200.1.2/32Quagga_B#show ip ospf route
============ OSPF network routing table ============NIA0.0.0.0/0[12] area: 0.0.0.1 via 10.1.4.2, eth0NIA10.1.1.0/24[21] area: 0.0.0.1 via 10.1.4.2, eth0N 10.1.3.0/24[11] area: 0.0.0.1 via 10.1.4.2, eth0N 10.1.4.0/24[10] area: 0.0.0.1 directly attached to eth0NIA10.200.1.2/32[21] area: 0.0.0.1 via 10.1.4.2, eth0N 10.200.1.3/32[11] area: 0.0.0.1 via 10.1.4.2, eth0N 10.200.1.4/32[10] area: 0.0.0.1 directly attached to lo ============ OSPF router routing table =============R 10.200.1.2[11] area: 0.0.0.1, ABR via 10.1.4.2, eth0 ============ OSPF external routing table ===========Quagga_B#show ip ospf neighbor
Neighbor IDPriStateDead TimeAddressInterfaceRXmtLRqstLDBsmL10.1.4.21Full/DR33.812s10.1.4.2eth0:10.1.4.1000Quagga_B#show ip forwarding
IP forwarding is offSee for explanation on Linux IP forwarding.
Quagga_B#show ip ospf interface
eth0 is up ifindex 2, MTU 1500 bytes, BW 0 Kbit <UP,BROADCAST,RUNNING,MULTICAST> Internet Address 10.1.4.1/24, Broadcast 10.1.4.255, Area 0.0.0.1 [Stub] MTU mismatch detection:enabled Router ID 10.200.1.4, Network Type BROADCAST, Cost: 10 Transmit Delay is 1 sec, State Backup, Priority 1 Designated Router (ID) 10.1.4.2, Interface Address 10.1.4.2 Backup Designated Router (ID) 10.200.1.4, Interface Address 10.1.4.1 Multicast group memberships: OSPFAllRouters OSPFDesignatedRouters Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5 Hello due in 6.517s Neighbor Count is 1, Adjacent neighbor count is 1lo is up ifindex 1, MTU 16436 bytes, BW 0 Kbit <UP,LOOPBACK,RUNNING> Internet Address 10.200.1.4/32, Area 0.0.0.1 [Stub] MTU mismatch detection:enabled Router ID 10.200.1.4, Network Type LOOPBACK, Cost: 10 Transmit Delay is 1 sec, State Loopback, Priority 1 No designated router on this network No backup designated router on this network Multicast group memberships: <None> Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5 Hello due in inactive Neighbor Count is 0, Adjacent neighbor count is 0Quagga_B#traceroute 10.200.1.1
traceroute to 10.200.1.1 (10.200.1.1), 30 hops max, 40 byte packets 110.1.4.20.918 ms0.960 ms0.951 ms 210.1.3.10.416 ms0.336 ms0.340 ms 310.1.1.20.790 ms*0.834 msTraceroute must be installed on your operational system to be used under the Quagga router. See theQuagga tutorial for help.
- Quagga Case 3
- Quagga Case 2
- Quagga Case 4
- Quagga Case 1
- quagga
- quagga
- zebra/quagga ospf and unh test section 3
- zebra/quagga ospf and unh test section 3
- 初识quagga
- quagga 安装
- Quagga 简介
- quagga安装
- quagga简介
- Quagga-RE
- (OK) quagga
- Quagga 简介
- Quagga How to use Quagga
- use case 简析 3
- SELECT 语句 (七部分)
- C++、VC++和MFC的区别与联系
- Android连接MySQL总结
- 大整数构造前需要了解的:整型数据范围(含计算方法)及内存占用(C/C++)
- 【C语言】左值与右值
- Quagga Case 3
- 8.[个人]C++线程入门到进阶(8)----经典线程同步与互斥总结
- CentOS下以RPM方式安装MySQL5.5
- vue2.0的安装
- hdu
- 9.[个人]C++线程入门到进阶(9)----线程与进程的区别
- Linux shell 用for循环100次的方法
- 在cmd中登录Mysql数据库
- HDU5543-Pick The Sticks