[ovs-discuss] how to configure openvswitch connected to a host

2018-02-28 Thread S hj
Hello,

I want to configure the following topology so that host1 can ping host2.

host1openvswitch1-openvswitch2---host2



host1(10.0.1.10/24) - (10.0.1.20/24) openvswitch1(10.0.0.1/16) --
 --- (10.0.0.2/16) openvswitch2(10.0.2.20/24)  (10.0.2.10/24) host2

I want to configure openvswitches and bridges. But I do not know how to
configure openvswitches to forward packets toward hosts.


Do you have any suggestion?

Thank you in advance
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] OVS doesn't apply action in packet_out message

2018-02-19 Thread S hj
I have some OVSs connected to ONOS controller.
OVS1---OVS2OVS3

when OVS1 wants to send packets to OVS3, OVS2 sends packet_in messages to
the controller including ARP message and ONOS sends packet_out messages
contain OFPP_FLOOD as an action.

However, OVS2 doesn't flood the flow toward the OVS3.
Is there any way to find out why OVS2 by receiving the packet_out,
doesn't apply the action on the flow?


Thanks,
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] OVS with one interface

2017-11-30 Thread S hj
Hello,


I have three openvswitch as follows,

ovs1 --- ovs2---ovs3

Each ovs only has *one interface* to communicate with other ovs.
I want to add some flow rules to ovs2, to forward ip and arp packets form
ovs1 to ovs3 when I run "ip address_ovs1 ping ip address_ovs3".

I tried different flows, but they don not work.
for example:
ovs-ofctl add-flows br2 "table=0, arp, nw_dst=10.0.0.3,
actions=goto_table:1"
ovs-ofctl add-flows br2 "table=1, actions=nw_dst=10.0.0.3, in_port(or
normal)"

Do you have any suggestion?
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] Connecting pox controller to openvswitch

2017-10-23 Thread S hj
Hello,

I run pox controller in the home route of ubuntu 14.0 and I want to connect
an OVS simulated in the CORE emulator to this controller .
I checked different ip addresses of pox controller as follows,

ovs-vsctl set-controller mybridge tcp:127.0.0.1:6633
ovs-vsctl set-controller mybridge tcp:127.0.0.1:6653
ovs-vsctl set-controller mybridge tcp:127.0.0.1:6633
ovs-vsctl set-controller mybridge tcp:0.0.0.0:6633
ovs-vsctl set-controller mybridge tcp::6633

However, OVS cannot connect to the controller.

Also, using "ifconfig -a", I have two different addresses for eth0 and eth1
of the ubuntu. Should you I use this ip addresses for the connection to the
controller? (these ip addresses are not in the same network of defined ip
address of OVS.)

Thank you
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] openvswitch and pox controller in wireless network

2017-10-11 Thread S hj
Hello,

I have a network with four wireless nodes as below,
All wireless nodes are running openvswitch and one of them also run pox
controller (n1).
n1 is in range of all nodes. n2 only is in range of n3 (and n1) and n4 is
in range of n3 (and n1).

When I check wireshark, I can see the openflow messages between the other
three nodes and pox controller.

   n1

n2   n3   n4

However, for example, when n2 pings n3, I can see each time (per each ICMP
packet) a packet_in message will be sent to the controller and when I check
the flow table of n2 the action is normal.

In this case, I have some questions: even if the wireless nodes are in the
transmission range of each other, does the nodes have to send packet_in
message to the controller in case of pining?

Also, I can see the LLDP messages, however, n4 cannot ping n2. In the
packet_out message, I can see the action is sending the packet to the
wireless interface of n4. But n3 doesn't forward this packet to n2. Do you
have any suggestion?

Thank you
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] Connection OVS to pox controller

2017-09-27 Thread S hj
Hello,

I am planning to connect three openvswitch nodes to the pox controller in
ns3. So I connected these three nodes directly to the controller (wired
links).

 In this case, each interface has one IP address so the controller has
three different addresses and also I think pox should listen to three
different ports to get the packets form switches and vice versa. Do you
have any suggestion that how I can connect openvswitch nodes to the pox
controller?

Thank you
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] Wireless OVS

2017-09-11 Thread S hj
In MANET (mobile ad hoc networks), wireless nodes can communicate together
without any access points.
Should I still consider hostapd for each wireless node in my simulation?
I only run OVS on each node; however, it seems that I have to configure
something to allow nodes to know about the mac address of each other



On Mon, Sep 11, 2017 at 12:58 PM, Raymond Burkholder 
wrote:

>
> > I am working with CORE Network Emulator and I implemented a MANET
> including three wireless nodes.
>
> I am not familiar with MANET, but if this is hostapd based?
>
> >
> > I am trying to run OVS on these three nodes. The topology is as follows,
> >
> > node (1) --- node(2) -- -node(3)
> >
> >
> > In this topology, for the first step,  when I run OVS on wireless nodes
> as a normal switch (standalone), node(1) can ping node(2), and node(2) can
> ping node(3). However, node(1) cannot ping node(3).
> >
> > When I captured the packets, there is no ARP Reply packet to help node
> (1) to know the mac address of node(3).
> > (I did not have this problem when I run OVS on the same topology in
> wired networks.)
> >
> > Could you help me with this issue? Could you let me know how to
> configure OVSs to activate ARP Reply packets and how to see the mac table ?
> >
> > Thank you
> >
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] Wireless OVS

2017-09-11 Thread S hj
Hello,

I am working with CORE Network Emulator and I implemented a MANET including
three wireless nodes.

I am trying to run OVS on these three nodes. The topology is as follows,

node (1) --- node(2) -- -node(3)


In this topology, for the first step,  when I run OVS on wireless nodes as
a normal switch (standalone), node(1) can ping node(2), and node(2) can
ping node(3). However, node(1) cannot ping node(3).

When I captured the packets, there is no ARP Reply packet to help node (1)
to know the mac address of node(3).
(I did not have this problem when I run OVS on the same topology in wired
networks.)

Could you help me with this issue? Could you let me know how to configure
OVSs to activate ARP Reply packets and how to see the mac table ?

Thank you
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss