From Noah.org
Jump to navigationJump to search

Set static IP

These settings are lost on reboot. This is just for a temporary config.

# ip route add default via
# ifconfig eth0 netmask

Virtual Interfaces

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

# ifconfig eth0:1 netmask

Delete an interface

Use the 'down' command:

# ifconfig eth0:1 down