H3C Technologies H3C SR8800 User Manual
Page 289
273
[RouterA-Serial2/1/9/1:0] ip address 1.1.3.1 255.255.255.0
2.
Configure Router B:
# Configure a static route to subnet 10.110.0.0/24.
[RouterB] ip route-static 10.110.0.0 24 1.1.2.1
# Configure the IP address of the serial port.
[RouterB] interface Serial 3/1/9/2:0
[RouterB-Serial3/1/9/2:0] ip address 1.1.2.2 255.255.255.0
[RouterB-Serial3/1/9/2:0] quit
3.
Configure Router C:
# Configure a static route to subnet 10.110.0.0/24.
[RouterC] ip route-static 10.110.0.0 24 1.1.3.1
# Configure the IP address of the serial port.
[RouterC] interface Serial 3/1/9/1:0
[RouterC-Serial3/1/9/1:0] ip address 1.1.3.2 255.255.255.0
[RouterC-Serial3/1/9/1:0] quit
4.
Verify the configuration:
Configure the IP address of Host A as 10.110.0.20/24, and the gateway as 10.110.0.10.
On Host A, telnet to Router B (1.1.2.2) that is directly connected to Router A. The operation
succeeds.
On Host A, telnet to Router C (1.1.3.2) that is directly connected to Router A. The operation fails.
Ping Router C from Host A. The operation succeeds.
Telnet uses TCP, and ping uses ICMP. The preceding results show that all TCP packets arriving on
GigabitEthernet 3/1/1 of Router A are forwarded via next hop 1.1.2.2, and other packets are
forwarded via next hop 1.1.3.2 on Router C. The PBR configuration is effective.
- H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module