接口网络类型
point-to-point(hdlc,ppp,frame relay点到点子接口)
multiaccess多路访问网络,多路访问网络分以下两种
broadcast广播的多路访问网络(ethernet,token ring,and fddi)
nonbroadcast multiaccess(nbma)非广播多路访问网络(frame relay物理接口和多点子接口,and x.25,atm)
tcp/ip_ospf over frame-relay1
第一部分:帧中继互联
1.三台设备接口同一网段全互联;nbma的情况手工指定neighbors(千万注意dr的位置/或者在drother上多指定一个邻居,否则可能造成路由缺失),观察hello-interval 30,attempt状态attempt/drother
2.三台设备接口同一网段全互联:broadcast情况下,切记注意帧中继静态的"伪广播",推荐修改成broadcast网络类型,正常宣告,destination 224.0.0.5.
fr-switch:
frame-relay switching
int s0/0
encapsulation frame-relay
no sh
frame-relay intf-type dce
frame-relay route 103 int s0/1 301
frame-relay route 104 int s0/2 401
int s0/1
encapsulation frame-relay
frame-relay intf-type dce
frame-relay route 301 int s0/0 103
frame-relay route 204 int s0/2 402
no sh
int s0/2
encapsulation intf-type dce
frame-relay route 402 int s0/1 204
frame-relay route 401 int s0/0 104
no sh
r1:
int s0/0
encapsulation frame-relay
no sh
r3:
int s0/1
encapsulation frame-relay
no sh
r4:
int s0/2
encapsulation frame-relay
no sh
fr-switch:
show frame-relay route
r1:
show frame-relay pvc | s s
r3:
show frame-relay pvc | i s
r4:
show frame-relay pvc | i s
r1:
int s0/0
ip add 10.1.1.1 255.255.255.0
r3:
int s0/1
ip add 10.1.1.3 255.255.255.0
r4:
int s0/2
ip add 10.1.1.4 255.255.255.0
show frame-relay map(inverse-arp,ip和dlci的映射,动态映射支持广播)
ping 10.1.1.1
ping 10.1.1.3
ping 255.255.255.255
r1:
int s0/0
no frame-relay inverse-arp
r3:
no frame-relay inverse-arp
r4:
no frame-relay inverse-arp
r1:
frame-relay map ip 10.1.1.3 103
frame-relay map ip 10.1.1.4 104
r3:
frame-relay map ip 10.1.1.1 301
frame-relay map ip 10.1.1.4 204
r4:
frame-relay map ip 10.1.1.1 401
frame-relay map ip 10.1.1.3 402
r1:
ping 255.255.255.255
debug ip packet detail
debug frame-relay packet
int s0/0
frame-relay map ip 10.1.1.3 103 broadcast
frame-relay map ip 10.1.1.4 104 broadcast
r3:
int s0/1
frame-relay map ip 10.1.1.1 301 broadcast
frame-relay map ip 10.1.1.4 204 broadcast
r4:
frame-relay map ip 10.1.1.1 401 broadcast
frame-relay map ip 10.1.1.3 402 broadcast
osf网络类型,影响ospf运算和计算,跟实际的接口类型无关(三层概念)
point-to-point(不存在dr选举,h10d40)
broadcast(存在dr选举,h10d40)
nbma(存在dr选举,h30d120,必须手工指定邻居)
point-to-multipoint(不存在dr选举,h30d120,存在32位的主机路由)
point-to-multipoint nonbroadcast(不存在dr选举,h30d120,必须手工指定邻居,存在32位的主机路由)
loopback(loopback接口特有类型,掩码总是32位)
注*virtual links
r3:
int f1/0
ip add 35.1.1.3 255.255.255.0
ip ospf 110 area 0
r5:
int f1/0
ip add 35.1.1.5 255.255.255.0
ip ospf 110 area 0
r3:
int f1/0
ip ospf network point-to-point
r5:
int f1/0
ip ospf network point-to-point
no ip ospf network
r3:
int lo0
ip add 33.1.1.1 255.255.255.0
ip ospf 110 area 0
show ip ospf int lo0
r5:
int f1/0
ip ospf network point-to-point
no ip ospf network
r3:
int f1/0
no ip ospf network
标签:10.1,NETWORK,relay,int,Type,frame,s0,ip,OSPF From: https://www.cnblogs.com/smoke520/p/18368015