Network requirements – H3C Technologies H3C S12500 Series Switches User Manual

Page 28

Advertising
background image

12

[SwitchB] display ip routing-table

Routing Tables: Public

Destinations : 10 Routes : 10

Destination/Mask Proto Pre Cost NextHop Interface

1.1.2.0/24 Static 60 0 1.1.4.1 Vlan500

1.1.3.0/24 Static 60 0 1.1.5.6 Vlan600

1.1.4.0/30 Direct 0 0 1.1.4.2 Vlan500

1.1.4.2/32 Direct 0 0 127.0.0.1 InLoop0

1.1.5.0/30 Direct 0 0 1.1.5.5 Vlan600

1.1.5.5/32 Direct 0 0 127.0.0.1 InLoop0

127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0

127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0

1.1.6.0/24 Direct 0 0 1.1.6.1 Vlan100

1.1.6.1/32 Direct 0 0 127.0.0.1 InLoop0

# Use the ping command on Host B to test reachability to Host A (Windows XP runs on the two

hosts).

C:\Documents and Settings\Administrator>ping 1.1.2.2

Pinging 1.1.2.2 with 32 bytes of data:

Reply from 1.1.2.2: bytes=32 time=1ms TTL=126

Reply from 1.1.2.2: bytes=32 time=1ms TTL=126

Reply from 1.1.2.2: bytes=32 time=1ms TTL=126

Reply from 1.1.2.2: bytes=32 time=1ms TTL=126

Ping statistics for 1.1.2.2:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 1ms, Maximum = 1ms, Average = 1ms

# Use the tracert command on Host B to test reachability to Host A.

C:\Documents and Settings\Administrator>tracert 1.1.2.2

Tracing route to 1.1.2.2 over a maximum of 30 hops

1 <1 ms <1 ms <1 ms 1.1.6.1

2 <1 ms <1 ms <1 ms 1.1.4.1

3 1 ms <1 ms <1 ms 1.1.2.2

Trace complete.

BFD for static routes configuration example (direct next hop)

Network requirements

As shown in

Figure 3

, configure a static route to subnet 120.1.1.0/24 on Switch A and configure a static

route to subnet 121.1.1.0/24 on Switch B. Enable BFD for both routes so that when the link between Switch

Advertising