Professional Documents
Culture Documents
Objectives
Configure network interfaces using commandline and graphical utilities Set up a simple DHCP server Manage networked printing services
Networking device
Named channel over which network traffic can pass
Syntax
ifconfig device ip_address netmask address broadcast address
The Complete Guide to Linux System Administration 8
Broadcast address sends packet to all computers on same part of network Maximum transmission unit (MTU)
Maximum size of packet interface supports
10
11
12
14
15
16
17
/etc/hosts file stores IP addresses and corresponding domain names in text file on host
The Complete Guide to Linux System Administration 20
22
Dynamic routing uses specialized routing protocol to build and modify routing tables automatically
23
24
25
26
27
28
29
30
31
Print queues
System administrator must define printers Printer definitions describe type of printer and features to be used
The Complete Guide to Linux System Administration 32
Lpd print server program keeps track of all print jobs in all print queues on system
The Complete Guide to Linux System Administration 33
34
35
36
38
Once print job has been sent to remote system using lpd, user has no direct control over it
39
40
41
42
43
CUPS class
Group of printers to which user can submit print job First available printer within used to print job
The Complete Guide to Linux System Administration 44
Managing Printing
Printing policy
Brief statement of rules describing:
How printing resources can be used How printers should be managed
45
Using lpc
Prevent new print jobs from being accepted by print queue Prevent print jobs from being sent to printer Cancel print job currently being printed See status of any printer
The Complete Guide to Linux System Administration 46
47
Summary
Ethernet card includes unique MAC address
Used by address resolution protocol
ifconfig command used to configure networking interface in kernel route command modifies internal routing table system-config-network utility graphically configures network devices
48
Summary (continued)
DHCP server on Linux requires configuring /etc/dhcpd.conf file Linux printing relies on printer definitions Red Hat Linux and Fedora support both LPRng and CUPS printing using alternatives printing system Print jobs can be managed using command line utilities or graphical interface
49