How to disable network interface?

From Kolmisoft Wiki
Revision as of 13:46, 30 June 2011 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.