1defaultrouter(4)                 File Formats                 defaultrouter(4)
2
3
4

NAME

6       defaultrouter - configuration file for default router(s)
7

SYNOPSIS

9       /etc/defaultrouter
10
11

DESCRIPTION

13       The /etc/defaultrouter file specifies a IPv4 host's default router(s).
14
15
16       The format of the file is as follows:
17
18         IP_address
19         ...
20
21
22
23
24       The  /etc/defaultrouter  file can contain the IP addresses or hostnames
25       of one or more default routers, with each entry on its own line. If you
26       use  hostnames,  each  hostname  must  also  be  listed  in  the  local
27       /etc/hosts file, because no name services are running at the time  that
28       defaultrouter is read.
29
30
31       Lines beginning with the ``#'' character are treated as comments.
32
33
34       The  default routes listed in this file replace those added by the ker‐
35       nel during diskless booting.  An  empty  /etc/defaultrouter  file  will
36       cause the default route added by the kernel to be deleted.
37
38
39       Use  of  a  default  route, whether received from a DHCP server or from
40       /etc/defaultrouter, prevents a machine from acting as an  IPv4  router.
41       You can use routeadm(1M) to override this behavior.
42

FILES

44       /etc/defaultrouter    Configuration file containing the hostnames or IP
45                             addresses of one or more default routers.
46
47

SEE ALSO

49       in.rdisc(1M), in.routed(1M), routeadm(1M), hosts(4)
50
51
52
53SunOS 5.11                        17 Aug 2004                 defaultrouter(4)
Impressum