帧中继水平分割问题帧中继上的水平分割问题!图中所示拓扑topoly1,图中R1和R2,R1和R3之间有PVC存在,而R2和R3之间没有PVC.在R1,R2,R3配置RiP路由协议,如过在R1的S0/0借口开启水平分割,则路由更新将会出现问题R3把192.168.1.0/24路由通过帧中继链路广播给R1,R1路由表中将会有该路由,然而由于水平分割的原因,R1并不会把该路由从S0/0借口广播出去.结果将导致R2没有192.168.1.0/24的路由,同样,R1将有172.16.0.0/16的路由,而R3没有172.16.0.0/16路由.解决该问题的方法有几种:1.第一种方法是在R1上把水平分割关掉,实际上如果在S0/0封状了帧中继.CISCO路由器默认会把水平分割关闭!手工关闭水平分割的命令为:Router(config)#intS0/0Router(config-if)#noipsplit–horizon2.解决水平分割的第二种方法是在R2和R3之间增加一条PVC,这样R3会把192.168.1.0/24的路由通过该PVC广播给R2,然而这样会增加通信费用!3.第三种方法通过子接口。所谓子接口实际上是一个逻辑的接口,并不存在真正物理上的子接口.子接口有两中类型:点到点,点到多点,采用点到点子接口时,每一个子接口用来连接一条PVC,每条PVC的另一端连接到另一路由器的一个子接口或物理接口.这种子接口的连通与通过物理接口的点对点连接效果是一样的,所以路由器从一个子借口收到路由广播,会把路由广播从另一子接口发送出去解决了水平分割问题!点到点子接口,。每一对点到点的连接都是在不同的子网,点对点子接口配置、(1)对主接口进行配置Router(config)#intS0/0Router(config-if)#noipaddreesRouter(config-if)#encapsulationframe–RelayRouter(config-if)#frame–Relaylmi–typeciscoRouter(config-if)#noframe–Relayinverse–arpRouter(config-if)#noshut(2)创建点到点子接口Router(config)#intS0/0.2point-to—point(3)在子接口下进行配置Router(config-subif)#ipadd12.12.12.1255.255.255.0Router(config-subif)#frame–Relayinterface–dlci102在子接口下不能使用frame–Relaymapip命令来配置帧中继的映射,而改用命令frame–Relayinterface–dlci.(4)同样创建S0/0.3子接口Router(config)#intS0/0.3point-to—pointRouter(config-subif)#ipadd13.13.13.1255.255.255.0Router(config-subif)#frame–Relayinterface–dlci103点到多点子接口一个点到多点子借口被用来建立多条PVC,这些PVC连接到原段路由器的多个子接口或物理接口。所以加入连接的接口都应该在同一个子网上。点到多点子接口默认时,水平分割是开启的。点对对点子接口配置(1)对主接口进行配置Router(config)#intS0/0Router(config-if)#noipaddreesRouter(config-if)#encapsulationframe–RelayRouter(config-if)#frame–Relaylmi–typeciscoRouter(config-if)#noframe–Relayinverse–arpRouter(config-if)#noshutRouter(config)#ints0/0.34point–to–multipointRouter(config)#ipadd13.13.13.1255.255.255.0Router(config)#frame-relaymapip13.13.13.3103broadRouter(config)#frame-relaymapip13.13.13.4104broadcastRouter(config-subif)#noipsplit–borizon案列:帧中继上的RIP配置R2的配置(1)step1:开启帧中继交换功能。R2(config)#frame–Relayswitching(2)step1:配置接口封状R2(config)#ints0/0R2(config-if)#noshutR2(config-if)#clcokrate128000R2(config-if)#encapsulationframe–RelayS0/1,S0/2与S0/0相同配置略(3)step3:配置lmi类型R2(config)#ints0/0R2(config-if)#frame–Relaylmi–typeciscoR2(config-if)#frame–Relayintf–typedceS0/1,S0/2与S0/0相同配置(4)step4:配置帧中继交换表R2(config)#ints0/0R2(config-if)#frame–Relayroute103interfaceso0/1301R2(config-if)#frame–Relayroute104interfaceso0/2401R2(config)#ints0/1R2(config-if)#frame–Relayroute301interfaceso0/0103R2(config)#ints0/2R2(config-if)#frame–Relayroute401interfaceso0/0104R1的配置:R1(config)#intlo0R1(config-if)#noframe–relayinverse–arpR1(config-if)#frame–relaymapip192.168.123.3103broudR1(config-if)#frame–relaymapip192.168.123.4104broudR1(config-if...