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 in custom topology

Seyyed Hesamoddin Ghasemi s.hesam.ghasemi at gmail.com
Fri Oct 16 15:59:06 PDT 2015


You should assign MAC address like below in your python script:
h1   = net.addHost('h1', ip='192.168.54.11', mac='00:00:00:00:00:11')


On Sat, Oct 10, 2015 at 6:20 PM, Junaid Ghulam <junaidghulam2 at gmail.com>
wrote:

> Dear All
>
> I want to run --Mac, that assigns to every host a MAC address similar to
> its IP,
> in a custom topology, however, I am running my topology by using the
> following command:
> $ sudo python ./topo3
>
> When I run run it with:
> $ sudo mn --custom ./topo3.py --topo topo3 --mac
>
> I received the following error:
> Invalid topo name topo3
>
> May you please help me in fixing this error
>
> Sincerely,
> Junaid
>
> _______________________________________________
> mininet-discuss mailing list
> mininet-discuss at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>
>


-- 
Seyyed Hesamoddin Ghasemi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/mininet-discuss/attachments/20151017/6f6c15e1/attachment-0001.html>


More information about the mininet-discuss mailing list