Re: [zones-discuss] Bridging at Zones.

2012-08-27 Thread Daniel Requena
Wow! That is just perfect James...
I'm pretty sure I'll use all this information for the simulation...
About the "Appointed Forwarder operation or DR election" I will need to
simulate those too... for that, as you suggested, I'll use two computers
with 4 Ethernet link.
Thanks a lot!

Best Regards.

Daniel.

2012/8/26 James Carlson 

> On 8/25/2012 1:49 PM, Daniel Requena wrote:
> > James,
> >
> > Thank you for you answer.
> >  I had never though about running more than one instance of Trill on
> > the same machine... simnet links are new to me... a quick search on
> > Google didn't  give me much. Do you have any links about it?
>
> Try searching "dladm simnet".  You should get a bunch of hits, including
> this fairly practical one:
>
>
> http://www.c0t0d0s0.org/archives/7424-Simulating-the-cloud-a-practical-example..html
>
> He was simulating routers, but the process is the same.  (And, in fact,
> "simnet" links were added during our bridging/TRILL project in order to
> test bridging and TRILL.)
>
> On that site, you'll also find links to a separate driver you can
> download and install called "hxbt:"
>
>
> http://www.c0t0d0s0.org/archives/6625-Less-known-Solaris-features-hxbt-or-WAN-emulation.html
>
> It looks like a variant of the "hitbox" driver we used to use at Sun for
> testing WAN-related behavior.
>
> >   There is no problem in running this simulation on the global
> > zone... but the objective is to simulate a regular network running only
> > regular bridges and then I would substitute bridges for Trill links (one
> > by one). Can you see any problem doing that without virtualization?
>
> No problem.  You just need a bunch of links to bridge together, and then
> you can set up arbitrary instances of regular bridges (with or without
> STP) and TRILL bridges.
>
> Simnet links are just point-to-point, so they're perhaps not too
> interesting if you're deeply concerned about details such as Appointed
> Forwarder operation or DR election, at least on those links, but you can
> use one or two real external Ethernet interfaces to probe those
> behaviors as well.
>
> --
> James Carlson 42.703N 71.076W 
>



-- 
Atenciosamente
  Daniel Requena
___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Bridging at Zones.

2012-08-26 Thread James Carlson
On 8/25/2012 1:49 PM, Daniel Requena wrote:
> James,
> 
> Thank you for you answer.
>  I had never though about running more than one instance of Trill on
> the same machine... simnet links are new to me... a quick search on
> Google didn't  give me much. Do you have any links about it?

Try searching "dladm simnet".  You should get a bunch of hits, including
this fairly practical one:

http://www.c0t0d0s0.org/archives/7424-Simulating-the-cloud-a-practical-example..html

He was simulating routers, but the process is the same.  (And, in fact,
"simnet" links were added during our bridging/TRILL project in order to
test bridging and TRILL.)

On that site, you'll also find links to a separate driver you can
download and install called "hxbt:"

http://www.c0t0d0s0.org/archives/6625-Less-known-Solaris-features-hxbt-or-WAN-emulation.html

It looks like a variant of the "hitbox" driver we used to use at Sun for
testing WAN-related behavior.

>   There is no problem in running this simulation on the global
> zone... but the objective is to simulate a regular network running only
> regular bridges and then I would substitute bridges for Trill links (one
> by one). Can you see any problem doing that without virtualization?

No problem.  You just need a bunch of links to bridge together, and then
you can set up arbitrary instances of regular bridges (with or without
STP) and TRILL bridges.

Simnet links are just point-to-point, so they're perhaps not too
interesting if you're deeply concerned about details such as Appointed
Forwarder operation or DR election, at least on those links, but you can
use one or two real external Ethernet interfaces to probe those
behaviors as well.

-- 
James Carlson 42.703N 71.076W 
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Bridging at Zones.

2012-08-25 Thread Daniel Requena
James,

Thank you for you answer.
 I had never though about running more than one instance of Trill on
the same machine... simnet links are new to me... a quick search on Google
didn't  give me much. Do you have any links about it?
  There is no problem in running this simulation on the global zone...
but the objective is to simulate a regular network running only regular
bridges and then I would substitute bridges for Trill links (one by one).
Can you see any problem doing that without virtualization?
  Thanks for your help I really appreciate.

Regards

Daniel.
Em 24/08/2012 19:11, "James Carlson"  escreveu:

> On 8/22/2012 10:19 AM, Daniel Requena wrote:
> > Hi Edward,
> >
> >I believe i was not so clear about the problem.
> >I'm not trying to create vnics from inside the zone... I'm trying to
> > run this command inside the container: "dladm create-bridge -P trill -l
> > net0 mytrillBridge" (net0 being the vnic create from global zone).
>
> I wouldn't expect that to work well in a zone.  For one thing, the TRILL
> forwarding table isn't zone-aware.
>
> If you need to run multiple instances of TRILL on a single system, you
> can do that.  The design supports having multiple instances of TRILL,
> and (using simnet links) can simulate complex networks.  See:
>
> http://mail.opensolaris.org/pipermail/rbridges-dev/2009-June/000576.html
>
> Because it's a bridging solution, and bridging takes place logically
> below the layers that do VLANs and VNICs and the like, it uses physical
> interfaces.
>
> If you really need to keep it out of the global zone for some reason, I
> think you'll need to run it in a VM.  But I don't understand the
> scenario in which that would be required.
>
> --
> James Carlson 42.703N 71.076W 
> ___
> zones-discuss mailing list
> zones-discuss@opensolaris.org
>
___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Bridging at Zones.

2012-08-24 Thread James Carlson
On 8/22/2012 10:19 AM, Daniel Requena wrote:
> Hi Edward,
> 
>I believe i was not so clear about the problem.
>I'm not trying to create vnics from inside the zone... I'm trying to
> run this command inside the container: "dladm create-bridge -P trill -l
> net0 mytrillBridge" (net0 being the vnic create from global zone).

I wouldn't expect that to work well in a zone.  For one thing, the TRILL
forwarding table isn't zone-aware.

If you need to run multiple instances of TRILL on a single system, you
can do that.  The design supports having multiple instances of TRILL,
and (using simnet links) can simulate complex networks.  See:

http://mail.opensolaris.org/pipermail/rbridges-dev/2009-June/000576.html

Because it's a bridging solution, and bridging takes place logically
below the layers that do VLANs and VNICs and the like, it uses physical
interfaces.

If you really need to keep it out of the global zone for some reason, I
think you'll need to run it in a VM.  But I don't understand the
scenario in which that would be required.

-- 
James Carlson 42.703N 71.076W 
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Bridging at Zones.

2012-08-22 Thread Daniel Requena
No problem Edward, thank you for trying to help.
If there is any group or person that you can indicate me so I can talk
about theses issues, it would be great.
What I don't want is to run a entire Solaris (using full virtualization)
just to emulate a single Trill Switch :/

Regards.
Daniel

2012/8/22 Edward Pilatowicz 

> oops.  please ignore my advice and follow erics.  (although, even if you
> do that i'm not if you'll be able to create a bridge inside a zone.)
>
> ed
>
> On Wed, Aug 22, 2012 at 11:19:35AM -0300, Daniel Requena wrote:
> > Hi Edward,
> >
> >I believe i was not so clear about the problem.
> >I'm not trying to create vnics from inside the zone... I'm trying to
> run
> > this command inside the container: "dladm create-bridge -P trill -l net0
> > mytrillBridge" (net0 being the vnic create from global zone).
> >Like I said, Trilld have a requisite that in order to run, a bridge in
> > Trill protect mode must be initiated, but the command above output that I
> > cannot create a bridge since net0 is a vnic.
> >Eric suggest: "You may need to delegate physical NICs to the
> > container..." and I believe that virtualizing Solaris from a Vmware ou
> Xen
> > Hypervisor, giving a lot of "vmware network cards" should be enough...
> > If you or anybody else on the list have another idea of how to run
> > trilld from inside a Container I would love to know.
> > Thank you for your interest and time.
> >
> > Regards.
> >
> > Daniel.
> >
> >
> > 2012/8/21 Edward Pilatowicz 
> >
> > > you can't create vnics from inside a zone.  (it's not supported.)
> > >
> > > but the global zone can create additional vnics and give them to the
> > > zone.  the easiest way to do this is to have the global zone
> > > administrator update the zonecfg for you zone to include multiple
> "anet"
> > > resources, one for each vnic that you want.  when they create an "anet"
> > > resource they can specify the physical link that the vnic should be
> > > created on top of (via the anet lower-link property).
> > >
> > > ed
> > >
> > > On Tue, Aug 21, 2012 at 02:58:04PM -0300, Daniel Requena wrote:
> > > > Hello,
> > > >
> > > >I'm trying to run a simulation for my master thesis using Solaris
> > > > Containers, but I'm having a problem.
> > > >I need to run Trilld inside the containers, but in order to run
> > > trilld I
> > > > must be able to Bridge network cards... when I try to run dladm to
> create
> > > > the bridge inside a container, it says that a vnic cannot be
> bridged...
> > > :/
> > > >The main objective in this simulation is to emulate a trill switch
> > > cloud
> > > > all interconnected but this "bridge" problem is killing me..
> > > >Is there a way to use a different nic inside the containers so I
> can
> > > run
> > > > trilld?
> > > >Any help or idea is appreciated.
> > > >
> > > > Regards.
> > > > Daniel.
> > >
> > > > ___
> > > > zones-discuss mailing list
> > > > zones-discuss@opensolaris.org
> > >
> > >
> >
> >
> > --
> > Atenciosamente
> >   Daniel Requena
>



-- 
Atenciosamente
  Daniel Requena
___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Bridging at Zones.

2012-08-22 Thread Edward Pilatowicz
oops.  please ignore my advice and follow erics.  (although, even if you
do that i'm not if you'll be able to create a bridge inside a zone.)

ed

On Wed, Aug 22, 2012 at 11:19:35AM -0300, Daniel Requena wrote:
> Hi Edward,
>
>I believe i was not so clear about the problem.
>I'm not trying to create vnics from inside the zone... I'm trying to run
> this command inside the container: "dladm create-bridge -P trill -l net0
> mytrillBridge" (net0 being the vnic create from global zone).
>Like I said, Trilld have a requisite that in order to run, a bridge in
> Trill protect mode must be initiated, but the command above output that I
> cannot create a bridge since net0 is a vnic.
>Eric suggest: "You may need to delegate physical NICs to the
> container..." and I believe that virtualizing Solaris from a Vmware ou Xen
> Hypervisor, giving a lot of "vmware network cards" should be enough...
> If you or anybody else on the list have another idea of how to run
> trilld from inside a Container I would love to know.
> Thank you for your interest and time.
>
> Regards.
>
> Daniel.
>
>
> 2012/8/21 Edward Pilatowicz 
>
> > you can't create vnics from inside a zone.  (it's not supported.)
> >
> > but the global zone can create additional vnics and give them to the
> > zone.  the easiest way to do this is to have the global zone
> > administrator update the zonecfg for you zone to include multiple "anet"
> > resources, one for each vnic that you want.  when they create an "anet"
> > resource they can specify the physical link that the vnic should be
> > created on top of (via the anet lower-link property).
> >
> > ed
> >
> > On Tue, Aug 21, 2012 at 02:58:04PM -0300, Daniel Requena wrote:
> > > Hello,
> > >
> > >I'm trying to run a simulation for my master thesis using Solaris
> > > Containers, but I'm having a problem.
> > >I need to run Trilld inside the containers, but in order to run
> > trilld I
> > > must be able to Bridge network cards... when I try to run dladm to create
> > > the bridge inside a container, it says that a vnic cannot be bridged...
> > :/
> > >The main objective in this simulation is to emulate a trill switch
> > cloud
> > > all interconnected but this "bridge" problem is killing me..
> > >Is there a way to use a different nic inside the containers so I can
> > run
> > > trilld?
> > >Any help or idea is appreciated.
> > >
> > > Regards.
> > > Daniel.
> >
> > > ___
> > > zones-discuss mailing list
> > > zones-discuss@opensolaris.org
> >
> >
>
>
> --
> Atenciosamente
>   Daniel Requena
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Bridging at Zones.

2012-08-22 Thread Daniel Requena
Hi Edward,

   I believe i was not so clear about the problem.
   I'm not trying to create vnics from inside the zone... I'm trying to run
this command inside the container: "dladm create-bridge -P trill -l net0
mytrillBridge" (net0 being the vnic create from global zone).
   Like I said, Trilld have a requisite that in order to run, a bridge in
Trill protect mode must be initiated, but the command above output that I
cannot create a bridge since net0 is a vnic.
   Eric suggest: "You may need to delegate physical NICs to the
container..." and I believe that virtualizing Solaris from a Vmware ou Xen
Hypervisor, giving a lot of "vmware network cards" should be enough...
If you or anybody else on the list have another idea of how to run
trilld from inside a Container I would love to know.
Thank you for your interest and time.

Regards.

Daniel.


2012/8/21 Edward Pilatowicz 

> you can't create vnics from inside a zone.  (it's not supported.)
>
> but the global zone can create additional vnics and give them to the
> zone.  the easiest way to do this is to have the global zone
> administrator update the zonecfg for you zone to include multiple "anet"
> resources, one for each vnic that you want.  when they create an "anet"
> resource they can specify the physical link that the vnic should be
> created on top of (via the anet lower-link property).
>
> ed
>
> On Tue, Aug 21, 2012 at 02:58:04PM -0300, Daniel Requena wrote:
> > Hello,
> >
> >I'm trying to run a simulation for my master thesis using Solaris
> > Containers, but I'm having a problem.
> >I need to run Trilld inside the containers, but in order to run
> trilld I
> > must be able to Bridge network cards... when I try to run dladm to create
> > the bridge inside a container, it says that a vnic cannot be bridged...
> :/
> >The main objective in this simulation is to emulate a trill switch
> cloud
> > all interconnected but this "bridge" problem is killing me..
> >Is there a way to use a different nic inside the containers so I can
> run
> > trilld?
> >Any help or idea is appreciated.
> >
> > Regards.
> > Daniel.
>
> > ___
> > zones-discuss mailing list
> > zones-discuss@opensolaris.org
>
>


-- 
Atenciosamente
  Daniel Requena
___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Bridging at Zones.

2012-08-21 Thread Edward Pilatowicz
you can't create vnics from inside a zone.  (it's not supported.)

but the global zone can create additional vnics and give them to the
zone.  the easiest way to do this is to have the global zone
administrator update the zonecfg for you zone to include multiple "anet"
resources, one for each vnic that you want.  when they create an "anet"
resource they can specify the physical link that the vnic should be
created on top of (via the anet lower-link property).

ed

On Tue, Aug 21, 2012 at 02:58:04PM -0300, Daniel Requena wrote:
> Hello,
>
>I'm trying to run a simulation for my master thesis using Solaris
> Containers, but I'm having a problem.
>I need to run Trilld inside the containers, but in order to run trilld I
> must be able to Bridge network cards... when I try to run dladm to create
> the bridge inside a container, it says that a vnic cannot be bridged... :/
>The main objective in this simulation is to emulate a trill switch cloud
> all interconnected but this "bridge" problem is killing me..
>Is there a way to use a different nic inside the containers so I can run
> trilld?
>Any help or idea is appreciated.
>
> Regards.
> Daniel.

> ___
> zones-discuss mailing list
> zones-discuss@opensolaris.org

___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Bridging at Zones.

2012-08-21 Thread Eric Sproul
On Tue, Aug 21, 2012 at 1:58 PM, Daniel Requena  wrote:
>Is there a way to use a different nic inside the containers so I can run
> trilld?

Daniel,
You may need to delegate physical NICs to the container, though I'm
uncertain as I've never tried to bridge interfaces like you are doing.

Eric
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] Bridging at Zones.

2012-08-21 Thread Daniel Requena
Hello,

   I'm trying to run a simulation for my master thesis using Solaris
Containers, but I'm having a problem.
   I need to run Trilld inside the containers, but in order to run trilld I
must be able to Bridge network cards... when I try to run dladm to create
the bridge inside a container, it says that a vnic cannot be bridged... :/
   The main objective in this simulation is to emulate a trill switch cloud
all interconnected but this "bridge" problem is killing me..
   Is there a way to use a different nic inside the containers so I can run
trilld?
   Any help or idea is appreciated.

Regards.
Daniel.
___
zones-discuss mailing list
zones-discuss@opensolaris.org