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

Bob Lantz rlantz at cs.stanford.edu
Wed Oct 19 12:54:38 PDT 2011


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='10.0.1.1', 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 lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.stanford.edu/mailman/private/mininet-discuss/attachments/20111019/6285d606/attachment.html>


More information about the mininet-discuss mailing list