* RE: Must have been asked before, but I can't find the solution
@ 2005-01-19 21:21 Ian Pratt
2005-01-19 21:32 ` B.G. Bruce
` (2 more replies)
0 siblings, 3 replies; 16+ messages in thread
From: Ian Pratt @ 2005-01-19 21:21 UTC (permalink / raw)
To: bgb, xen-devel
> 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.
Ian
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 16+ messages in thread* RE: Must have been asked before, but I can't find the solution
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
[not found] ` <200501210044.03264.maw48@cl.cam.ac.uk>
2 siblings, 1 reply; 16+ messages in thread
From: B.G. Bruce @ 2005-01-19 21:32 UTC (permalink / raw)
To: Ian Pratt; +Cc: xen-devel
On Wed, 2005-01-19 at 17: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.
WHERE? I must be missing something but for the life of me, I have not
been able to set this for anything other than eth0. If it CAN be done
in the config file, please give an example.
Thanks,
B.
>
> Ian
>
>
> -------------------------------------------------------
> 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
^ permalink raw reply [flat|nested] 16+ messages in thread* RE: Must have been asked before, but I can't find the solution
2005-01-19 21:32 ` B.G. Bruce
@ 2005-01-19 21:51 ` Kip Macy
0 siblings, 0 replies; 16+ messages in thread
From: Kip Macy @ 2005-01-19 21:51 UTC (permalink / raw)
To: B.G. Bruce; +Cc: Ian Pratt, xen-devel
>
> WHERE? I must be missing something but for the life of me, I have not
> been able to set this for anything other than eth0. If it CAN be done
> in the config file, please give an example.
and the voodoo is ...
vif = [ mac=aa:1:0:0:3:37,bridge=xen-br0 ]
let me know if you want the complete context that this comes from
-Kip
>
> Thanks,
>
> B.
>
> >
> > Ian
> >
> >
> > -------------------------------------------------------
> > 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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Must have been asked before, but I can't find the solution
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:52 ` Felipe Alfaro Solana
2005-01-19 22:08 ` B.G. Bruce
[not found] ` <200501210044.03264.maw48@cl.cam.ac.uk>
2 siblings, 1 reply; 16+ messages in thread
From: Felipe Alfaro Solana @ 2005-01-19 21:52 UTC (permalink / raw)
To: Ian Pratt; +Cc: bgb, xen-devel
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.
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: Must have been asked before, but I can't find the solution
2005-01-19 21:52 ` Felipe Alfaro Solana
@ 2005-01-19 22:08 ` B.G. Bruce
2005-01-19 22:13 ` Kip Macy
2005-01-20 13:01 ` Mark Williamson
0 siblings, 2 replies; 16+ messages in thread
From: B.G. Bruce @ 2005-01-19 22:08 UTC (permalink / raw)
To: Felipe Alfaro Solana; +Cc: Ian Pratt, xen-devel
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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Must have been asked before, but I can't find the solution
2005-01-19 22:08 ` B.G. Bruce
@ 2005-01-19 22:13 ` Kip Macy
2005-01-20 13:01 ` Mark Williamson
1 sibling, 0 replies; 16+ messages in thread
From: Kip Macy @ 2005-01-19 22:13 UTC (permalink / raw)
To: B.G. Bruce; +Cc: Felipe Alfaro Solana, Ian Pratt, xen-devel
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
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: Must have been asked before, but I can't find the solution
2005-01-19 22:08 ` B.G. Bruce
2005-01-19 22:13 ` Kip Macy
@ 2005-01-20 13:01 ` Mark Williamson
2005-01-20 15:30 ` B.G. Bruce
1 sibling, 1 reply; 16+ messages in thread
From: Mark Williamson @ 2005-01-20 13:01 UTC (permalink / raw)
To: xen-devel, bgb; +Cc: Felipe Alfaro Solana, Ian Pratt
> Ok, yes, that works for eth0, but what about eth1,eth2,eth3,.... what
> voodoo do I use for multiple vif?
Square brackets mean it's a list (config files are really Python scripts that
get run in a sandbox, so this is in fact just a Python list!):
vif = [ "mac = XX:XX:XX:XX:XX:XX", "mac = XX:XX:XX:XX:XX:XX" ]
Should give you the functionality you want.
HTH,
Mark
>
> 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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Must have been asked before, but I can't find the solution
2005-01-20 13:01 ` Mark Williamson
@ 2005-01-20 15:30 ` B.G. Bruce
0 siblings, 0 replies; 16+ messages in thread
From: B.G. Bruce @ 2005-01-20 15:30 UTC (permalink / raw)
To: Mark Williamson; +Cc: xen-devel, Felipe Alfaro Solana, Ian Pratt
THANK YOU!!!
vif = [ "mac=aa:00:00:00:00:11, bridge=priv", "mac=aa:00:00:00:00:12,
bridge=pub", "mac=aa:00:00:00:00:13, bridge=mgmt",
"mac=aa:00:00:00:00:14, bridge=vsw0" ]
returns:
devel root # ip link
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether aa:00:00:00:00:11 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether aa:00:00:00:00:12 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether aa:00:00:00:00:13 brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether aa:00:00:00:00:14 brd ff:ff:ff:ff:ff:ff
On Thu, 2005-01-20 at 09:01, Mark Williamson wrote:
> > Ok, yes, that works for eth0, but what about eth1,eth2,eth3,.... what
> > voodoo do I use for multiple vif?
>
> Square brackets mean it's a list (config files are really Python scripts that
> get run in a sandbox, so this is in fact just a Python list!):
>
> vif = [ "mac = XX:XX:XX:XX:XX:XX", "mac = XX:XX:XX:XX:XX:XX" ]
>
> Should give you the functionality you want.
>
> HTH,
> Mark
>
> >
> > 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
> _______________________________________________
> 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
^ permalink raw reply [flat|nested] 16+ messages in thread
[parent not found: <200501210044.03264.maw48@cl.cam.ac.uk>]
* RE: Re: Back end domains : input desired
@ 2005-01-26 18:07 Ian Pratt
0 siblings, 0 replies; 16+ messages in thread
From: Ian Pratt @ 2005-01-26 18:07 UTC (permalink / raw)
To: Tobias Hunger, xen-devel, bgb; +Cc: mark.williamson
> I had send a mail earlier this week asking the docs to be
> fixed. Apart from
> the s/physdev/pci/ change the format of the pci entries is
> not correct in the
> docs. You should use (01:01.0), etc. This differs from the
> syntax in the
> config files used to "unhide" the devices for certain domains.
I fixed the documentation after your message.
I guess there's a good argument for unifying the format between the
config file and the xen command line. I'd certainly consider a patch
that also updated the documentation appropriately...
Ian
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2005-01-26 18:07 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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-26 18:07 Ian Pratt
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.