[pox-dev] Fwd: Subnets and POX
Windhya Rankothge
windyswsw at gmail.com
Tue May 21 05:53:18 PDT 2013
I am very new to POX and I am trying to create communication between two
subnets.
I have following topology
h1 ---- s1 --- s2 --- h2
--------------------------------------------------------------------------------
from mininet.net import Mininet
from mininet.node import Controller, OVSKernelSwitch, RemoteController
from mininet.cli import CLI
from mininet.log import setLogLevel, info
def emptyNet():
net = Mininet(controller=RemoteController, switch=OVSKernelSwitch)
c1 = net.addController('c1', controller=RemoteController,
defaultIP="127.0.0.1", port=6633)
h1 = net.addHost( 'h1', ip='10.0.0.2' )
h2 = net.addHost( 'h2', ip='11.0.0.2' )
s3 = net.addSwitch( 's3' )
s4 = net.addSwitch( 's4' )
s3.linkTo( h1 )
s4.linkTo( h2 )
s3.linkTo( s4 )
net.build()
c1.start()
s3.start([c1])
s4.start([c1])
CLI( net )
net.stop()
if __name__ == '__main__':
setLogLevel( 'info' )
emptyNet()
-----------------------------------------------------------------------------------------------------------------------------
I tried to run this topology with l3_forwarding example given in POX
But the problem is I cant ping from h1 to h2..
Is there something more that I have to do, to make this work ?
Best Regards,
Windhya Rankothge..... (WINDY)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130521/bf495c9d/attachment.htm>
More information about the pox-dev
mailing list