June 2016
Intermediate to advanced
152 pages
3h 30m
English
In the previous section we configured the network interface, but this configuration is only valid while the system is up and running. A reboot will clear this configuration, unless you take steps to make sure that it is configured on each boot. This configuration will be specific to the distribution that you are running, although most distributions fall under either the Debian or Red Hat methods.
Let' see how it works in Debian/Ubuntu:
eth0 configuration to /etc/network/interfaces:auto eth0
iface eth0 inet static
address 10.0.0.1
netmask 255.255.255.0# ifup eth0
Let' see how it works in Red Hat/CentOS:
eth0 configuration to /etc/sysconfig/network-scripts/ifcfg-eth0 ...Read now
Unlock full access