Operation Manual

The route's destination is in the rst column. This column may contain the IP address
of a network or host or, in the case of reachable name servers, the fully qualied network
or hostname.
The second column contains the default gateway or a gateway through which a host or
network can be accessed. The third column contains the netmask for networks or hosts
behind a gateway. For example, the mask is 255.255.255.255 for a host behind a
gateway.
The fourth column is only relevant for networks connected to the local host such as
loopback, Ethernet, ISDN, PPP and dummy device. The device name must be entered
here.
An (optional) fth column can be used to specify the type of a route. Columns that are
not needed should contain a minus sign - to ensure that the parser correctly interprets
the command. For details, refer to the routes(5) man page.
The unied format for IPv4 and IPv6 now looks as follows:
prefix/length gateway - [interface]
And the so-called compatibility format looks accordingly:
prefix gateway length [interface]
For IPv4 you still can use the old format with netmask:
ipv4-network gateway ipv4-netmask [interface]
The following examples are equivalent:
2001:db8:abba:cafe::/64 2001:db8:abba:cafe::dead - eth0
208.77.188.0/24 208.77.188.166 - eth0
2001:db8:abba:cafe:: 2001:db8:abba:cafe::dead 64 eth0
208.77.188.0 208.77.188.166 24 eth0
208.77.188.0 208.77.188.166 255.255.255.0 eth0
13.6.1.4 /etc/resolv.conf
The domain to which the host belongs is specied in this le (keyword search). Also
listed is the status of the name server address to access (keyword nameserver).
Multiple domain names can be specied in the le. When resolving a name that is not
Basic Networking 267