设备名称 |
接口 |
IP地址 |
PC5 |
- |
172.16.0.1/16 |
PC6 |
- |
172.16.1.1/16 |
AR1 |
g0/0/0 |
172.16.0.254/24 |
AR1 |
g0/0/1 |
172.16.1.254/24 |
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip ad 172.16.0.254 24
[Huawei-GigabitEthernet0/0/0]int g0/0/1
[Huawei-GigabitEthernet0/0/1]ip ad 172.16.1.254 24
[Huawei-GigabitEthernet0/0/1]dis arp all
IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE ***-INSTANCE
VLAN/CEVLAN PVC
------------------------------------------------------------------------------
172.16.0.254 00e0-fca6-2616 I - GE0/0/0
172.16.1.254 00e0-fca6-2617 I - GE0/0/1
------------------------------------------------------------------------------
Total:2 Dynamic:0 Static:0 Interface:2
[Huawei-GigabitEthernet0/0/1]arp-proxy enable
[Huawei-GigabitEthernet0/0/1]int g0/0/0
[Huawei-GigabitEthernet0/0/0]arp-proxy enable
[Huawei-GigabitEthernet0/0/0]dis arp all
IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE ***-INSTANCE
VLAN/CEVLAN PVC
------------------------------------------------------------------------------
172.16.0.254 00e0-fca6-2616 I - GE0/0/0
172.16.1.254 00e0-fca6-2617 I - GE0/0/1
------------------------------------------------------------------------------
Total:2 Dynamic:0 Static:0 Interface:2
[Huawei-GigabitEthernet0/0/0]
[Huawei-GigabitEthernet0/0/0]dis arp all
IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE ***-INSTANCE
VLAN/CEVLAN PVC
------------------------------------------------------------------------------
172.16.0.254 00e0-fca6-2616 I - GE0/0/0
172.16.0.1 5489-981b-6c16 20 D-0 GE0/0/0
172.16.1.254 00e0-fca6-2617 I - GE0/0/1
172.16.1.1 5489-9806-702f 20 D-0 GE0/0/1
------------------------------------------------------------------------------
Total:4 Dynamic:2 Static:0 Interface:2
[Huawei-GigabitEthernet0/0/0]