Disable NIC interface permanently in RHEL7?How to disable autoconfiguration on IPv6 in Linux?Permanently...
Arthur Somervell: 1000 Exercises - Meaning of this notation
Collect Fourier series terms
What is the word for reserving something for yourself before others do?
Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?
Why doesn't H₄O²⁺ exist?
To string or not to string
How could an uplifted falcon's brain work?
What are the differences between the usage of 'it' and 'they'?
Do I have a twin with permutated remainders?
Is it possible to do 50 km distance without any previous training?
Is a tag line useful on a cover?
Can a Warlock become Neutral Good?
Voyeurism but not really
Do VLANs within a subnet need to have their own subnet for router on a stick?
Languages that we cannot (dis)prove to be Context-Free
How much RAM could one put in a typical 80386 setup?
How does strength of boric acid solution increase in presence of salicylic acid?
In Japanese, what’s the difference between “Tonari ni” (となりに) and “Tsugi” (つぎ)? When would you use one over the other?
can i play a electric guitar through a bass amp?
Why are 150k or 200k jobs considered good when there are 300k+ births a month?
"You are your self first supporter", a more proper way to say it
Test if tikzmark exists on same page
The use of multiple foreign keys on same column in SQL Server
Modeling an IPv4 Address
Disable NIC interface permanently in RHEL7?
How to disable autoconfiguration on IPv6 in Linux?Permanently down/disable network interface in opensusehow to up/down remote NIC card or PORT using ifconfig or any other command?Disabling at application level a nic (network interface) on WindowsProblems external pinging second interface on two NIC two subnet Windows 7IPv4 interface numberWhere are PC's NIC settings saved (i.e. custom MAC or power management options)?Can i see my bluetooth connection as network interface in linux?RHEL7 /boot deleted from fstabHow to get from a logical interface to the interface of the underlying NIC a device is using, in FreeBSD?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
How to disable NIC interface permanently in RHEL7? The command:
ifconfig -a
should not show an interface after disabling.
linux network-adapter network-interface
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
How to disable NIC interface permanently in RHEL7? The command:
ifconfig -a
should not show an interface after disabling.
linux network-adapter network-interface
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
How to disable NIC interface permanently in RHEL7? The command:
ifconfig -a
should not show an interface after disabling.
linux network-adapter network-interface
How to disable NIC interface permanently in RHEL7? The command:
ifconfig -a
should not show an interface after disabling.
linux network-adapter network-interface
linux network-adapter network-interface
edited Mar 11 '18 at 15:56
Stephen Rauch
2,32581725
2,32581725
asked Mar 11 '18 at 15:46
Manoj.VManoj.V
12
12
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
try
sudo ip link set <NIC_NAME> down
this will bring the NIC down , then to remove it from ifconfig listing..
vim /etc/sysconfig/network-scripts/ifcfg-<NIC_NAME>
and comment out all lines there or rename the file, and then restart networking services
systemctl restart network
hope it helps
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1302444%2fdisable-nic-interface-permanently-in-rhel7%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
try
sudo ip link set <NIC_NAME> down
this will bring the NIC down , then to remove it from ifconfig listing..
vim /etc/sysconfig/network-scripts/ifcfg-<NIC_NAME>
and comment out all lines there or rename the file, and then restart networking services
systemctl restart network
hope it helps
add a comment |
try
sudo ip link set <NIC_NAME> down
this will bring the NIC down , then to remove it from ifconfig listing..
vim /etc/sysconfig/network-scripts/ifcfg-<NIC_NAME>
and comment out all lines there or rename the file, and then restart networking services
systemctl restart network
hope it helps
add a comment |
try
sudo ip link set <NIC_NAME> down
this will bring the NIC down , then to remove it from ifconfig listing..
vim /etc/sysconfig/network-scripts/ifcfg-<NIC_NAME>
and comment out all lines there or rename the file, and then restart networking services
systemctl restart network
hope it helps
try
sudo ip link set <NIC_NAME> down
this will bring the NIC down , then to remove it from ifconfig listing..
vim /etc/sysconfig/network-scripts/ifcfg-<NIC_NAME>
and comment out all lines there or rename the file, and then restart networking services
systemctl restart network
hope it helps
answered Mar 23 '18 at 17:14
Sean DaveySean Davey
37218
37218
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1302444%2fdisable-nic-interface-permanently-in-rhel7%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown