UNIX IP Commands




Display Current Config for all NIC's: ifconfig

Display Current Config for dc0: ifconfig dc0

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

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

*You MUST be at the ROOT user to make/save any changes. You will need to save your changes in the /etc/rc.conf file. Network cards are referred to as dc0, dc1, dc2, etc based on their position on the PCI bus.
*Special thanks to Romanov Sergey Vladimirovich from Moscow for the UNIX commands!


Recent Forum Posts

Privacy :S ?
Hi, I recently went to a website from a link someone sent to me. However, I'm not sure that it was safe. I tried to register, but it keep saying...
how to track facebook members email address
please can someone help me there is this person who uses facebook to send me messages, however this person is not added in my friends list and...
can someone help me trace the ip address of a facebook user?
please help me get the ip address of a facebook user. this is his facebook profile: [Link Removed]
what software do i need to port foward
Please my ip address is always 41.155. e.t.c i think my isp is blocking me.i am using a wireless card so i will like to know if i can use any...
Dynamic IP Problem
I need to connect to a secure website and so my IP has be registered. Problem is that my IP changes every time I log in, so the registered IP does...

GoToMyPC - Access Your PC from Anywhere