Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure an IP address for each connected interface.
2.
Configure static routes to indirectly connected devices.
3.
Disable an interface from sending ICMP redirection packets.
Data Preparation
To complete the configuration, you need the following data:
l
Static routes to indirectly connected devices.
l
IP addresses of interfaces.
Procedure
Step 1
Configure IP addresses for interfaces.
# Configure RouterA.
<Huawei>
system-view
[Huawei]
sysname RouterA
[RouterA]
interface ethernet 1/0/0
[RouterA-Ethernet1/0/0]
ip address 1.1.1.1 24
[RouterA-Ethernet1/0/0]
quit
# Configure RouterB.
<Huawei>
system-view
[Huawei]
sysname RouterB
[RouterB]
interface ethernet 1/0/0
[RouterB-Ethernet1/0/0]
ip address 1.1.1.2 24
[RouterB-Ethernet1/0/0]
quit
# Configure RouterC.
<Huawei>
system-view
[Huawei]
sysname RouterC
[RouterC]
interface ethernet 1/0/0
[RouterC-Ethernet1/0/0]
ip address 2.2.2.2 24
[RouterC-Ethernet1/0/0]
quit
Step 2
Configure static routes.
# Configure RouterA.
[RouterA]
ip route-static 2.2.2.0 255.255.255.0 1.1.1.2
# Configure RouterB.
[RouterB]
ip route-static 2.2.2.0 255.255.255.0 1.1.1.1
Step 3
Disable Eth1/0/0 on RouterB from sending ICMP redirection packets.
[RouterB]
interface ethernet 1/0/0
[RouterB-Ethernet1/0/0]
undo icmp redirect send
[RouterB-Ethernet1/0/0]
quit
Step 4
Verify the configuration.
# Enable ICMP packet debugging on RouterB.
<RouterB>
debugging ip icmp
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service
7 IP Performance Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
190