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:
And to get it back type the command: