* IP and hostname for domU
@ 2006-11-15 0:48 jdsw
2006-11-16 16:19 ` Andrew D. Ball
0 siblings, 1 reply; 4+ messages in thread
From: jdsw @ 2006-11-15 0:48 UTC (permalink / raw)
To: xendevel
[-- Attachment #1.1: Type: text/plain, Size: 858 bytes --]
Forwarding to devel list.
(changed the wordings bit)
The xmexample1 seems to contain
hostname= "vm%d" % vmid
Does this work with HVM ? I tried setting hostname=foo for my HVM based FC5 Linux domU. It does not seem to work.
Also, is there a way to set IP address for a Linux HVM DomU ?
I have seen somewhere (not in xen example)
vif = [ 'ip=192.168.1.12' ]
How do both these work ? (if they are supposed to work )
Are some scripts run after DomU is instantiated ? OR are passed as kernel params ?
Thanks
/Jd
ps. anyone using these params, can u please send me output of
cat /proc/cmdline
from DomU
---------------------------------
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
---------------------------------
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.
[-- Attachment #1.2: Type: text/html, Size: 1260 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: IP and hostname for domU
2006-11-15 0:48 IP and hostname for domU jdsw
@ 2006-11-16 16:19 ` Andrew D. Ball
0 siblings, 0 replies; 4+ messages in thread
From: Andrew D. Ball @ 2006-11-16 16:19 UTC (permalink / raw)
To: jdsw; +Cc: xendevel
I strongly dislike the {ip, dhcp, root*} options. They map to Linux
kernel options. If someone wants to do that in the configuration
instead of a bootloader configuration, I think the should use the
ill-named 'extra' option, which is appended to the kernel command line.
This is for paravirtualized linux domU's.
Would be best if ip configuration is done in userspace of the guest
unless someone would ordinarily do this with kernel options and doesn't
want to use a bootloader.
Sorry, I'm a bit sore on this :-)
Peace.
Andrew
On Tue, 2006-11-14 at 16:48 -0800, jdsw wrote:
> Forwarding to devel list.
> (changed the wordings bit)
>
> The xmexample1 seems to contain
>
> hostname= "vm%d" % vmid
>
> Does this work with HVM ? I tried setting hostname=foo for my
> HVM based FC5 Linux domU. It does not seem to work.
>
> Also, is there a way to set IP address for a Linux HVM DomU ?
> I have seen somewhere (not in xen example)
> vif = [ 'ip=192.168.1.12' ]
>
> How do both these work ? (if they are supposed to work )
> Are some scripts run after DomU is instantiated ? OR are
> passed as kernel params ?
>
> Thanks
> /Jd
> ps. anyone using these params, can u please send me output of
> cat /proc/cmdline
> from DomU
>
>
>
>
> ______________________________________________________________
> Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call
> rates.
>
>
>
>
> ______________________________________________________________________
> Check out the all-new Yahoo! Mail beta - Fire up a more powerful email
> and get things done faster.
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: IP and hostname for domU
@ 2006-11-16 16:33 Ian Pratt
2006-11-18 14:34 ` jdsw
0 siblings, 1 reply; 4+ messages in thread
From: Ian Pratt @ 2006-11-16 16:33 UTC (permalink / raw)
To: aball, jdsw; +Cc: xendevel
> I strongly dislike the {ip, dhcp, root*} options. They map
> to Linux kernel options. If someone wants to do that in the
> configuration instead of a bootloader configuration, I think
> the should use the ill-named 'extra' option, which is
> appended to the kernel command line.
> This is for paravirtualized linux domU's.
>
> Would be best if ip configuration is done in userspace of the
> guest unless someone would ordinarily do this with kernel
> options and doesn't want to use a bootloader.
Yep, I'd like to see these disappear when we move to the new config file
format.
Should we wish to provide convenience functions for the linux kernel
command line ip pnp config they should be called cmdline_linux_ip_addr
etc.
Ian
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: IP and hostname for domU
2006-11-16 16:33 Ian Pratt
@ 2006-11-18 14:34 ` jdsw
0 siblings, 0 replies; 4+ messages in thread
From: jdsw @ 2006-11-18 14:34 UTC (permalink / raw)
To: Ian Pratt, aball; +Cc: xendevel
[-- Attachment #1.1: Type: text/plain, Size: 1298 bytes --]
Looking at the response, it seems that these (ip,netmask, hostname etc) end up as kernel cmdline parameters.
does
vif = [ 'ip=192.168.0.12' ]
also end up in kernel parameter similar to
ip = '192.168.0.12'
?
Thanks
/Jd
Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk> wrote:
> I strongly dislike the {ip, dhcp, root*} options. They map
> to Linux kernel options. If someone wants to do that in the
> configuration instead of a bootloader configuration, I think
> the should use the ill-named 'extra' option, which is
> appended to the kernel command line.
> This is for paravirtualized linux domU's.
>
> Would be best if ip configuration is done in userspace of the
> guest unless someone would ordinarily do this with kernel
> options and doesn't want to use a bootloader.
Yep, I'd like to see these disappear when we move to the new config file
format.
Should we wish to provide convenience functions for the linux kernel
command line ip pnp config they should be called cmdline_linux_ip_addr
etc.
Ian
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
---------------------------------
Sponsored Link
$420,000 Mortgage for $1,399/month - Think You Pay Too Much For Your Mortgage? Find Out!
[-- Attachment #1.2: Type: text/html, Size: 1728 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-11-18 14:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-15 0:48 IP and hostname for domU jdsw
2006-11-16 16:19 ` Andrew D. Ball
-- strict thread matches above, loose matches on Subject: below --
2006-11-16 16:33 Ian Pratt
2006-11-18 14:34 ` jdsw
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.