ifconfig

linux

http://www.thegeekstuff.com/2009/03/ifconfig-7-examples-to-configure-network-interface/

ifconfig eth0:2 192.168.100.10 netmask 255.255.255.0 up

up: activate the interface
down: deactivate the interface

[-]arp: enable / disable the use of arp
[-]allmulti: enable / disable reception of hardware multicast packets
[-]broadcast addr: enable / disable accepting datagram destined for broadcast address

mtu N: set mtu
netmask mask: set network mask
irq irq: set IRQ
hw type addr: set hardware address for certain device such as X.25
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License