How to disable network interface?
From Kolmisoft Wiki
Jump to navigationJump to search
Please follow these steps:
1. Connect to your server via SSH
2. Use this command to disable interface:
ifconfig eth1 down
NOTE: change "eth1" to interface which you want to disable.
3. If you want to disable an interface permanently so that it would not be loaded after reboot:
mcedit /etc/sysconfig/network-scripts/ifcfg-eth1
and change:
ONBOOT=yes
to
ONBOOT=no
Press F2 to save changes.