View Single Post
  #2   (View Single Post)  
Old 3rd September 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Yes, most definately.

Bring the interface down:
% ifconfig xx0 down

Bring it up:
% ifconfig xx0 up

Pretty basic stuff, could have learnt this by reading the man page..
Quote:
Originally Posted by ifconfig(8)
down - Mark an interface ``down''. When an interface is marked ``down'', the system will not attempt to transmit messages through that interface. If possible, the interface will be reset to disable reception as well. This action does not automatically disable routes using the interface.
...
up - Mark an interface ``up''. This may be used to enable an interface after an ``ifconfig down''. It happens automatically when setting the first address on an interface. If the interface was reset when previously marked down, the hardware will be re-initialized.
Have fun.
Reply With Quote