Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

krlosg7's profile - activity

2016-07-08 11:27:30 -0700 received badge  Famous Question (source)
2015-12-17 09:45:48 -0700 received badge  Famous Question (source)
2015-12-08 09:22:13 -0700 received badge  Notable Question (source)
2015-12-08 02:10:33 -0700 answered a question Routing Openflow13 in Opendaylight

Hi runamuck,

very intesting your guide. I tried to do the same steps but i think there is a little problem with the flows.

In host 1

sudo route add -net 192.168.2.0 netmask 255.255.0.0 gw 192.168.1.1
sudo arp -s 192.168.12.1 00:00:00:00:00:01 #the first time i have network unrecheable so i change
sudo route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.1.1 #arp works

Flows

ovs-ofctl -O OpenFlow13  add-flow OVS_1 table=0,ip,nw_dst=192.168.2.1,actions=mod_dl_dst=D2:4D:EA:46:3F:20,output:1
ovs-ofctl -O OpenFlow13  add-flow OVS_2 table=0,ip,nw_dst=192.168.1.1,actions=mod_dl_dst=8E:FD:43:62:CA:48,output:1

ovs-ofctl dump-flows command :

Topology image full: http://hpics.li/2d7ce0b

Dump Flows: http://hpics.li/d25ec35

With the above 2 flows added, host1 is not able to ping host2.

Also i tried to add flows for the network with Net/netmask:

 ovs-ofctl add-flow OVS_1 priority=500,dl_type=0x800,nw_src=192.168.1.0/24,nw_dst=192.168.2.0/24,actions=output:1
ovs-ofctl add-flow OVS_2 priority=500,dl_type=0x800,nw_src=192.168.2.0/24,nw_dst=192.168.1.0/24,actions=output:1

Second flow does the similar operation matching with network but Unfortunately, the ping did not work....

UPDATE

You are right, Topology, http://hpics.li/c6ca00e , PC2 connects to OVS2 on Port1...

I tried the following modification:

PC1 route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.1.1
PC2 route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.2.1

I have ping reply icmp successful.

later i add the gateway and dummy ARP to PC1 and PC2 and inject these rules: ARP

h1 arp -s 192.168.12.1 00:00:00:00:00:01
h2 arp -s 192.168.12.2 00:00:00:00:00:02

OVS1

sudo ovs-ofctl -O OpenFlow13 add-flow OVS1 table=0,ip,nw_dst=192.168.1.1,actions=mod_dl_dst=8E:FD:43:62:CA:48,output:1
sudo ovs-ofctl -O OpenFlow13 add-flow OVS1 table=0,icmp,nw_dst=192.168.2.1,actions=mod_dl_dst=B2:EF:C1:3B:EA:59,output:2
sudo ovs-ofctl -O OpenFlow13 add-flow OVS1 table=0,icmp,nw_dst=192.168.1.1,actions=mod_dl_dst=8E:FD:43:62:CA:48,output:1

OVS2

sudo ovs-ofctl -O OpenFlow13 add-flow OVS2 table=0,ip,nw_dst=192.168.1.1,actions=mod_dl_dst=D2:4D:EA:46:3F:20,output:1
sudo ovs-ofctl -O OpenFlow13 add-flow OVS2 table=0,icmp,nw_dst=192.168.1.1,actions=mod_dl_dst=C6:99:2C:EF:4C:9E,output:2
     sudo ovs-ofctl -O OpenFlow13 add-flow OVS2 table=0,icmp,nw_dst=192.168.2.1,actions=mod_dl_dst=D2:4D:EA:46:3F:20,output:1

the reply is always icmp_seq=1 Destination Host Unreachable

The ideal is configure ... (more)

2015-12-07 08:30:09 -0700 received badge  Popular Question (source)
2015-12-03 06:56:06 -0700 commented question how to install flows in Helium Opendaylight?
2015-12-02 00:00:31 -0700 received badge  Enthusiast
2015-11-26 01:45:15 -0700 asked a question Routing Openflow13 in Opendaylight

Hello,

I want to establish a network using openflow13 and ODL SR4, each switch are used to work with a network. How should I configure subnet with ODL.

The topology is following:

                                    Controller ODL
                                /                    \
                              / (OVS1)_______\ (OVS2) 192.168.2.0/24
                          Switch1            Switch2
                            / (tap1)               \(tap2)
                            /                           \
                       Host1                          Host2

Switch1: 192.168.1.0/24 OVS1:192.168.1.254 host1: 192.168.1.1

Switch2:192.168.2.0/24 OVS2:192.168.2.254 host2: 192.168.2.2

Connections between OVS switch: Patch1-2 to Patch2-1

Controller(ODL Helium SR4):192.168.0.100 I install:

feature:install odl-dlux-all odl-l2switch-switch-ui install odl-openflowplugin-all install odl-adsal-northbound

the communication between switch work properly but, when i start ODL the communication is down.

I push the flow In the same table

Also, i add an entry into the Subnets Gateway configuration under the GUI's Devices tab NETWORK. 192.168.2.254/24, 192.168.2.254/24. I try static routes.

  • name: net1 network/mask: 192.168.1.0/24 netxhop:192.168.2.254
  • name: net2 network/mask: 192.168.2.0/24 netxhop:192.168.1.254

I'm not able to ping the two PCs.

2015-10-26 08:31:37 -0700 received badge  Famous Question (source)
2015-10-26 08:14:49 -0700 received badge  Famous Question (source)
2015-10-17 05:40:59 -0700 received badge  Notable Question (source)
2015-10-14 04:48:47 -0700 received badge  Notable Question (source)
2015-10-13 06:23:07 -0700 received badge  Popular Question (source)
2015-10-07 06:24:45 -0700 received badge  Notable Question (source)
2015-10-06 15:30:45 -0700 received badge  Popular Question (source)
2015-10-06 03:55:53 -0700 received badge  Popular Question (source)
2015-10-02 07:18:17 -0700 asked a question add-flow in lithium controller

Hello,

I'm using Lithium-SR1 with mininet.

ODL has these features:

feature:install odl-l2switch-switch-ui odl-restconf-all odl-mdsal-apidocs odl-dlux-all odl-restconf-all odl-mdsal-apidocs odl-dlux-all odl-adsal-all odl-openflowplugin-all odl-ovsdb-all.

the command to launch mininet is the following:

sudo mn --controller=remote,ip=IPCONTROLLER --topo linear,2

I can see the nodes inventory. image

the problem comes when I try to install flows. With the version osgipackge we can install flows like that. video, but now wtih lithium controller i'm not sur how to do that?

the is features being added correctly or I'm missing something?

Thanks,

2015-10-01 04:58:59 -0700 asked a question how to install flows in Helium Opendaylight?

I try to install flows between switch openflow with helium controller SR4 but the switch and interfaces is not active...

topology unable to install flow

I installed the next feature:


feature:install odl-dlux-all odl-openflowplugin-flow-services-ui


feature:install odl-base-all odl-aaa-authn odl-restconf odl-adsal-northbound odl-mdsal-apidocs odl-l2switch-switch


feature:install odl-ovsdb-northbound

ovs-vsctl set-manager tcp:192.168.1.1:6640

I dont know how to activate the option nodes?

Thank you so much in advance.

2015-09-30 07:41:52 -0700 answered a question bring link between 2 switch OVS?

thanks. this work.... ;)

2015-09-30 02:44:35 -0700 received badge  Editor (source)
2015-09-29 07:25:02 -0700 asked a question bring link between 2 switch OVS?

hello all,

I am trying to connect two OVS S1 to S2 but i dont find the command in osgi console. I have the image link text.

With mininet will bring the link between switch1 (s1) and switch2 (s2).

link s1 s2 up

But with Ovs i'm not sur how to do that.