From LedHed's Wiki
(No difference)
|
Revision as of 17:37, 27 September 2006
Each Linux Distro handles Network Interface configuration a little differently
Contents
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