UNIX IP Command Lines

UNIX IP Command Lines

Display Current Config for all NIC's: ifconfig

Display Current Config for dc0: ifconfig dc0

Assign IP/Subnet: ifconfig dc0 inet 192.168.1.2 netmask 255.255.255.0

Assign Gateway: route delete default && route add default 192.168.1.1

Assign multiple IP's: ifconfig dc0:0 192.168.1.2

Assign second IP: ifconfig dc0:1 192.168.1.3

Disable network card: ifconfig dc0 down

Enable network card: ifconfig dc0 up

Get Everything @ Everythings4 | Make Money Ideas @ Google Junction Make Money By Google Blogger Templates By Blogger Templates 4u Designed By Ritesh Patel

Back to TOP