For every bridge created using ovs-vsctl command (ovs-vsctl add-br <bridge-name>), an internal port with the name same as <bridge-name> gets created. You can set the ip address of this interface on the host running mininet.
e.g. just running "sudo mn" creates a switch s1 and hosts h1 and h2 with h1 ip 10.0.0.1 and h2 with ip 10.0.0.2 On the mininet host: sudo ifconfig s1 10.0.0.100/24 up (make sure the ip does not conflict with any other physical ip on the host machine) >From mininet prompt: mininet> h1 ping 10.0.0.100 On Fri, Apr 27, 2018 at 8:27 AM, Haitham Ghalwash <[email protected]> wrote: > Hi, > > I am creating a mininet topology with open-flow switches. can I use xterm > of a mininet host to ping a certain switch in the topology? > > How to set the IP for that switch? > > > *Best wishes,* > > Haitham Ghalwash > > > > > > _______________________________________________ > discuss mailing list > [email protected] > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss > >
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
