From LedHed's Wiki
Revision as of 17:37, 27 September 2006 by Ledhed (Talk | contribs)

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

Each Linux Distro handles Network Interface configuration a little differently


Debian

To change IP, Mask, & Gateway edit /etc/network/interfaces

Example:

#Primary Network Interface
iface eth0 inet static
  address     10.0.0.100
  netmask     255.255.255.0
  gateway     10.0.0.254
  network     10.0.0.0

Then run (as root/su)

/sbin/ifdown -a && /sbin/ifup -a

This restarts all interfaces


Red Hat / Fedora

Solaris

BSD