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] Significance of DPID

Karthik Sharma karthik.sharma at gmail.com
Mon Apr 21 22:11:36 PDT 2014


Hi,

When you are creating switches for mininet topology you pass the dpid as
given below.


    info( '*** Add switches\n')
    s1 = net.addSwitch('s1', cls=OVSKernelSwitch, dpid='0000000000000201')
    s2 = net.addSwitch('s2', cls=OVSKernelSwitch, dpid='0000000000000202')
    s3 = net.addSwitch('s3', cls=OVSKernelSwitch, dpid='0000000000000203')
    s4 = net.addSwitch('s4', cls=OVSKernelSwitch, dpid='0000000000000204')
    s5 = net.addSwitch('s5', cls=OVSKernelSwitch, dpid='0000000000000205')
    s6 = net.addSwitch('s6', cls=OVSKernelSwitch, dpid='0000000000000206')

My question is

What is dpid? How is it related to MAC addresses for each port of the Ethernet
switch.Suppose the switch has 12 ports (for e.g) each of the ports will have a
MAC address.(48 -bits long).How come a switch has a single data path identifier?
How is related to MAC address?

Regards,
Karthik.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/mininet-discuss/attachments/20140422/b99dc6ae/attachment.html>


More information about the mininet-discuss mailing list