Ifconfig

From Noah.org
Revision as of 16:34, 28 September 2006 by Root (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Set static IP

ifconfig eth0 192.168.0.2 netmask 255.255.255.0

Virtual Interfaces

This is trivial in Linux. Just add a number to a real interface

ifconfig eth0:1 192.168.0.3 netmask 255.255.255.0