What's wrong with my Xen bridge configuration
Clash Royale CLAN TAG#URR8PPP
I'm on Debian 9 (stretch):
$ cat /proc/version
Linux version 4.9.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19)
I'm trying to setup a Xen guest. I have installed Xen and now working on a Dom-0:
sudo xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 7881 4 r----- 213.2
$ sudo xl info
host : myserver
release : 4.9.0-3-amd64
version : #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19)
machine : x86_64
nr_cpus : 4
max_cpu_id : 3
nr_nodes : 1
cores_per_socket : 4
threads_per_core : 1
cpu_mhz : 3092
hw_caps : b7ebfbff:17bae3ff:28100800:00000001:00000001:00000000:00000000:00000100
virt_caps : hvm
total_memory : 8103
free_memory : 128
sharing_freed_memory : 0
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 8
xen_extra : .5
xen_version : 4.8.5
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset :
xen_commandline : placeholder
cc_compiler : gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
cc_compile_by : ijackson
cc_compile_domain : chiark.greenend.org.uk
cc_compile_date : Fri Jan 11 18:02:57 UTC 2019
build_id : 9a71c39470d087c0c9fa0d33c04d985ea08aaa04
xend_config_format : 4
Now I'm trying to setup a bridge. I'm following the instructions in https://wiki.xenproject.org/wiki/Xen_Project_Beginners_Guide
My configuration file is:
$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
iface eth0 inet manual
auto xenbr0
iface xenbr0 inet dhcp
bridge_ports eth0
If I run sudo service networking restart
it takes more than a minute.
Then the state of the bridge is strange:
$ sudo brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.000000000000 no
The bridge has no real id and is not enabled.
I tried several different configurations for /etc/network/interfaces all of them failed.
Any ideas, why I can't setup a xen bridge?
debian xen
add a comment |
I'm on Debian 9 (stretch):
$ cat /proc/version
Linux version 4.9.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19)
I'm trying to setup a Xen guest. I have installed Xen and now working on a Dom-0:
sudo xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 7881 4 r----- 213.2
$ sudo xl info
host : myserver
release : 4.9.0-3-amd64
version : #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19)
machine : x86_64
nr_cpus : 4
max_cpu_id : 3
nr_nodes : 1
cores_per_socket : 4
threads_per_core : 1
cpu_mhz : 3092
hw_caps : b7ebfbff:17bae3ff:28100800:00000001:00000001:00000000:00000000:00000100
virt_caps : hvm
total_memory : 8103
free_memory : 128
sharing_freed_memory : 0
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 8
xen_extra : .5
xen_version : 4.8.5
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset :
xen_commandline : placeholder
cc_compiler : gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
cc_compile_by : ijackson
cc_compile_domain : chiark.greenend.org.uk
cc_compile_date : Fri Jan 11 18:02:57 UTC 2019
build_id : 9a71c39470d087c0c9fa0d33c04d985ea08aaa04
xend_config_format : 4
Now I'm trying to setup a bridge. I'm following the instructions in https://wiki.xenproject.org/wiki/Xen_Project_Beginners_Guide
My configuration file is:
$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
iface eth0 inet manual
auto xenbr0
iface xenbr0 inet dhcp
bridge_ports eth0
If I run sudo service networking restart
it takes more than a minute.
Then the state of the bridge is strange:
$ sudo brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.000000000000 no
The bridge has no real id and is not enabled.
I tried several different configurations for /etc/network/interfaces all of them failed.
Any ideas, why I can't setup a xen bridge?
debian xen
The output is saying it has an id. STP a bridge negotiation protocol, not the bridge per se, and if nowadays it is by default enabled, so much the better. So, I think, your question as it is does not make sense.
– Rui F Ribeiro
Jan 15 at 12:10
add a comment |
I'm on Debian 9 (stretch):
$ cat /proc/version
Linux version 4.9.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19)
I'm trying to setup a Xen guest. I have installed Xen and now working on a Dom-0:
sudo xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 7881 4 r----- 213.2
$ sudo xl info
host : myserver
release : 4.9.0-3-amd64
version : #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19)
machine : x86_64
nr_cpus : 4
max_cpu_id : 3
nr_nodes : 1
cores_per_socket : 4
threads_per_core : 1
cpu_mhz : 3092
hw_caps : b7ebfbff:17bae3ff:28100800:00000001:00000001:00000000:00000000:00000100
virt_caps : hvm
total_memory : 8103
free_memory : 128
sharing_freed_memory : 0
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 8
xen_extra : .5
xen_version : 4.8.5
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset :
xen_commandline : placeholder
cc_compiler : gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
cc_compile_by : ijackson
cc_compile_domain : chiark.greenend.org.uk
cc_compile_date : Fri Jan 11 18:02:57 UTC 2019
build_id : 9a71c39470d087c0c9fa0d33c04d985ea08aaa04
xend_config_format : 4
Now I'm trying to setup a bridge. I'm following the instructions in https://wiki.xenproject.org/wiki/Xen_Project_Beginners_Guide
My configuration file is:
$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
iface eth0 inet manual
auto xenbr0
iface xenbr0 inet dhcp
bridge_ports eth0
If I run sudo service networking restart
it takes more than a minute.
Then the state of the bridge is strange:
$ sudo brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.000000000000 no
The bridge has no real id and is not enabled.
I tried several different configurations for /etc/network/interfaces all of them failed.
Any ideas, why I can't setup a xen bridge?
debian xen
I'm on Debian 9 (stretch):
$ cat /proc/version
Linux version 4.9.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19)
I'm trying to setup a Xen guest. I have installed Xen and now working on a Dom-0:
sudo xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 7881 4 r----- 213.2
$ sudo xl info
host : myserver
release : 4.9.0-3-amd64
version : #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19)
machine : x86_64
nr_cpus : 4
max_cpu_id : 3
nr_nodes : 1
cores_per_socket : 4
threads_per_core : 1
cpu_mhz : 3092
hw_caps : b7ebfbff:17bae3ff:28100800:00000001:00000001:00000000:00000000:00000100
virt_caps : hvm
total_memory : 8103
free_memory : 128
sharing_freed_memory : 0
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 8
xen_extra : .5
xen_version : 4.8.5
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset :
xen_commandline : placeholder
cc_compiler : gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
cc_compile_by : ijackson
cc_compile_domain : chiark.greenend.org.uk
cc_compile_date : Fri Jan 11 18:02:57 UTC 2019
build_id : 9a71c39470d087c0c9fa0d33c04d985ea08aaa04
xend_config_format : 4
Now I'm trying to setup a bridge. I'm following the instructions in https://wiki.xenproject.org/wiki/Xen_Project_Beginners_Guide
My configuration file is:
$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
iface eth0 inet manual
auto xenbr0
iface xenbr0 inet dhcp
bridge_ports eth0
If I run sudo service networking restart
it takes more than a minute.
Then the state of the bridge is strange:
$ sudo brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.000000000000 no
The bridge has no real id and is not enabled.
I tried several different configurations for /etc/network/interfaces all of them failed.
Any ideas, why I can't setup a xen bridge?
debian xen
debian xen
asked Jan 15 at 11:17
JoggerJogger
101
101
The output is saying it has an id. STP a bridge negotiation protocol, not the bridge per se, and if nowadays it is by default enabled, so much the better. So, I think, your question as it is does not make sense.
– Rui F Ribeiro
Jan 15 at 12:10
add a comment |
The output is saying it has an id. STP a bridge negotiation protocol, not the bridge per se, and if nowadays it is by default enabled, so much the better. So, I think, your question as it is does not make sense.
– Rui F Ribeiro
Jan 15 at 12:10
The output is saying it has an id. STP a bridge negotiation protocol, not the bridge per se, and if nowadays it is by default enabled, so much the better. So, I think, your question as it is does not make sense.
– Rui F Ribeiro
Jan 15 at 12:10
The output is saying it has an id. STP a bridge negotiation protocol, not the bridge per se, and if nowadays it is by default enabled, so much the better. So, I think, your question as it is does not make sense.
– Rui F Ribeiro
Jan 15 at 12:10
add a comment |
0
active
oldest
votes
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%2f494583%2fwhats-wrong-with-my-xen-bridge-configuration%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f494583%2fwhats-wrong-with-my-xen-bridge-configuration%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
The output is saying it has an id. STP a bridge negotiation protocol, not the bridge per se, and if nowadays it is by default enabled, so much the better. So, I think, your question as it is does not make sense.
– Rui F Ribeiro
Jan 15 at 12:10