How to remove a vnet0 interface?
In troubleshooting a no connectivity issue on a newly rolled out kvm host machine, I'm noticing a second bridge interface that isn't needed and may have been created previously: vnet0
[user@box]# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.14187769b69a no em1
vnet0
virbr0 8000.5254003ada63 yes virbr0-nic
[user@box]# ip route
default via 111.111.111.2 dev br0
169.254.0.0/16 dev br0 scope link metric 1006
111.111.111.0/23 dev br0 proto kernel scope link src 111.111.111.44
192.168.122.0/24 dev virbr0 proto kernel scope link src src 192.168.122.1
Here is the ifcfg-br0 and em1 files respectively:
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
TYPE=Bridge
BOOTPROTO=static
IPV4_FAILURE_FATAL=no
IPV6INIT=no
NAME=br0
PREFIX=23
DEVICE=br0
ONBOOT=yes
IPADDR=111.111.111.44
GATEWAY=111.111.111.2
DNS1=4.4.4.4
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-em1
TYPE=Ethernet
NM_CONTROLLED=no
NAME=em1
DEVICE=em1
ONBOOT=yes
BRIDGE=br0
A sister EL7 system with fully functioning network bridge looks like this:
[user@box]# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.141877699b no em1
virbr0 8000.5254004bc0f4 yes virbr0-nic
[user@box]# ip route
default via 111.111.111.2 dev br0
111.111.111.0/23 dev br0 proto kernel scope link src 111.111.111.222
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
TYPE=Bridge
BOOTPROTO=static
IPV4_FAILURE_FATAL=no
IPV6INIT=no
NAME=br0
PREFIX=23
DEVICE=br0
ONBOOT=yes
IPADDR=111.111.111.222
GATEWAY=111.111.111.2
DNS1=4.4.4.4
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-em1
TYPE=Ethernet
NM_CONTROLLED=no
NAME=em1
DEVICE=em1
ONBOOT=yes
BRIDGE=br0
I tried using virsh net-destroy vnet0
, but am seeing failed to get network vnet0
How do I remove the rougue vnet0
interface from the first example?
centos networking network-interface bridge
bumped to the homepage by Community♦ 17 mins ago
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 |
In troubleshooting a no connectivity issue on a newly rolled out kvm host machine, I'm noticing a second bridge interface that isn't needed and may have been created previously: vnet0
[user@box]# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.14187769b69a no em1
vnet0
virbr0 8000.5254003ada63 yes virbr0-nic
[user@box]# ip route
default via 111.111.111.2 dev br0
169.254.0.0/16 dev br0 scope link metric 1006
111.111.111.0/23 dev br0 proto kernel scope link src 111.111.111.44
192.168.122.0/24 dev virbr0 proto kernel scope link src src 192.168.122.1
Here is the ifcfg-br0 and em1 files respectively:
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
TYPE=Bridge
BOOTPROTO=static
IPV4_FAILURE_FATAL=no
IPV6INIT=no
NAME=br0
PREFIX=23
DEVICE=br0
ONBOOT=yes
IPADDR=111.111.111.44
GATEWAY=111.111.111.2
DNS1=4.4.4.4
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-em1
TYPE=Ethernet
NM_CONTROLLED=no
NAME=em1
DEVICE=em1
ONBOOT=yes
BRIDGE=br0
A sister EL7 system with fully functioning network bridge looks like this:
[user@box]# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.141877699b no em1
virbr0 8000.5254004bc0f4 yes virbr0-nic
[user@box]# ip route
default via 111.111.111.2 dev br0
111.111.111.0/23 dev br0 proto kernel scope link src 111.111.111.222
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
TYPE=Bridge
BOOTPROTO=static
IPV4_FAILURE_FATAL=no
IPV6INIT=no
NAME=br0
PREFIX=23
DEVICE=br0
ONBOOT=yes
IPADDR=111.111.111.222
GATEWAY=111.111.111.2
DNS1=4.4.4.4
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-em1
TYPE=Ethernet
NM_CONTROLLED=no
NAME=em1
DEVICE=em1
ONBOOT=yes
BRIDGE=br0
I tried using virsh net-destroy vnet0
, but am seeing failed to get network vnet0
How do I remove the rougue vnet0
interface from the first example?
centos networking network-interface bridge
bumped to the homepage by Community♦ 17 mins ago
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 |
In troubleshooting a no connectivity issue on a newly rolled out kvm host machine, I'm noticing a second bridge interface that isn't needed and may have been created previously: vnet0
[user@box]# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.14187769b69a no em1
vnet0
virbr0 8000.5254003ada63 yes virbr0-nic
[user@box]# ip route
default via 111.111.111.2 dev br0
169.254.0.0/16 dev br0 scope link metric 1006
111.111.111.0/23 dev br0 proto kernel scope link src 111.111.111.44
192.168.122.0/24 dev virbr0 proto kernel scope link src src 192.168.122.1
Here is the ifcfg-br0 and em1 files respectively:
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
TYPE=Bridge
BOOTPROTO=static
IPV4_FAILURE_FATAL=no
IPV6INIT=no
NAME=br0
PREFIX=23
DEVICE=br0
ONBOOT=yes
IPADDR=111.111.111.44
GATEWAY=111.111.111.2
DNS1=4.4.4.4
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-em1
TYPE=Ethernet
NM_CONTROLLED=no
NAME=em1
DEVICE=em1
ONBOOT=yes
BRIDGE=br0
A sister EL7 system with fully functioning network bridge looks like this:
[user@box]# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.141877699b no em1
virbr0 8000.5254004bc0f4 yes virbr0-nic
[user@box]# ip route
default via 111.111.111.2 dev br0
111.111.111.0/23 dev br0 proto kernel scope link src 111.111.111.222
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
TYPE=Bridge
BOOTPROTO=static
IPV4_FAILURE_FATAL=no
IPV6INIT=no
NAME=br0
PREFIX=23
DEVICE=br0
ONBOOT=yes
IPADDR=111.111.111.222
GATEWAY=111.111.111.2
DNS1=4.4.4.4
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-em1
TYPE=Ethernet
NM_CONTROLLED=no
NAME=em1
DEVICE=em1
ONBOOT=yes
BRIDGE=br0
I tried using virsh net-destroy vnet0
, but am seeing failed to get network vnet0
How do I remove the rougue vnet0
interface from the first example?
centos networking network-interface bridge
In troubleshooting a no connectivity issue on a newly rolled out kvm host machine, I'm noticing a second bridge interface that isn't needed and may have been created previously: vnet0
[user@box]# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.14187769b69a no em1
vnet0
virbr0 8000.5254003ada63 yes virbr0-nic
[user@box]# ip route
default via 111.111.111.2 dev br0
169.254.0.0/16 dev br0 scope link metric 1006
111.111.111.0/23 dev br0 proto kernel scope link src 111.111.111.44
192.168.122.0/24 dev virbr0 proto kernel scope link src src 192.168.122.1
Here is the ifcfg-br0 and em1 files respectively:
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
TYPE=Bridge
BOOTPROTO=static
IPV4_FAILURE_FATAL=no
IPV6INIT=no
NAME=br0
PREFIX=23
DEVICE=br0
ONBOOT=yes
IPADDR=111.111.111.44
GATEWAY=111.111.111.2
DNS1=4.4.4.4
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-em1
TYPE=Ethernet
NM_CONTROLLED=no
NAME=em1
DEVICE=em1
ONBOOT=yes
BRIDGE=br0
A sister EL7 system with fully functioning network bridge looks like this:
[user@box]# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.141877699b no em1
virbr0 8000.5254004bc0f4 yes virbr0-nic
[user@box]# ip route
default via 111.111.111.2 dev br0
111.111.111.0/23 dev br0 proto kernel scope link src 111.111.111.222
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
TYPE=Bridge
BOOTPROTO=static
IPV4_FAILURE_FATAL=no
IPV6INIT=no
NAME=br0
PREFIX=23
DEVICE=br0
ONBOOT=yes
IPADDR=111.111.111.222
GATEWAY=111.111.111.2
DNS1=4.4.4.4
[user@box ~]# cat /etc/sysconfig/network-scripts/ifcfg-em1
TYPE=Ethernet
NM_CONTROLLED=no
NAME=em1
DEVICE=em1
ONBOOT=yes
BRIDGE=br0
I tried using virsh net-destroy vnet0
, but am seeing failed to get network vnet0
How do I remove the rougue vnet0
interface from the first example?
centos networking network-interface bridge
centos networking network-interface bridge
edited May 3 '17 at 21:35
a coder
asked May 3 '17 at 21:20
a codera coder
1,04472848
1,04472848
bumped to the homepage by Community♦ 17 mins ago
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♦ 17 mins ago
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
To disable virbr0, try:
virsh net-destroy default
virsh net-undefine default
service libvirtd restart
ifconfig
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f362915%2fhow-to-remove-a-vnet0-interface%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
To disable virbr0, try:
virsh net-destroy default
virsh net-undefine default
service libvirtd restart
ifconfig
add a comment |
To disable virbr0, try:
virsh net-destroy default
virsh net-undefine default
service libvirtd restart
ifconfig
add a comment |
To disable virbr0, try:
virsh net-destroy default
virsh net-undefine default
service libvirtd restart
ifconfig
To disable virbr0, try:
virsh net-destroy default
virsh net-undefine default
service libvirtd restart
ifconfig
answered Jan 3 '18 at 21:27
Yolateng0Yolateng0
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f362915%2fhow-to-remove-a-vnet0-interface%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