Posts mit dem Label Static IP werden angezeigt. Alle Posts anzeigen
Posts mit dem Label Static IP werden angezeigt. Alle Posts anzeigen

Samstag, 26. Januar 2008

Static IP for the box

Makes life way more easier

Edit /etc/network/interfaces (NOTE THIS IS FOR the ethernet config)

I suggest to use 192.168.1.121 for the box

# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).

# The loopback network interface

auto lo

iface lo inet loopback

# The primary network interface

auto eth0

iface eth0 inet static

address 192.168.1.121

netmask 255.255.255.0

broadcast 192.168.1.255

gateway 192.168.1.1

Restart the networ

/etc/init.d/networking restart