View Single Post

  #2 (permalink)  
Old 06-22-2006, 02:34 PM
monk's Avatar
monk monk is offline
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

To stop / disable network interface use ifconfig command. It is used to configure the kernel-resident network interfaces.

You can pass up and down flags/option to this command.
==> up - This flag causes the interface to be activated. It is implicitly specified if an address is assigned to the interface.
==> down - This flag causes the driver for this interface to be shut down.

So the following command will disable eth1:
Code:
ifconfig eth1 down
And to get it back type the command:
Code:
ifconfig eth1 up
Reply With Quote