Hi everyone, I just got a brand new server by Hetzner.de. The thing is, when you have additional IP, to use routed mode (precisely a subnet of IP, story of exposed MAC in their data center etc.) Bridged mode is NOT possible for getting connectivity in VM''s. Traditionally, I''m more confident with "standard" Xen setup, so it''s easy to switch from bridged to routed mode. But with XCP, I not sure how to do that (and it''s annoying when you lost connectivity due to bad config) When you install XCP on Debian, you have only choice between bridge and openvswitch. I''m ok with bridged config, I can do it fine (but without any working network in my VM''s) But how to switch to routed mode? If I try to activate routed scripts in xen-config.sxp, my dom0 is no longer available (ssh timeout). By letting only vif route, it "works" but no success for getting network in my VM''s. Sadly, I don''t have a KVM over IP to see anything :/ Here is my network conf in "working" the Dom0 bridged mode: auto xenbr0 iface xenbr0 inet static bridge_ports eth0 address 78.47.80.xxx broadcast 78.47.80.xxx netmask 255.255.255.224 gateway 78.47.80.xx # default route to access subnet up route add -net 78.47.80.xx netmask 255.255.255.224 gw 78.47.80.xx xenbr0 If I try to put "eth0" to replace "xenbr0", it doesn''t work either (dom0 is not pingable) So, what can I do to have a working routed config in XCP? If it''s not possible, I''ll go back to "traditional" Xen with xen-tools.
Olivier,> I just got a brand new server by Hetzner.de. The thing is, when you > have additional IP, to use routed mode (precisely a subnet of IP, > story of exposed MAC in their data center etc.) Bridged mode is NOT > possible for getting connectivity in VM''s.Can you elaborate on that? Until very recently, I did have a server at Hetzner, and I was running 3 IPs using bridge mode on that server. What exactly is your problem with this setup? Cheers, Andreas.
You ordered single IP. It says that "A maximum of 3 additional single IPs can be ordered per server. " But I need more than 3 ip, so I book a entire subnet. Sadly, it''s not possible to configure mac addresses for a subnet, so you must stay with routed mode (Hetzner support told me that). That''s the difference between single ip and subnet. Cheers, Olivier. On Tue, Jan 8, 2013 at 6:23 PM, Andreas Hilboll <lists@hilboll.de> wrote:> Olivier, > >> I just got a brand new server by Hetzner.de. The thing is, when you >> have additional IP, to use routed mode (precisely a subnet of IP, >> story of exposed MAC in their data center etc.) Bridged mode is NOT >> possible for getting connectivity in VM''s. > > Can you elaborate on that? Until very recently, I did have a server at > Hetzner, and I was running 3 IPs using bridge mode on that server. What > exactly is your problem with this setup? > > Cheers, Andreas.
Can''t you run your own DHCP server within the subnet? I don''t believe routed mode is officially supported by XCP but you should ask on xen-api@ where the XCP folks hang out, perhaps there is some unofficial or forthcoming way to do this. If you wanted to implement this yourself I expect you would have to look at the difference between regular xen''s vif-bridge and XCP''s vif-bridge and apply the same logical changes to xen''s vif-route to create an XCP compatible vif-route (that''s assuming the Xen one doesn''t just work). Ian. On Tue, 2013-01-08 at 17:51 +0000, Olivier Lambert wrote:> You ordered single IP. It says that "A maximum of 3 additional single > IPs can be ordered per server. " > > But I need more than 3 ip, so I book a entire subnet. > > Sadly, it''s not possible to configure mac addresses for a subnet, so > you must stay with routed mode (Hetzner support told me that). > > That''s the difference between single ip and subnet. > > > Cheers, > > Olivier. > > On Tue, Jan 8, 2013 at 6:23 PM, Andreas Hilboll <lists@hilboll.de> wrote: > > Olivier, > > > >> I just got a brand new server by Hetzner.de. The thing is, when you > >> have additional IP, to use routed mode (precisely a subnet of IP, > >> story of exposed MAC in their data center etc.) Bridged mode is NOT > >> possible for getting connectivity in VM''s. > > > > Can you elaborate on that? Until very recently, I did have a server at > > Hetzner, and I was running 3 IPs using bridge mode on that server. What > > exactly is your problem with this setup? > > > > Cheers, Andreas. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users
On Wed, Jan 9, 2013 at 11:25 AM, Ian Campbell <Ian.Campbell@citrix.com> wrote:> Can''t you run your own DHCP server within the subnet? >Sadly, no I can''t. Subnet IP''s are statically routed to my Dom0 address, so for example 88.198.109.xx has dom0 ip for gateway (which is 78.47.80.xxx). Really, it''s a mess.> I don''t believe routed mode is officially supported by XCP but you > should ask on xen-api@ where the XCP folks hang out, perhaps there is > some unofficial or forthcoming way to do this. >I saw this: http://support.citrix.com/article/CTX120964 So far, no success. I''ll try this afternoon a last modification, and if it''s not OK, I''ll switch to "classic" Xen.> If you wanted to implement this yourself I expect you would have to look > at the difference between regular xen''s vif-bridge and XCP''s vif-bridge > and apply the same logical changes to xen''s vif-route to create an XCP > compatible vif-route (that''s assuming the Xen one doesn''t just work). >I don''t have enough time for this, I''m working almost full time on Xen Orchestra ;) Cheers, Olivier.> Ian. > > On Tue, 2013-01-08 at 17:51 +0000, Olivier Lambert wrote: >> You ordered single IP. It says that "A maximum of 3 additional single >> IPs can be ordered per server. " >> >> But I need more than 3 ip, so I book a entire subnet. >> >> Sadly, it''s not possible to configure mac addresses for a subnet, so >> you must stay with routed mode (Hetzner support told me that). >> >> That''s the difference between single ip and subnet. >> >> >> Cheers, >> >> Olivier. >> >> On Tue, Jan 8, 2013 at 6:23 PM, Andreas Hilboll <lists@hilboll.de> wrote: >> > Olivier, >> > >> >> I just got a brand new server by Hetzner.de. The thing is, when you >> >> have additional IP, to use routed mode (precisely a subnet of IP, >> >> story of exposed MAC in their data center etc.) Bridged mode is NOT >> >> possible for getting connectivity in VM''s. >> > >> > Can you elaborate on that? Until very recently, I did have a server at >> > Hetzner, and I was running 3 IPs using bridge mode on that server. What >> > exactly is your problem with this setup? >> > >> > Cheers, Andreas. >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users > >