Troubleshooting guide

BSR Troubleshooting Guide
5-82
Follow these steps to configure a default gateway for a local or remote host:
1. To determine whether the local and remote hosts have a default gateway, use
the netstat -rn command at the UNIX prompt, as shown in the following
example:
unix-host% netstat -rn
Check the output of this command for a default gateway specification.
2. If the default gateway specification is incorrect or not present, change or add a
default gateway, as shown in the following example using the route add
default command at the UNIX prompt on the local host:
unix-host% route add default <ip-address> <n>
where:
ip-address is the IP address of the default gateway (the router local to the
host).
n indicates the number of hops to the specified gateway.
3. You should specify a default gateway as part of the boot process. Specify the
IP address of the gateway in the /etc/defaultrouter UNIX host file. This
filename might be different on your UNIX system.
Misconfigured or Missing Default Routes
Follow these steps to resolve misconfigured or missing default routes:
1. To view the host routing table (if the host is routed), use the netstat -rn
command at the UNIX prompt, as shown in the following example:
unix-host% netstat -rn
The entry with the destination default denotes the default route.
Note: You may need to reboot the host for this change to take effect.