hcia静态路由实验

出共有6个网段。而每个网段都需要两个ip地址,因此可以用30位的掩码。
192.168.1.0/24
192.168.1.00000000 192.168.1.000 000 00 27 
1、192.168.1.000 000 00 192.168.1.0/30
2、192.168.1.000 001 00 192.168.1.4/30
3、192.168.1.000 010 00 192.168.1.8/30
4、192.168.1.000 011 00 192.168.1.12/30
5、192.168.1.000 100 00 192.168.1.16/30
6、192.168.1.000 101 00 192.168.1.20/30
7、192.168.1.000 110 00 192.168.1.24/30
8、192.168.1.000 111 00 192.168.1.28/30
根据要求2,AR1-AR4每个路由器需两个环回接口。

 AR1:192.168.1.001 0 0000 192.168.1.32/27   ----汇总后的子网
     192.168.1.001 0 0000 192.168.1.32/28
     192.168.1.001 1 0000 192.168.1.48/28
 AR2:192.168.1.010 0 0000 192.168.1.64/27   ----汇总后的子网
     192.168.1.010 0 0000 192.168.1.64/28
     192.168.1.010 1 0000 192.168.1.80/28 
 AR3:192.168.1.011 0 0000 192.168.1.96/27   ----汇总后的子网
     192.168.1.011 0 0000 192.168.1.96/28
     192.168.1.011 1 0000 192.168.1.112/28 
 AR4:192.168.1.100 0 0000 192.168.1.128/27  ----汇总后的子网
     192.168.1.100 0 0000 192.168.1.128/28
     192.168.1.100 1 0000 192.168.1.144/28

hcia静态路由实验_第1张图片

AR1:
[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.1 30
Sep 20 2024 21:42:39-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
 IP on the interface GigabitEthernet0/0/0 has entered the UP state. 
[Huawei-GigabitEthernet0/0/0]int g0/0/1
[Huawei-GigabitEthernet0/0/1]ip add 192.168.1.5 30
Sep 20 2024 21:43:00-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
 IP on the interface GigabitEthernet0/0/1 has entered the UP state. 
[Huawei-GigabitEthernet0/0/1]int lo 0
[Huawei-LoopBack0]ip add 192.168.1.33 28
[Huawei-LoopBack0]int lo 1
[Huawei-LoopBack1]ip add 192.168.1.49 28

AR2:

你可能感兴趣的:(网络,服务器,运维)