From: Kip Macy <kmacy@fsmware.com>
To: "B.G. Bruce" <bgb@nt-nv.com>
Cc: Felipe Alfaro Solana <lkml@mac.com>,
Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>,
xen-devel@lists.sourceforge.net
Subject: Re: Must have been asked before, but I can't find the solution
Date: Wed, 19 Jan 2005 14:13:53 -0800 (PST) [thread overview]
Message-ID: <20050119141234.T35260@demos.bsdclusters.com> (raw)
In-Reply-To: <1106172508.30699.95.camel@master.vms.security>
bootscript "xenargs":
more ~mowat/xen/xenargs
BSD_KERNEL=/u/mowat/p4/tricks/freebsd/usr/src/sys/i386/compile/XENCONF/kernel
CONFIG=/u/mowat/xen/freebsd
BOOTARGS="boot_verbose=yes, boot_gdb=yes"
# Other BSD bootargs
#
# boot_single=yes
# boot_gdb_pause=yes
# curly IP addresses
# SIM_NAME=xen-vm1
# IPADDR="172.16.9.213 172.16.9.214"
# DISKS=loop5
#
# Don't need to specify number of NICS if we specify the list of MACs
# NICS=2
# mowat1/mowat2 sim IPs
SIM_NAME=mowat1
IPADDR="10.56.18.123 10.56.18.125"
MACS="aa:1:0:0:3:37 aa:1:0:0:3:38"
DISKS="loop0 loop1 loop2 loop3 loop4 loop5 loop6 loop7"
xm create -f $CONFIG -c name=$SIM_NAME ipstr="$IPADDR" macstr="$MACS"
diskstr="$DI
SKS" bsdbootargs="$BOOTARGS" kernel=$BSD_KERNEL
excerpt from /u/mowat/xen/freebsd:
i = 0
vlist = string.split(macstr,' ')
for vintf in vlist:
if vintf == "":
break
if i == 0:
vif = [ "mac="+vintf+",bridge=xen-br0" ]
else:
vif += [ "mac="+vintf+",bridge=xen-br0" ]
i = i + 1
try:
nics
except:
if i > 1:
nics = i
On Wed, 19 Jan 2005, B.G. Bruce wrote:
> On Wed, 2005-01-19 at 17:52, Felipe Alfaro Solana wrote:
> > On 19 Jan 2005, at 22:21, Ian Pratt wrote:
> >
> > >
> > >> I'm attempting to migrate from vmware to xen, however I need
> > >> to be able
> > >> to run more than one bridge.
> > >
> > > Should be no problem.
> > >
> > >> Now, I can modify the existing network/vif-bridge or build replacement
> > >> scripts/config files that will get this done, with the
> > >> exception of the
> > >> MAC. If you configure (xen-2.0.3-src.tar.bz2) a domain for
> > >> more than 1
> > >> nic, the xenU domains use the same MAC for all interfaces. EX.
> > >
> > > OK, we need to add the vif number into the MAC generation hash. Anyone
> > > care to submit a patch?
> > >
> > >> How/where do I change this? (not in the config file as far as I can
> > >> tell)
> > >
> > > I believe you can set the MAC for each vif.
> >
> > Yep! By adding
> >
> > vif = [ "mac = XX:XX:XX:XX:XX:XX" ]
> >
> > to the domain configuration file.
> >
>
> Ok, yes, that works for eth0, but what about eth1,eth2,eth3,.... what
> voodoo do I use for multiple vif?
>
> B.
>
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> > Tool for open source databases. Create drag-&-drop reports. Save time
> > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> > Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/xen-devel
> >
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
>
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
next prev parent reply other threads:[~2005-01-19 22:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-19 21:21 Must have been asked before, but I can't find the solution Ian Pratt
2005-01-19 21:32 ` B.G. Bruce
2005-01-19 21:51 ` Kip Macy
2005-01-19 21:52 ` Felipe Alfaro Solana
2005-01-19 22:08 ` B.G. Bruce
2005-01-19 22:13 ` Kip Macy [this message]
2005-01-20 13:01 ` Mark Williamson
2005-01-20 15:30 ` B.G. Bruce
[not found] ` <200501210044.03264.maw48@cl.cam.ac.uk>
[not found] ` <1106284353.4743.46.camel@master.vms.security>
[not found] ` <200501221446.12675.maw48@cl.cam.ac.uk>
2005-01-24 16:09 ` Back end domains : input desired B.G. Bruce
2005-01-24 16:18 ` Mark A. Williamson
2005-01-24 16:36 ` B.G. Bruce
2005-01-24 16:50 ` Tobias Hunger
2005-01-24 17:03 ` Jan Kundrát
2005-01-24 17:06 ` Mark A. Williamson
2005-01-24 17:17 ` Andrew Warfield
-- strict thread matches above, loose matches on Subject: below --
2005-01-19 21:11 Must have been asked before, but I can't find the solution B.G. Bruce
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=20050119141234.T35260@demos.bsdclusters.com \
--to=kmacy@fsmware.com \
--cc=bgb@nt-nv.com \
--cc=lkml@mac.com \
--cc=m+Ian.Pratt@cl.cam.ac.uk \
--cc=xen-devel@lists.sourceforge.net \
/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 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.