Re: [ovs-discuss] OVS bridge absorbing ARP replies

2017-01-02 Thread Flavio Leitner
On Fri, 30 Dec 2016 17:49:56 -0500
Yuanjun Yao  wrote:

> Hi Flavio,
> 
> Thanks for your reply. I might misconfigured OVS bridge. I forgot to remove
> the IP address from the original interface, that might caused the problem.

Glad to know that you found the problem.
-- 
Flavio

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


Re: [ovs-discuss] OVS bridge absorbing ARP replies

2016-12-30 Thread Yuanjun Yao
Hi Flavio,

Thanks for your reply. I might misconfigured OVS bridge. I forgot to remove
the IP address from the original interface, that might caused the problem.

On Fri, Dec 30, 2016 at 10:33 AM, Flavio Leitner  wrote:

> On Thu, 29 Dec 2016 20:36:05 -0500
> Yuanjun Yao  wrote:
>
> > Hi all,
> >
> > My network topology is host1(eth1:192.168.1.2)—(eth2:192.168.1.1)host2.
> I
> > added an OVS bridge on host2 and added eth2 as a port. I configured the
> ip
> > address via SDN controller. I could ping from host 1 to host2, but failed
> > the other way.
> >
> > My configuration commands on host2 are:
> >
> > #ovs-vsctl add-br ovsbr1
> >
> > #ovs-vsctl add-port ovsbr1 eth2
> >
> > Then I set the ip address of ovsbr1 via SDN controller. I can ping from
> > host1 to 192.168.1.1. But I can't ping from host 2 to host1. The reason
> is
> > that host2 can't process ARP replies from host1. The result of "arp"
> shows
> > that host 2 doesn't know the mac address of host1.
> >
> > I used tcpdump to capture the packets, it shows that ARP replies packets
> > from are received at eth2. The result of "ovs-ofctl dump-flows ovsbr1"
> > shows that arp replies are matched with the rule whose action is normal,
> I
> > also tried to add a flow that matches the arp replies and its action is
> > "Local". None of this works.
>
> You could try to tcpdump the ovsbr1 where the IP address is and see
> if the ARP packets are getting there.  It sounds like a firewall issue.
>
> --
> Flavio
>
>


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


Re: [ovs-discuss] OVS bridge absorbing ARP replies

2016-12-30 Thread Flavio Leitner
On Thu, 29 Dec 2016 20:36:05 -0500
Yuanjun Yao  wrote:

> Hi all,
> 
> My network topology is host1(eth1:192.168.1.2)—(eth2:192.168.1.1)host2. I
> added an OVS bridge on host2 and added eth2 as a port. I configured the ip
> address via SDN controller. I could ping from host 1 to host2, but failed
> the other way.
> 
> My configuration commands on host2 are:
> 
> #ovs-vsctl add-br ovsbr1
> 
> #ovs-vsctl add-port ovsbr1 eth2
> 
> Then I set the ip address of ovsbr1 via SDN controller. I can ping from
> host1 to 192.168.1.1. But I can't ping from host 2 to host1. The reason is
> that host2 can't process ARP replies from host1. The result of "arp" shows
> that host 2 doesn't know the mac address of host1.
> 
> I used tcpdump to capture the packets, it shows that ARP replies packets
> from are received at eth2. The result of "ovs-ofctl dump-flows ovsbr1"
> shows that arp replies are matched with the rule whose action is normal, I
> also tried to add a flow that matches the arp replies and its action is
> "Local". None of this works.

You could try to tcpdump the ovsbr1 where the IP address is and see
if the ARP packets are getting there.  It sounds like a firewall issue.

-- 
Flavio

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


[ovs-discuss] OVS bridge absorbing ARP replies

2016-12-29 Thread Yuanjun Yao
Hi all,

My network topology is host1(eth1:192.168.1.2)—(eth2:192.168.1.1)host2. I
added an OVS bridge on host2 and added eth2 as a port. I configured the ip
address via SDN controller. I could ping from host 1 to host2, but failed
the other way.

My configuration commands on host2 are:

#ovs-vsctl add-br ovsbr1

#ovs-vsctl add-port ovsbr1 eth2

Then I set the ip address of ovsbr1 via SDN controller. I can ping from
host1 to 192.168.1.1. But I can't ping from host 2 to host1. The reason is
that host2 can't process ARP replies from host1. The result of "arp" shows
that host 2 doesn't know the mac address of host1.

I used tcpdump to capture the packets, it shows that ARP replies packets
from are received at eth2. The result of "ovs-ofctl dump-flows ovsbr1"
shows that arp replies are matched with the rule whose action is normal, I
also tried to add a flow that matches the arp replies and its action is
"Local". None of this works.


What might be the problem?
Thanks,
Yuanjun
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss