Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[mininet-discuss] mac address

scolfield kscolfield at
Wed Oct 19 15:24:56 PDT 2011


Thanks for your reply, but I have some doubt yet.
If we don't need MAC or IP address, how we could identifier or differ one to
another openflow switch?
The pyswitch example can learn topology of networks? Such as a corporation
architecture when
there are hierarchical switches interconnected one to another creating
several "layers" of switches,
at this case, the one openflow controller connected to two distinct
switches, can learn which ports
to send a ping packets, for example?  The packet in messages will be
forwarded automatically through
switches until reach a controller?


On Wed, Oct 19, 2011 at 17:54, Bob Lantz <rlantz at> wrote:

> p.p.s. Step 1 may not be necessary if the packets "to the switch" won't
> match any other rules and will be forwarded to the controller by default.
> On Oct 19, 2011, at 12:52 PM, Bob Lantz wrote:
> If you want to use OpenFlow, then using the Linux networking stack to
> assign a MAC or IP address to a switch port is unnecessary and undesirable.
> To "assign" a MAC or IP address to the switch,
> 1. Use OpenFlow to install a rule to forward packets to whatever "switch"
> MAC or IP address you like to the controller.
> 2. When you want the "switch" to send packets, simply create them with
> whatever source MAC and source IP you like.
> To summarize: this is an important design aspect of OpenFlow which needs to
> be understood.
> Bob
> p.s. To perhaps clarify this issue, I think we may wish to change Mininet
> to raise an error if you attempt to assign an IP or MAC address to a switch.
> On Oct 19, 2011, at 9:36 AM, scolfield wrote:
> Hi,
> I created a python script to configure one topology network...
> and why can I set the mac address that I need?? For example,
> such as:
> *sw = net.addSwitch( 'switch', ip='', mac='01:36:42:00:00:01')*
> I'm using Mininet class for this purpose... anybody have any idea, what is
> wrong?
> That mac address that I want to set, don't set correctly,..
> set another mac address every time..
> _______________________________________________
> mininet-discuss mailing list
> mininet-discuss at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the mininet-discuss mailing list