{"id":130,"date":"2009-09-17T08:57:36","date_gmt":"2009-09-17T07:57:36","guid":{"rendered":"http:\/\/lendl.priv.at\/blog\/?p=130"},"modified":"2026-01-26T12:16:00","modified_gmt":"2026-01-26T11:16:00","slug":"more-upgrading-tidbits","status":"publish","type":"post","link":"https:\/\/lendl.priv.at\/blog\/2009\/09\/17\/more-upgrading-tidbits\/","title":{"rendered":"More upgrading tidbits"},"content":{"rendered":"<p>As mentioned before, I disabled xen before the etch->lenny upgrade. Now I&#8217;ve re-enabled xen, and the following bits may be of wider interest:<\/p>\n<p>My server at the <a href=\"https:\/\/www.hetzner.de\/\">Hetzner hosting center<\/a> has one static IP address and a small network that is routed towards that IP address. So my plan was to use this small network (88.198.160.176\/28) for the virtual switch inside the xen Dom0 and connect all the domUs to it. I solved this the following way:<\/p>\n<p>In \/etc\/network\/interfaces I tell Debian to create the bridge and use br0 as the interface of the dom0 into that bridge:<\/p>\n<blockquote>\n<pre>auto br0\niface br0 inet static\n        pre-up brctl addbr br0\n        address 88.198.160.177\n        netmask 255.255.255.248\n        bridge_fd 0\n        bridge_hello 0\n        bridge_stp off<\/pre>\n<\/blockquote>\n<p>That way, the xen scripts themselves have little to do. The settings in \/etc\/xen\/xend-config.sxp are:<\/p>\n<blockquote>\n<pre>(vif-script 'vif-bridge bridge=br0')\n(network-script network-route)<\/pre>\n<\/blockquote>\n<p>In the config-file for each individual domU, I just use something like<\/p>\n<blockquote>\n<pre>vif  = [ 'ip=88.198.160.178,mac=00:16:3e:77:e2:79,bridge=br0' ]<\/pre>\n<\/blockquote>\n<p>but I&#8217;m not sure whether that&#8217;s actually needed at this point.<\/p>\n<p>Concerning the domUs: The hints in the <a href=\"http:\/\/wiki.debian.org\/Xen\">Debian Wiki<\/a> were helpful, especially about changes to the console handling.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As mentioned before, I disabled xen before the etch->lenny upgrade. Now I&#8217;ve re-enabled xen, and the following bits may be of wider interest: My server at the Hetzner hosting center has one static IP address and a small network that is routed towards that IP address. So my plan was to use this small network [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-130","post","type-post","status-publish","format-standard","hentry","category-system-administration"],"_links":{"self":[{"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/posts\/130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/comments?post=130"}],"version-history":[{"count":1,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/posts\/130\/revisions"}],"predecessor-version":[{"id":976,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/posts\/130\/revisions\/976"}],"wp:attachment":[{"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/media?parent=130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/categories?post=130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/tags?post=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}