OSPF Authentication over FR

2008-02-23 04:53:28来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折

--------------------------------------------------------------------------------
R1 (s0/0) -------------------R3 --------------------(s0/0) R4

1. R3 is Hub
2. R3 can use point-to-multipoint subinterface
3. R1 and R4 used physical interface only
4. only between R1 and R3 can use MD5 authenticaiton

--------------------------------------------------------------------------------------

hostname r1
!
!
!
interface Loopback0
ip address 10.1.1.1 255.255.255.0
!
interface Serial0/0
no ip address
encapsulation frame-relay
frame-relay interface-dlci 103 ppp Virtual-Template1
no frame-relay inverse-arp
!
interface Virtual-Template1
ip unnumbered Loopback0
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cisco
!
router ospf 1
area 0 authentication message-digest
network 10.1.1.0 0.0.0.255 area 0


r1#sh ip route

40.0.0.0/32 is subnetted, 1 subnets
O 40.1.1.1 [110/3] via 30.1.1.1, 00:14:38, Virtual-Access1
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, Loopback0
30.0.0.0/32 is subnetted, 1 subnets
C 30.1.1.1 is directly connected, Virtual-Access1
r1#
r1#sh ip ospf nei

Neighbor ID Pri State Dead Time Address Interface
30.1.1.1 1 FULL/ - 00:00:37 30.1.1.1 Virtual-Access1
r1#
r1#sh ip int brief
Interface IP-Address OK? Method Status Protocol
Ethernet0/0 unassigned YES unset administratively down down
Serial0/0 unassigned YES unset up up
Serial0/1 unassigned YES unset administratively down down
Virtual-Access1 10.1.1.1 YES TFTP up up
Virtual-Template1 10.1.1.1 YES manual down down
Loopback0 10.1.1.1 YES manual up up
r1#
r1#ping 30.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 30.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/6/8 ms
r1#ping 40.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 40.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/9/12 ms
================================================
hostname r3

interface Loopback0
ip address 30.1.1.1 255.255.255.0

!
interface Serial0/0
no ip address
encapsulation frame-relay
no frame-relay inverse-arp
!
interface Serial0/0.1 multipoint
frame-relay interface-dlci 301 ppp Virtual-Template1
frame-relay interface-dlci 304 ppp Virtual-Template2
!
interface Virtual-Template1
ip unnumbered Loopback0
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cisco
!
interface Virtual-Template2
ip unnumbered Loopback0
!
router ospf 1

area 0 authentication message-digest
network 30.1.1.0 0.0.0.255 area 0


r3# sh ip ospf nei

Neighbor ID Pri State Dead Time Address Interface
40.1.1.1 0 FULL/ - 00:00:30 40.1.1.1 Virtual-Access1
10.1.1.1 0 FULL/ - 00:00:34 10.1.1.1 Virtual-Access3
r3#
r3#sh ip route

Gateway of last resort is not set

40.0.0.0/32 is subnetted, 1 subnets
C 40.1.1.1 is directly connected, Virtual-Access1
10.0.0.0/32 is subnetted, 1 subnets
C 10.1.1.1 is directly connected, Virtual-Access3
30.0.0.0/24 is subnetted, 1 subnets
C 30.1.1.0 is directly connected, Loopback0
r3#
r3#sh ip int brie
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
Serial0/0 unassigned YES unset up up
Serial0/0.1 unassigned YES unset up up
Serial0/0.2 unassigned YES unset deleted down
BRI0/0 unassigned YES unset administratively down down
BRI0/0:1 unassigned YES unset administratively down down
BRI0/0:2 unassigned YES unset administratively down down
Serial0/1 unassigned YES unset administratively down down
Virtual-Access1 30.1.1.1 YES TFTP up up
Virtual-Template1 30.1.1.1 YES TFTP down down
Virtual-Access2 unassigned YES unset down down
Virtual-Template2 30.1.1.1 YES TFTP down down
Virtual-Access3 30.1.1.1 YES TFTP up up
Loopback0 30.1.1.1 YES manual up up
r3#
r3#p 10.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/8 ms
r3#p 40.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 40.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/6/8 ms

-----------------------------------------------------------------------------------------------------
hostname r4

interface Loopback0
ip address 40.1.1.1 255.255.255.0
!
interface Serial0/0
no ip address
encapsulation frame-relay
frame-relay interface-dlci 403 ppp Virtual-Template1
no frame-relay inverse-arp
!
interface Virtual-Template1
ip unnumbered Loopback0

router ospf 1
area 0 authentication message-digest
network 40.1.1.0 0.0.0.255 area 0

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:OSPF Point-to-point non-broadcast

下一篇:PPPoE/PPPoFR R3 is FR Hub/PPPoE server, R1 and R4 are FR spo