Results 1 to 6 of 6

Thread: XEN 3.1 Network problem (ubuntu 7.10) cannot ping gateway

  1. #1
    Join Date
    Jul 2007
    Beans
    6

    XEN 3.1 Network problem (ubuntu 7.10) cannot ping gateway

    THE CONFIG

    I use the 2.6.22-14-xen kernel on my kubuntu 7.10.

    I've installed xen utils & co, and created a domain (called server.cabestan.be)

    here is my server.cabestan.be.cfg:
    Code:
    kernel      = '/boot/vmlinuz-2.6.22-14-xen'
    ramdisk     = '/boot/initrd.img-2.6.22-14-xen'
    memory      = '128'
    root        = '/dev/hda1 ro'
    disk        = [ 'file:/home/xen/domains/server.cabestan.be/disk.img,hda1,w', 'file:/home/xen/domains/server.cabestan.be/swap.img,hda2,w' ]
    name        = 'server.cabestan.be'
    vif         = [ 'ip=192.168.1.254' ]
    on_poweroff = 'destroy'
    on_reboot   = 'restart'
    on_crash    = 'restart'
    and my xend-config.sxp config:
    Code:
    (xend-relocation-server yes)
    (xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$')
    (network-script network-bridge)
    (vif-script vif-bridge)
    (dom0-min-mem 196)
    (dom0-cpus 0)
    (vncpasswd '')
    I have only one adatper
    Code:
    03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
    THE PROBLEM

    When I Start xend in bridged mode, network goes completely down (even without domains started). The gateway become unpingable from the host, the guests are unpingable from the host (when domain started of course)...

    It seems to be a big bridge problem :-/

    Here are the brctl show :
    Code:
    bridge name bridge id STP enabled interfaces
    xenbr0 8000.feffffffffff no vif0.0
                                peth0
    And the xm list :
    Code:
    Name ID Mem VCPUs State Time(s)
    Domain-0 0 922 2 r----- 67.4
    route is ok, I'm blocked :-/

    does anybody have an idea ?

    thanx !
    Laurent.

  2. #2
    Join Date
    Aug 2005
    Beans
    82

    Re: XEN 3.1 Network problem (ubuntu 7.10) cannot ping gateway

    I have the same problem and have not yet found a way around it

  3. #3
    Join Date
    Oct 2007
    Beans
    4

    Re: XEN 3.1 Network problem (ubuntu 7.10) cannot ping gateway

    I too have this exact problem. It's preventing me from moving forward with XEN. I have a suspicion that it's my network card which is exactly the same as yours:

    Code:
    03:00.0  Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
    But after spending countless hours on this issue I haven't taken the time to swap out the card and see if it works. I will probably this weekend. If you do and it works, let us know.

    thanks,

    BX

  4. #4
    Join Date
    Jan 2008
    Beans
    1

    Re: XEN 3.1 Network problem (ubuntu 7.10) cannot ping gateway

    Hello, I'm a newbie to the Ubuntu on XEN issue.

    I am trying to install Ubuntu 7.10 on Citrix Xen Enterprise ver 4. When it boots all i get is a loading screen. I've attached an image. Just sits there and never boots.

    I was wondering if you were using 3.1 because of this problem and if anyone has tried installing 7.10 or 6.x on Xen 4 yet.



    Thank you,


    Jason Vaughan
    Attached Images Attached Images

  5. #5
    Join Date
    Aug 2005
    Beans
    8

    Re: XEN 3.1 Network problem (ubuntu 7.10) cannot ping gateway

    I've been using Xen for several years now on my server, and am currently in the process of moving from a gentoo/xen3.0.2 based system to an ubuntu/xen3.1.3 based system.

    My way to avoid problems as listed above, is to not use the default 'network-bridge' script, but rather I create 2 bridges myself (always, regardless wether xen is active or not), and upon xen startup, I simply have a custom script that adds vif0.0 to the dmz bridge, and vif0.1 to the loc bridge.

    My virtual machines can then choose with 'bridge=dmz' or 'bridge=loc' in which network domain they want to reside.

    This way, there is no 'magic' involved in joggling with the existing network devices (moving mac & ip addresses, moving routes, renaming network devices) and thus if the network was up prior to starting xend, it will still be up after starting xend.

    One issue that I did encounter, is that the xen bridges do not work nicely with shorewall firewall (as of xen3.1/shorewall 3.4), I was not able to ping between machines on the same bridge anymore. Thus I now run the firewall in a seperate guest domain, and the problem is solved.

    If you're interested in my /etc/network/interfaces, /etc/xen/xend.sxp and /etc/xen/scripts/network-custom I can post them for you.

    Mark.

  6. #6
    Join Date
    Oct 2008
    Beans
    1

    Re: XEN 3.1 Network problem (ubuntu 7.10) cannot ping gateway

    @hurenkam
    i am interested in these files. could you post them here?

    thanks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •