← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1844915] Re: Duplicate packets with two networks connected by router

 

** Changed in: neutron
       Status: Incomplete => Opinion

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1844915

Title:
  Duplicate packets with two networks connected by router

Status in neutron:
  Opinion

Bug description:
  The environment :

  Rocky : 3 network + 3 controller + 2compute   DVR  with L3_HA

   When I use  add port to router and update router , In order to
  connect 2 subnets

  VM1 ping VM2:

      64 bytes from 172.16.1.10: seq=0 ttl=63 time=1.213 ms
      64 bytes from 172.16.1.10: seq=0 ttl=63 time=1.093 ms (DUP!)
      64 bytes from 172.16.1.10: seq=0 ttl=63 time=1.205 ms (DUP!)
      64 bytes from 172.16.1.10: seq=0 ttl=63 time=1.294 ms (DUP!)
      64 bytes from 172.16.1.10: seq=0 ttl=63 time=1.369 ms (DUP!)

  Steps:

  1. neutron port-create vlan954    ( vlan954 can map to a physical
  network )

  2. openstack  router port add vpc_connect
  e3e33741-56e5-4fa0-8b39-d0215eb080c9 (10.135.130.23)

  3. openstack router set --route
  destination=172.16.1.0/24,gateway=10.135.130.106 vpc_connect

  10.135.130.106 port and subnet (172.16.1.0) is in another OpenStack
  cluster( Don't use DVR )

  4. In another OpenStack  cluster ,Do something similar above

  I guess the problem is the router port which is  for network
  connection (10.135.130.23), Because I use floating IP  ping
  10.135.130.23  The same thing happened

  $ ip a
  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      inet 127.0.0.1/8 scope host lo
         valid_lft forever preferred_lft forever
      inet6 ::1/128 scope host
         valid_lft forever preferred_lft forever
  2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast qlen 1000
      link/ether fa:16:3e:19:78:61 brd ff:ff:ff:ff:ff:ff
      inet 192.168.100.10/24 brd 192.168.100.255 scope global eth0
         valid_lft forever preferred_lft forever
      inet6 fe80::f816:3eff:fe19:7861/64 scope link
         valid_lft forever preferred_lft forever

  $
  $ ping 10.135.130.23
  PING 10.135.130.23 (10.135.130.23): 56 data bytes
  64 bytes from 10.135.130.23: seq=0 ttl=63 time=0.690 ms
  64 bytes from 10.135.130.23: seq=0 ttl=63 time=0.846 ms (DUP!)
  64 bytes from 10.135.130.23: seq=0 ttl=63 time=0.944 ms (DUP!)
  64 bytes from 10.135.130.23: seq=0 ttl=63 time=1.032 ms (DUP!)
  64 bytes from 10.135.130.23: seq=0 ttl=63 time=1.096 ms (DUP!)
  64 bytes from 10.135.130.23: seq=1 ttl=63 time=0.753 ms
  64 bytes from 10.135.130.23: seq=1 ttl=63 time=0.865 ms (DUP!)
  64 bytes from 10.135.130.23: seq=1 ttl=63 time=0.882 ms (DUP!)
  64 bytes from 10.135.130.23: seq=1 ttl=63 time=0.894 ms (DUP!)
  64 bytes from 10.135.130.23: seq=1 ttl=63 time=0.906 ms (DUP!)

  [root@network3 ~]# neutron router-port-list vpc_connect
  neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
  +--------------------------------------+-------------------------------------------------+----------------------------------+-------------------+---------------------------------------------------------------------------------------+
  | id                                   | name                                            | tenant_id                        | mac_address       | fixed_ips                                                                             |
  +--------------------------------------+----------------------------------
  | 7877c303-96e1-4a1f-8175-36e70cab4490 |                                                 | e2f2bedbdf794ad0a45cf37edc72252e | fa:16:3e:fe:8b:58 | {"subnet_id": "7d2d38c8-e091-4c4d-b814-ce036a7082a9", "ip_address": "172.31.17.1"}    |
  | 7ba36a6f-e6b8-427e-a8b8-2ea1cc6e6697 | HA port tenant e2f2bedbdf794ad0a45cf37edc72252e |                                  | fa:16:3e:df:99:b9 | {"subnet_id": "6e26e835-e602-40eb-9242-e9b17148b8ea", "ip_address": "169.254.192.19"} |
  | e3e33741-56e5-4fa0-8b39-d0215eb080c9 | connect_port                                    | e2f2bedbdf794ad0a45cf37edc72252e | fa:16:3e:80:5b:bc | {"subnet_id": "d75231c6-7666-466b-960d-b6d8a9196648", "ip_address": "10.135.130.23"}  |
  | e713f26a-ebf8-4110-b43e-f940b4a6f6a6 | HA port tenant e2f2bedbdf794ad0a45cf37edc72252e |                                  | fa:16:3e:95:ff:00 | {"subnet_id": "6e26e835-e602-40eb-9242-e9b17148b8ea", "ip_address": "169.254.192.3"}  |
  | f2042d10-86c1-4b0f-8fb5-6b55efa63ea7 | HA port tenant e2f2bedbdf794ad0a45cf37edc72252e |                                  | fa:16:3e:1e:69:aa | {"subnet_id": "6e26e835-e602-40eb-9242-e9b17148b8ea", "ip_address": "169.254.192.2"}  |

  [root@network3 ~]# neutron router-show vpc_connect
  neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
  +-------------------------+---------------------------------------------------------------+
  | Field                   | Value                                                         |
  +-------------------------+---------------------------------------------------------------+
  | admin_state_up          | True                                                          |
  | availability_zone_hints |                                                               |
  | availability_zones      | nova                                                          |
  | created_at              | 2019-09-22T02:54:38Z                                          |
  | description             |                                                               |
  | distributed             | True                                                          |
  | external_gateway_info   |                                                               |
  | flavor_id               |                                                               |
  | ha                      | True                                                          |
  | id                      | f8871714-8987-45e8-a564-ede356c2564a                          |
  | name                    | vpc_connect                                                   |
  | project_id              | e2f2bedbdf794ad0a45cf37edc72252e                              |
  | revision_number         | 8                                                             |
  | routes                  | {"destination": "172.16.1.0/24", "nexthop": "10.135.130.106"} |
  | status                  | ACTIVE                                                        |
  | tags                    |                                                               |
  | tenant_id               | e2f2bedbdf794ad0a45cf37edc72252e                              |
  | updated_at              | 2019-09-22T02:58:47Z                                          |
  +-------------------------+-----------------------------------------------

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1844915/+subscriptions