Linux Static IP

From Attie's Wiki
Jump to: navigation, search

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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox