您的位置:首页 > 其它

帧中继动态映射与静态映射主要区别

2014-12-02 23:12 381 查看


帧中继动态映射与静态映射主要区别现在的理解是:

1.动态映射 :frame-relay inverse-arp (这个是默认配置) 它会自动将PVC另一端的设备的IP地址映射到本地DLCI。(在做实验时,最好先clear frame-relay inarp 删除映射表)

2.静态映射当然就要自己配置了,在配置静态映射时,切记要在接口下 no frame-relay inverse-arp 然后根据命令:frame-relay map protocol protocol-address dlci [broadcast] [ietf | cisco ] [payloadompress { packet-by-packet
| frf9 stac} ]

动态映射中R2,R3没有建立邻居关系。(逆向ARP并不提供让路由器R2和R3能够相互通信的动态映射,因为它们并不是通过PVC相连的,必须要手工配置它们)

R1:

ena

conf t

frame-relay sw

int s0/0

enca frame-relay

frame-relay intf-type dce

frame-relay route 102 int s0/1 100

frame-relay route 103 int s0/2 130

clock rate 64000

no sh

int s0/1

enca frame-relay

frame-relay intf-type dce

frame-relay route 100 int s0/0 102

clock rate 64000

no sh

int s0/2

enca frame-relay

frame-relay intf-type dce

frame-relay route 130 int s0/0 103

clock rate 64000

no sh

R2:

ena

conf t

int s0/0

enca frame-relay

frame-relay inter 102

frame-relay inter 103

ip add 192.168.1.101 255.255.255.0

no sh

exit

router eig 1

network 192.168.1.0 0.0.0.255

network 172.16.1.0 0.0.0.255

no au

exit

int f1/0

ip add 172.16.1.2 255.255.255.0

no sh

R3:

ena

conf t

int s0/0

enc frame-re

frame-re inte 100

ip add 192.168.1.102 255.255.255.0

no sh

exit

router eig 1

netw 192.168.1.0 0.0.0.255

no au

R4:

ena

conf t

int s0/0

enc frame-re

frame-re inte 130

ip add 192.168.1.103 255.255.255.0

no sh

exit

router eig 1

netw 192.168.1.0 0.0.0.255

no au

R5:

ena

conf t

int f0/0

ip add 172.16.1.1 255.255.255.0

no sh

exit

router eig 1

netwo 172.16.1.0 0.0.0.255

no au

在上面的基础上改成静态:

R2

end

conf t

int s0/0

no frame-relay inv

end

clear frame-relay inarp

conf t

int s0/0

frame-relay map ip 192.168.1.101 101

frame-relay map ip 192.168.1.102 102 bro

frame-relay map ip 192.168.1.103 103 bro

R3

end

conf t

int s0/0

no frame-relay inv

end

clear frame-relay inarp

conf t

int s0/0

frame-relay map ip 192.168.1.101 100 bro

frame-relay map ip 192.168.1.103 100 bro

R4:

end

conf t

int s0/0

no frame-relay inv

end

clear frame-relay inarp

conf t

int s0/0

frame-relay map ip 192.168.1.101 130 bro

frame-relay map ip 192.168.1.102 130 bro
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: