December 2000
Intermediate to advanced
800 pages
22h 41m
English
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.
#!/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 ... |
Read now
Unlock full access