静态路由配置

静态路由配置

 

AR1: <Huawei>sy

[Huawei]interface g0/0/0

[Huawei-GigabitEthernet0/0/0]ip address 192.168.1.1 24

[Huawei-GigabitEthernet0/0/0]

Aug 15 2022 23:28:18-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]quit

[Huawei]interface g0/0/1

[Huawei-GigabitEthernet0/0/1]ip address 12.0.0.1 24

Aug 15 2022 23:29:06-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]quit

[Huawei]interface g0/0/0

[Huawei-GigabitEthernet0/0/0]quit

[Huawei]interface g0/0/1

[Huawei-GigabitEthernet0/0/1]ip route-static   192.168.2.1 24   12.0.0.2

Info: The destination address and mask of the configured static route mismatched

, and the static route 192.168.2.0/24 was generated.

[Huawei]ip route-static   192.168.3.1 24 12.0.0.2

Info: The destination address and mask of the configured static route mismatched

, and the static route 192.168.3.0/24 was generated.



AR2:

<Huawei>sy

[Huawei]interface g0/0/0

[Huawei-GigabitEthernet0/0/0]ip address  12.0.0.2 24

Aug 15 2022 23:30:27-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]quit

[Huawei]interface g0/0/1

[Huawei-GigabitEthernet0/0/1]ip address 192.168.2.1 24

Aug 15 2022 23:30:50-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]quit

[Huawei]interface g0/0/2

[Huawei-GigabitEthernet0/0/2]ip address 23.0.0.1 24

Aug 15 2022 23:31:16-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[2]:The line protocol

 IP on the interface GigabitEthernet0/0/2 has entered the UP state.

[Huawei-GigabitEthernet0/0/2]

Aug 15 2022 23:32:27-08:00 Huawei ARP/4/ARP_IPCONFLICT_TRAP:OID 16777216.5033164

8.100663296.16777216.67108864.16777216.3674669056.83886080.419430400.2063597568.

33554432.100663296 ARP detects IP conflict. (IP address=1.0.0.23, Local interfac

e=GigabitEthernet0/0/2, Local MAC=00e0-fcc2-4596, Local vlan=0, Local CE vlan=0,

 Receive interface=GigabitEthernet0/0/2, Receive MAC=00e0-fcae-7eb0, Receive vla

n=0, Receive CE vlan=0, IP conflict type=Local IP conflict).

[Huawei-GigabitEthernet0/0/2]

Aug 15 2022 23:32:27-08:00 Huawei %%01ARP/4/ARP_DUPLICATE_IPADDR(l)[3]:Received

an ARP packet with a duplicate IP address from the interface. (IpAddress=1.0.0.2

3, InterfaceName=GigabitEthernet0/0/2, MacAddress=00e0-fcae-7eb0)

[Huawei]interface g0/0/2

[Huawei-GigabitEthernet0/0/2]ip route-static   192.168.3.1 24 23.0.0.2

Info: The destination address and mask of the configured static rou







AR3:

[Huawei]interface g0/0/0

[Huawei-GigabitEthernet0/0/0]ip address  23.0.0.1 24

[Huawei-GigabitEthernet0/0/0]

Aug 15 2022 23:32:26-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]

Aug 15 2022 23:32:27-08:00 Huawei ARP/4/ARP_IPCONFLICT_TRAP:OID 16777216.5033164

8.100663296.16777216.67108864.16777216.3674669056.83886080.419430400.2063597568.

33554432.100663296 ARP detects IP conflict. (IP address=1.0.0.23, Local interfac

e=GigabitEthernet0/0/0, Local MAC=00e0-fcae-7eb0, Local vlan=0, Local CE vlan=0,

 Receive interface=GigabitEthernet0/0/0, Receive MAC=00e0-fcc2-4596, Receive vla

n=0, Receive CE vlan=0, IP conflict type=Local IP conflict).

[Huawei-GigabitEthernet0/0/0]

Aug 15 2022 23:32:27-08:00 Huawei %%01ARP/4/ARP_DUPLICATE_IPADDR(l)[1]:Received

an ARP packet with a duplicate IP address from the interface. (IpAddress=1.0.0.2

3, InterfaceName=GigabitEthernet0/0/0, MacAddress=00e0-fcc2-4596)

[Huawei-GigabitEthernet0/0/0]quit

[Huawei]interface g0/0/1
[Huawei-GigabitEthernet0/0/1]ip address 192.168.3.1 24

Aug 15 2022 23:33:12-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[2]:The line protocol

 IP on the interface GigabitEthernet0/0/1 has entered the UP state.

[Huawei]interface g0/0/0

[Huawei-GigabitEthernet0/0/0]ip route-static   192.168.2.1 24 23.0.0.1

Error: The next-hop address is invalid.

[Huawei]ip route-static   192.168.1.1 24 23.0.0.1

Error: The next-hop address is invalid.

[Huawei]ping 192.168.1.2

  PING 192.168.1.2: 56  data bytes, press CTRL_C to break

    Request time out

    Request time out

    Request time out

    Request time out

    Request time out



  --- 192.168.1.2 ping statistics ---

    5 packet(s) transmitt

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值