Search Mailing List Archives
[mininet-discuss] Significance of DPID
karthik.sharma at gmail.com
Mon Apr 21 22:11:36 PDT 2014
When you are creating switches for mininet topology you pass the dpid as
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mininet-discuss