Linux Static IP
From Attie's Wiki
(Difference between revisions)
m (Created page with 'Configuring a static IP address that is maintained after reboot cannot be done with just <code>ifconfig</code> The file <code>/etc/network/interfaces</code> contains the configu…') |
Latest revision as of 08:51, 19 October 2011
Configuring a static IP address that is maintained after reboot cannot be done with just ifconfig
The file /etc/network/interfaces
contains the configuration information.
Add the following information for each adapter you wish to configure
auto eth0 iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1