Debian Tips

From odroid US
Revision as of 13:27, 15 February 2013 by Osterluk (Talk | contribs) (Created page with " === How to set Static IP address === From Gibojoe. Sometime you do not have a DHCP server to assign an IP Address. Sometimes you just want your board to come up with the s...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


How to set Static IP address

From Gibojoe. Sometime you do not have a DHCP server to assign an IP Address. Sometimes you just want your board to come up with the same IP Address no matter what. You need to make sure to allocate a subnet-unique address.

For a static IP edit to /etc/network/interface to:

allow-hotplug eth0
iface eth0 inet static
address 192.168.1.11
netmask 255.255.255.0
gateway 192.168.1.1