eNSP学习记录二——AS间配置BGP协议并在AS中配置OSPF和RIP协议
一、创建网络拓扑
如图配置拓扑。
1 配置PC机
除了配置IP和子网掩码之外,还需要配置网关地址(直连路由器的IP);刚开始给漏了,结果想了好一会才想起来网关忘记配置了。
2 配置路由器
此处以AR5为例:
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR5
[AR5]interface Vlanif 1
Oct 23 2021 10:19:51-08:00 AR5 %%01IFNET/4/IF_STATE(l)[0]:Interface Vlanif1 has turned into UP state.
[AR5-Vlanif1]ip address 192.168.1.1 24
Oct 23 2021 10:20:11-08:00 AR5 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP on the interface Vlanif1 has entered the UP state.
[AR5-Vlanif1]q
[AR5]interface LoopBack 0
[AR5-LoopBack0]ip address 10.1.5.5 32
[AR5-LoopBack0]q
[AR5]interface