Appendix A Network Troubleshooting

Table 141 route print Command Output

OUTPUT

DESCRIPTION

Netmask

The destination subnet mask of packets that this route entry is to

 

route. The subnet mask can be the apropriate subnet mask for a

 

network, 255.255.255.255 for a host, or 0.0.0.0 for the default

 

route.

 

 

Gateway

The IP address of the gateway through which this computer

 

should send the matched packets.

 

 

Interface

The IP address of an physical interface on this computer used to

 

send the matched packets for this route entry.

 

 

Metric

The metric (hop count) of this route. Normally, the lower the

 

number, the faster to a destination.

 

 

Default Gateway

The IP address of the gateway through which this computer sends

 

all the rest packets if this computer cannot find any other

 

matched routes for the packets.

 

 

Persistent Routes

This section lists all routes that are manually configured.

 

 

In this example, the 172.16.1.0 is the network address. The 172.16.1.32 is the address of the local computer. 172.16.1.255 is the network broadcast address which sends broadcast packets to all computers on the 172.16.1.x network. 172.16.1.254 is the default gateway.

You may have more than one 0.0.0.0 entry if your computer has two or more network cards installed. This may casue packets to be routed somewhere unexpected. Delete all 0.0.0.0 entries except the one that you want to use for the default gateway. In the following example, the computer uses the first 0.0.0.0 entry for the default gateway.

Network Destination

Netmask

Gateway

Interface

Metric

0.0.0.0

0.0.0.0

192.168.1.254

192.168.1.33

1

0.0.0.0

0.0.0.0

172.16.1.254

172.16.1.32

1

To delete the route to the default route with the gateway of 192.168.1.254, type: route delete 0.0.0.0 mask 0.0.0.0 192.168.1.254.

To add a route to the destination 172.16.2.0 with the subnet mask of 255.255.255.0, the next hop address of 172.16.1.250, and the cost metric of 7, type: route add 172.16.2.0 mask 255.255.255.0 172.16.1.250 metric 7.

To add a persistent route to the destination 172.16.3.0 with the subnet mask of 255.255.255.0 and the next hop address of 172.16.1.252, type: route -p add 172.16.3.0 mask 255.255.255.0 172.16.1.252.

Note that the metric will be set to 1 if you do not specify any.

412

 

P-2812HNU-51c User’s Guide