3 inet, inet.conf \- TCP/IP server
12 is the TCP/IP server. It is a device driver that interfaces between the
13 file server and the low level ethernet device driver. The interface to this
14 server is described in
18 starts as a normal process, reads a the configuration file
20 to see what it should do, and uses a few special low level system calls
21 to turn itself into a server. The format of the configuration file is as
24 The inet configuration file is fairly simple, here is an example:
29 eth0 DP8390 0 { default; };
35 It tells that network 0 (the one containing devices
41 uses the ethernet device driver handled
42 by task "DP8390" at port 0. This network is marked as the default
43 network, so most programs use it through the unnumbered devices like
47 Network 1 is a Pseudo IP network that can be used for
48 a serial IP over a modem for instance.
50 The configuration file may look like a common configuration file as
53 but it is currently just a simple subset allowing only what you see here.
54 The following network definitions are possible:
60 This sets up an ethernet with device name
62 built on the given ethernet device driver at the given port at that driver.
63 (If a network driver manages two network
64 cards then they are at port 0 and 1.)
79 and is built on ethernet
81 A packet given to this network has a VLAN tag prefixed to it and is then
82 handed over to another ethernet for transmission. Likewise a packet on
83 that ethernet carrying the appropriate VLAN tag has this tag removed and is
84 sent on to this network. The VLAN ethernet behaves like an ordinary ethernet
85 as far as applications are concerned.
91 Creates pseudo IP network
93 usable for IP over serial lines, tunnels and whatnot.
96 Some options can be given between braces.
100 Mark this network as the default network. Exactly one of the networks must
104 is started it will check and create all the necessary network devices before
105 becoming a server. To know what major device number to use it checks
107 so that device must already exist. It can be created by
118 These options turn the IP, TCP, or UDP layer off. Inet will not enable the
119 devices for these layers, and will deactivate code for these layers.
120 Disabling IP will also disable TCP or UDP, because they need IP to function.
121 An ethernet without an IP layer can be used as for stealth listening. An IP
122 network without TCP or UDP can be used to pester students into creating the
123 missing functionality. Keeps them off the streets, and maybe they'll learn
130 The number of networks that can be defined are 2 (Minix-86), 4 (Minix-386)
131 or 16 (Minix-vmd). This limits both the total number and the highest
132 device number you can use.
134 Getting a network administrator to give you a trunk or multi-VLAN port to
135 run multiple networks on can be a challenge. It questions their idea that
136 VLANs are separate networks, while in reality it is just one big ethernet.
138 Cindy Crawford, for providing invaluable help debugging this server.
141 Code: Philip Homburg <philip@cs.vu.nl>
143 Manual: Kees J. Bot <kjb@cs.vu.nl>
146 .\" $PchId: inet.8,v 1.6 2001/10/08 19:01:35 philip Exp $