xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: erin.balid@inoutbox.com
To: xen-devel@lists.xensource.com
Subject: Re: After switching from "xm" to "xl" toolstack, can't get Guest networking to work.
Date: Sat, 21 Jan 2012 16:54:21 -0800	[thread overview]
Message-ID: <1327193661.16152.140661026376033@webmail.messagingengine.com> (raw)
In-Reply-To: <1327187042.28621.140661026352253@webmail.messagingengine.com>

Hi All.

I wanted to do an apples-to-apples comparison of "xm" and "xl".

Using a config file VIF of

	vif=['mac=00:16:3E:12:34:01,bridge=br0']

If I turn on  xend and start the Guest with 'xm create', networking at
the Guest is OK.
If I turn off xend and start the Guest with 'xl create', networking at
the Guest fails, I think because the Guest's VIF doesn't get assigned to
the Host bridge.


service xend start
	Starting xend                                                   
	                                         done

brctl show
	bridge name     bridge id               STP enabled    
	interfaces
	br0             8000.0052351d5337       yes             eth0

xm list
	Name                                        ID   Mem VCPUs     
	State   Time(s)
	Domain-0                                     0  1010     1    
	r-----    169.1

xm create /etc/xen/vm/tmpl_run.cfg

xm list
	Name                                        ID   Mem VCPUs     
	State   Time(s)
	Domain-0                                     0  1010     1    
	r-----    175.2
	test                                         6  1024     2    
	-b----      8.7

brctl show
	bridge name     bridge id               STP enabled    
	interfaces
	br0             8000.0052351d5337       yes             eth0
	                                                        vif6.0

xm console test    
	Welcome to openSUSE 12.1 "Asparagus" - Kernel 3.1.0-1.2-xen
	(xvc0).
	testserver login: test
	Password:
	Last login: Sat Jan 21 14:57:14 PST 2012 on xvc0
	You have new mail.
	Have a lot of fun...

ping -c 2 192.168.1.1
	PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
	64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.500 ms
	64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.388 ms
	--- 192.168.1.1 ping statistics ---
	2 packets transmitted, 2 received, 0% packet loss, time 999ms
	rtt min/avg/max/mdev = 0.388/0.444/0.500/0.056 ms

shutdown -h now
	The system is going down for system halt NOW! (Sat Jan 21
	16:34:48 2012):
	...
	[  147.792590] System halted.

service xend stop

brctl show
	bridge name     bridge id               STP enabled    
	interfaces
	br0             8000.0052351d5337       yes             eth0

xl list
	Name                                        ID   Mem VCPUs     
	State   Time(s)
	Domain-0                                     0  1010     1    
	r-----     182.8

xl create /etc/xen/vm/tmpl_run.cfg

xl list
	Name                                        ID   Mem VCPUs     
	State   Time(s)
	Domain-0                                     0  1010     1    
	r-----     186.6
	test                                         7  1024     2    
	-b----       6.9

brctl show
	bridge name     bridge id               STP enabled    
	interfaces
	br0             8000.0052351d5337       yes             eth0

xl console test    
	Welcome to openSUSE 12.1 "Asparagus" - Kernel 3.1.0-1.2-xen
	(xvc0).
	testserver login: test
	Password:
	Last login: Sat Jan 21 16:34:08 PST 2012 on xvc0
	You have new mail.
	Have a lot of fun...

ping -c 2 192.168.1.1
	PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
	From 192.168.1.32 icmp_seq=1 Destination Host Unreachable
	From 192.168.1.32 icmp_seq=2 Destination Host Unreachable
	--- 192.168.1.1 ping statistics ---
	2 packets transmitted, 0 received, +2 errors, 100% packet loss,
	time 1001ms
	pipe 2

Regards,

Erin

  reply	other threads:[~2012-01-22  0:54 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-21 20:06 After switching from "xm" to "xl" toolstack, can't get Guest networking to work erin.balid
2012-01-21 22:57 ` Roger Pau Monné
2012-01-21 23:04   ` erin.balid
2012-01-22  0:54     ` erin.balid [this message]
2012-01-22 11:08     ` Roger Pau Monné
2012-01-22 17:11       ` erin.balid
2012-01-22 17:28         ` Roger Pau Monné
2012-01-22 17:54           ` erin.balid
2012-01-24 23:13             ` Jim Fehlig
2012-01-25  2:01               ` erin.balid
2012-01-25 15:55                 ` Jim Fehlig
2012-01-25 16:27                   ` erin.balid
2012-01-25 16:47                     ` Jim Fehlig
2012-01-22 15:49 ` djmagee
2012-01-23 11:27 ` Ian Campbell
2012-01-23 15:28   ` erin.balid
2012-01-24 14:26     ` Ian Campbell
2012-01-24 15:56       ` erin.balid
2012-01-24 16:41         ` Ian Campbell
2012-01-24 17:10           ` erin.balid
2012-01-24 18:05             ` erin.balid
2012-01-24 18:19               ` erin.balid
2012-01-24 21:20                 ` Ian Campbell
2012-01-24 21:20               ` Ian Campbell
2012-01-24 21:44                 ` erin.balid
2012-01-25  3:59                   ` erin.balid
2012-01-25  9:35                   ` Ian Campbell
2012-01-25 16:19                 ` Jim Fehlig
2012-01-25 16:32                   ` Ian Campbell
     [not found] <mailman.1527.1327510060.1471.xen-devel@lists.xensource.com>
2012-01-25 17:06 ` John McDermott CIV
2012-01-25 17:16   ` Ian Campbell
2012-01-25 17:22     ` John McDermott CIV
2012-01-25 17:33     ` Jim Fehlig
2012-01-25 17:39       ` John McDermott CIV
2012-01-25 18:02         ` Jim Fehlig
2012-01-25 19:20           ` John McDermott CIV
2012-01-25 21:16             ` Jim Fehlig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1327193661.16152.140661026376033@webmail.messagingengine.com \
    --to=erin.balid@inoutbox.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).