The Individual Systems

The tuna.fish.net system (which runs OpenLinux) is used as an example. The TCP/IP configuration for Caldera OpenLinux and Red Hat is held in the /etc/sysconfig/ network-scripts directory. The configuration for each network interface is contained in its own separate file within this directory. The Ethernet configurations are held in the ifcfg-eth# files (starting with ifcfg-eth0). Assuming that tuna.fish.net only has one Ethernet interface, Listing 30.2 shows the contents of its ifcfg-eth0 file.

Code Listing 30.2. Sample OpenLinux /etc/sysconfig/network-scripts/ifcfg-eth0 File
 #!/bin/sh #>>>Device type: ethernet #>>>Variable declarations: DEVICE=eth0 IPADDR=192.168.1.5 NETMASK=255.255.255.0 NETWORK=192.168.1.0 BROADCAST=192.168.1.255 ...

Get Special Edition Using Linux®, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.