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] 2 IPs to a host

Pankaj Thorat thorat.pankaj9 at gmail.com
Mon Mar 16 06:08:31 PDT 2015


Hi,

You can use the setIP function.
print '\n Setting ip '

h1 = net.addHost('h1')
h2 = net.addHost('h2')

h1.setIP('10.0.1.1', 8)
h2.setIP('10.0.1.2', 8)

br,
Pankaj Thorat,


On Mon, Mar 16, 2015 at 6:21 PM, Janki Chhatbar <jankihchhatbar at gmail.com>
wrote:

> HI all
>
> Is there a way to assign 2 IPs to a host?
>
> Janki Chhatbar
> M.Tech (Embedded Systems)
> Nirma University
> (+91) 9409239106
>
> _______________________________________________
> 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: <http://mailman.stanford.edu/pipermail/mininet-discuss/attachments/20150316/0d01a4a2/attachment.html>


More information about the mininet-discuss mailing list