Linux Networking HOWTO

Joshua Drake

This is a LinuxPorts.Com Document for the Linux Documentation Project. It has been sponsored in part by the Open Source Documentation Fund.

The current version is v1.7.0 is a minor update with some grammar fixes.


Table of Contents
1. How can I help?
1.1. Assisting with the Net-HOWTO
2. Document History
2.1. Feedback
3. How to use this HOWTO.
3.1. Conventions used in this document
4. General Information about Linux Networking.
4.1. Linux Networking Resources.
4.2. Sources of non-linux-specific network information.
5. Generic Network Configuration Information.
5.1. What do I need to start ?
5.1.1. Current Kernel source(Optional).
5.1.2. IP Addresses: an Explanation.
5.2. Where should I put the configuration commands ?
5.3. Creating your network interfaces.
5.4. Configuring a network interface. Kernels 2.0 and 2.2
5.5. Configuring your Name Resolver.
5.5.1. What's in a name ?
5.5.2. What information you will need.
5.5.3. /etc/resolv.conf
5.5.4. /etc/host.conf
5.5.5. /etc/hosts
5.5.6. Running a name server
5.6. Configuring your loopback interface.
5.7. Routing.
5.7.1. So what does the routed program do ?
5.8. Configuring your network servers and services.
5.8.1. /etc/services
5.8.1.1. An example /etc/services file.
5.8.2. /etc/inetd.conf
5.8.2.1. An example /etc/inetd.conf
5.9. Other miscellaneous network related configuration files.
5.9.1. /etc/protocols
5.9.2. /etc/networks
5.10. Network Security and access control.
5.10.1. /etc/ftpusers
5.10.2. /etc/securetty
5.10.3. The tcpd hosts access control mechanism.
5.10.3.1. /etc/hosts.allow
5.10.3.2. /etc/hosts.deny
5.10.4. /etc/hosts.equiv
5.10.5. Configure your ftp daemon properly.
5.10.6. Network Firewalling.
5.10.7. Other suggestions.
6. Ethernet Information
6.1. Supported Ethernet Cards
6.1.1. 3Com
6.1.2. AMD, ATT, Allied Telesis, Ansel, Apricot
6.1.3. Cabletron, Cogent, Crystal Lan
6.1.4. Danpex, DEC, Digi, DLink
6.1.5. Fujitsu, HP, ICL, Intel
6.1.6. KTI, Macromate, NCR NE2000/1000, Netgear, New Media
6.1.7. PureData, SEEQ, SMC
6.1.8. Sun Lance, Sun Intel, Schneider, WD, Zenith, IBM, Enyx
6.2. General Ethernet Information
6.3. Using 2 or more Ethernet Cards in the same machine
6.3.1. If your driver is a module (Normal with newer distros)
7. IP Related Information
7.1. Kernel Level Options
7.1.1. General IP option listing
7.2. EQL - multiple line traffic equaliser
7.3. IP Accounting (for Linux-2.0)
7.3.1. IP Accounting (for Linux-2.2)
7.4. IP Aliasing
7.5. IP Firewall (for Linux-2.0)
7.5.1. IP Firewall (for Linux-2.2)
7.6. IPIP Encapsulation
7.6.1. A tunneled network configuration.
7.6.2. A tunneled host configuration.
7.7. IP Masquerade
7.7.1. Masquerading with IPFWADM (Kernels 2.0.x)
7.7.2. Masquerading with IPCHAINS
7.8. IP Transparent Proxy
7.9. IPv6
7.10. IPv6 Linux resources
7.11. Mobile IP
7.12. Multicast
7.13. Traffic Shaper - Changing allowed bandwidth
8. DHCP and DHCPD
8.1. DHCP Client Setup for users of LinuxConf
8.2. DHCP Server Setup for Linux
8.2.1. Options for DHCPD
8.2.2. Starting the server
9. Advanced Networking with Kernel 2.2
9.1. The Basics
9.1.1. Using the information
9.2. Adding a route with the new ip tools
9.3. Using NAT with Kernel 2.2
10. Kernel 2.2 IP Command Reference (Work In Progress)
10.1. ip
11. Using common PC hardware
11.1. ISDN
11.2. PLIP for Linux-2.0
11.2.1. PLIP for Linux-2.2
11.3. PPP
11.4. SLIP client - (Antiquated)
11.4.1. dip
11.4.2. slattach
11.4.3. When do I use which ?
11.4.4. Static SLIP server with a dialup line and DIP.
11.4.5. Dynamic SLIP server with a dialup line and DIP.
11.4.6. Using DIP.
11.4.7. Permanent SLIP connection using a leased line and slattach.
11.4.8. SLIP server.
11.4.9. Slip Server using sliplogin.
11.4.10. Where to get sliplogin
11.4.11. Configuring /etc/passwd for Slip hosts.
11.4.12. Configuring /etc/slip.hosts
11.4.13. Configuring the /etc/slip.login file.
11.4.14. Configuring the /etc/slip.logout file.
11.4.15. Configuring the /etc/slip.tty file.
11.4.16. Slip Server using dip.
11.4.17. Configuring /etc/diphosts
11.4.18. SLIP server using the dSLIP package.
12. Other Network Technologies
12.1. ARCNet
12.2. Appletalk (AF_APPLETALK)
12.2.1. Configuring the Appletalk software.
12.2.2. Exporting a Linux filesystems via Appletalk.
12.2.3. Sharing your Linux printer across Appletalk.
12.2.4. Starting the appletalk software.
12.2.5. Testing the appletalk software.
12.2.6. Caveats of the appletalk software.
12.2.7. More information
12.3. ATM
12.4. AX25 (AF_AX25)
12.5. DECNet
12.6. FDDI
12.7. Frame Relay
12.8. IPX (AF_IPX)
12.9. NetRom (AF_NETROM)
12.10. Rose protocol (AF_ROSE)
12.11. SAMBA - `NetBEUI', `NetBios', `CIFS' support.
12.12. STRIP support (Starmode Radio IP)
12.13. Token Ring
12.14. X.25
12.15. WaveLan Card
13. Cables and Cabling
13.1. Serial NULL Modem cable
13.2. Parallel port cable (PLIP cable)
13.3. 10base2 (thin coax) Ethernet Cabling
13.4. Twisted Pair Ethernet Cable
14. Glossary of Terms used in this document.
15. Authors
15.1. Current
15.2. Past
16. Copyright.