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.1 is a minor update with some grammar fixes.


Table of Contents
1. How can I help?
Assisting with the Net-HOWTO
2. Document History
Feedback
3. How to use this HOWTO.
Conventions used in this document
4. General Information about Linux Networking.
Linux Networking Resources.
Sources of non-linux-specific network information.
5. Generic Network Configuration Information.
What do I need to start ?
Current Kernel source(Optional).
IP Addresses: an Explanation.
Where should I put the configuration commands ?
Creating your network interfaces.
Configuring a network interface. Kernels 2.0 and 2.2
Configuring your Name Resolver.
What's in a name ?
What information you will need.
/etc/resolv.conf
/etc/host.conf
/etc/hosts
Running a name server
Configuring your loopback interface.
Routing.
So what does the routed program do ?
Configuring your network servers and services.
/etc/services
An example /etc/services file.
/etc/inetd.conf
An example /etc/inetd.conf
Other miscellaneous network related configuration files.
/etc/protocols
/etc/networks
Network Security and access control.
/etc/ftpusers
/etc/securetty
The tcpd hosts access control mechanism.
/etc/hosts.allow
/etc/hosts.deny
/etc/hosts.equiv
Configure your ftp daemon properly.
Network Firewalling.
Other suggestions.
6. Ethernet Information
Supported Ethernet Cards
3Com
AMD, ATT, Allied Telesis, Ansel, Apricot
Cabletron, Cogent, Crystal Lan
Danpex, DEC, Digi, DLink
Fujitsu, HP, ICL, Intel
KTI, Macromate, NCR NE2000/1000, Netgear, New Media
PureData, SEEQ, SMC
Sun Lance, Sun Intel, Schneider, WD, Zenith, IBM, Enyx
General Ethernet Information
Using 2 or more Ethernet Cards in the same machine
If your driver is a module (Normal with newer distros)
7. IP Related Information
Kernel Level Options
General IP option listing
EQL - multiple line traffic equaliser
IP Accounting (for Linux-2.0)
IP Accounting (for Linux-2.2)
IP Aliasing
IP Firewall (for Linux-2.0)
IP Firewall (for Linux-2.2)
IPIP Encapsulation
A tunneled network configuration.
A tunneled host configuration.
IP Masquerade
Masquerading with IPFWADM (Kernels 2.0.x)
Masquerading with IPCHAINS
IP Transparent Proxy
IPv6
IPv6 Linux resources
Mobile IP
Multicast
Traffic Shaper - Changing allowed bandwidth
8. DHCP and DHCPD
DHCP Client Setup for users of LinuxConf
DHCP Server Setup for Linux
Options for DHCPD
Starting the server
9. Advanced Networking with Kernel 2.2
The Basics
Using the information
Adding a route with the new ip tools
Using NAT with Kernel 2.2
10. Kernel 2.2 IP Command Reference (Work In Progress)
ip
11. Using common PC hardware
ISDN
PLIP for Linux-2.0
PLIP for Linux-2.2
PPP
SLIP client - (Antiquated)
dip
slattach
When do I use which ?
Static SLIP server with a dialup line and DIP.
Dynamic SLIP server with a dialup line and DIP.
Using DIP.
Permanent SLIP connection using a leased line and slattach.
SLIP server.
Slip Server using sliplogin.
Where to get sliplogin
Configuring /etc/passwd for Slip hosts.
Configuring /etc/slip.hosts
Configuring the /etc/slip.login file.
Configuring the /etc/slip.logout file.
Configuring the /etc/slip.tty file.
Slip Server using dip.
Configuring /etc/diphosts
SLIP server using the dSLIP package.
12. Other Network Technologies
ARCNet
Appletalk (AF_APPLETALK)
Configuring the Appletalk software.
Exporting a Linux filesystems via Appletalk.
Sharing your Linux printer across Appletalk.
Starting the appletalk software.
Testing the appletalk software.
Caveats of the appletalk software.
More information
ATM
AX25 (AF_AX25)
DECNet
FDDI
Frame Relay
IPX (AF_IPX)
NetRom (AF_NETROM)
Rose protocol (AF_ROSE)
SAMBA - `NetBEUI', `NetBios', `CIFS' support.
STRIP support (Starmode Radio IP)
Token Ring
X.25
WaveLan Card
13. Cables and Cabling
Serial NULL Modem cable
Parallel port cable (PLIP cable)
10base2 (thin coax) Ethernet Cabling
Twisted Pair Ethernet Cable
14. Glossary of Terms used in this document.
15. Authors
Current
Past
16. Copyright.