Quantcast
Channel: Software Defined Networking topics
Viewing all articles
Browse latest Browse all 611

New to SDN - Mininet with HP VAN SDN 2.7 - Pings failing for OpenFlow13

$
0
0

Hi,

I'm currently experimenting with SDN. In particular, I'm running the latest HP VAN SDN controller (192.168.0.102) with Mininet. Pings for mininet hosts seem to work only when I specify the 'protocols=OpenFlow10'. Leaving default or using 'protocols=OpenFlow13', the pings fail.

 

sdn@mininet:~$ sudo mn --controller=remote,ip=192.168.0.102 --switch ovs,protocols=OpenFlow10
*** Creating network
*** Adding controller
*** Adding hosts:
h1 h2
*** Adding switches:
s1
*** Adding links:
(h1, s1) (h2, s1)
*** Configuring hosts
h1 h2
*** Starting controller
c0
*** Starting 1 switches
s1 ...
*** Starting CLI:
mininet> h1 ping -c 2 h2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=0.266 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.025 ms

--- 10.0.0.2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.025/0.145/0.266/0.121 ms
mininet>

mininet> exit
*** Stopping 1 controllers
c0
*** Stopping 2 links
..
*** Stopping 1 switches
s1
*** Stopping 2 hosts
h1 h2
*** Done
completed in 60.429 seconds

## I did issue sudo mn -c to cleanup before moving on to next ....
sdn@mininet:~$ sudo mn --controller=remote,ip=192.168.0.102 --switch ovs,protocols=OpenFlow13
*** Creating network
*** Adding controller
*** Adding hosts:
h1 h2
*** Adding switches:
s1
*** Adding links:
(h1, s1) (h2, s1)
*** Configuring hosts
h1 h2
*** Starting controller
c0
*** Starting 1 switches
s1 ...
*** Starting CLI:
mininet> h1 ping -c 2 h2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.

--- 10.0.0.2 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1007ms

mininet> dump
<Host h1: h1-eth0:10.0.0.1 pid=7303>
<Host h2: h2-eth0:10.0.0.2 pid=7306>
<OVSSwitch{'protocols': 'OpenFlow13'} s1: lo:127.0.0.1,s1-eth1:None,s1-eth2:None pid=7312>
<RemoteController{'ip': '192.168.0.102'} c0: 192.168.0.102:6633 pid=7297>
mininet> net
h1 h1-eth0:s1-eth1
h2 h2-eth0:s1-eth2
s1 lo: s1-eth1:h1-eth0 s1-eth2:h2-eth0
c0
mininet> links
h1-eth0<->s1-eth1 (OK OK)
h2-eth0<->s1-eth2 (OK OK)

mininet> exit

 

sdn@mininet:~$ sudo ovs-vsctl show
bbdf5572-1f93-4982-aae4-e5a9e608d0b5

Bridge "s1"

 Controller "tcp:192.168.0.102:6633"

is_connected: true

Controller "ptcp:6634"

..
ovs_version: "2.5.2"

I have tried with the ODL controller (192.168.0.101) and the ping works in Mininet for both OF1.0 and OF1.3.

sdn@mininet:~$ sudo mn --controller=remote,ip=192.168.0.101 --switch ovs,protocols=OpenFlow13
*** Creating network
*** Adding controller
*** Adding hosts:
h1 h2
*** Adding switches:
s1
*** Adding links:
(h1, s1) (h2, s1)
*** Configuring hosts
h1 h2
*** Starting controller
c0
*** Starting 1 switches
s1 ...
*** Starting CLI:
mininet> h1 ping -c 2 h2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=998 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.134 ms

--- 10.0.0.2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.134/499.367/998.600/499.233 ms

Just wondering why pings are failing with the HP VAN SDN when specifying OF1.3 in Mininet. Any help much appreciated.

 

 


Viewing all articles
Browse latest Browse all 611

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>