Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cannot access internet from external router namespace

Hi,

I have an all-in-one installation of devstack with a single-NIC machine. I can ping external router(172.24.4.2) from the host machine(i.e. the on which devstack is installed) and I can ping the host machine from the router namespace:

sudo ip netns exec ping qrouter-5ab36503-1ae4-4e26-b01f-cc409e4149db ping 10.3.87.102

The problem is that I cannot ping the external world e.g. google.com from the router namespace.

sudo ip netns exec ping qrouter-5ab36503-1ae4-4e26-b01f-cc409e4149db ping google.com

How can I check what is wrong?

Thanks.

Cannot access internet from external router namespace

Hi,

I have an all-in-one installation of devstack with a single-NIC machine. I can ping external router(172.24.4.2) from the host machine(i.e. the one on which devstack is installed) and I can ping the host machine from the router namespace:

sudo ip netns exec ping qrouter-5ab36503-1ae4-4e26-b01f-cc409e4149db ping 10.3.87.102

The problem is that I cannot ping the external world e.g. google.com from the router namespace.

sudo ip netns exec ping qrouter-5ab36503-1ae4-4e26-b01f-cc409e4149db ping google.com

How can I check what is wrong?

Thanks.

Cannot access internet from external router namespace

Hi,

I have an all-in-one installation of devstack with a single-NIC machine. I can ping external router(172.24.4.2) from the host machine(i.e. the one on which devstack is installed) and I can ping the host machine from the router namespace:

sudo ip netns exec ping qrouter-5ab36503-1ae4-4e26-b01f-cc409e4149db ping 10.3.87.102

The problem is that I cannot ping the external world e.g. google.com from the router namespace.

sudo ip netns exec ping qrouter-5ab36503-1ae4-4e26-b01f-cc409e4149db ping google.com

How can I check what is wrong?

#sudo ovs-vsctl show

 Bridge "br-eth1"
        Port "eth1-br-proxy"
            Interface "eth1-br-proxy"
        Port "br-eth1"
            Interface "br-eth1"
                type: internal
    Bridge br-int
        fail_mode: secure
        Port "qr-acc7af1a-f5"
            tag: 1
            Interface "qr-acc7af1a-f5"
                type: internal
        Port "qvoe27adc03-d6"
            tag: 1
            Interface "qvoe27adc03-d6"
        Port "qvoff2035ab-dd"
            tag: 1
            Interface "qvoff2035ab-dd"
        Port "qvo22974bcf-c7"
            tag: 1
            Interface "qvo22974bcf-c7"
        Port "tap03ba9df0-0e"
            tag: 1
            Interface "tap03ba9df0-0e"
                type: internal
        Port br-int
            Interface br-int
                type: internal
    Bridge "br-eth0"
        Port "eth0"
            Interface "eth0"
        Port "proxy-br-eth1"
            Interface "proxy-br-eth1"
        Port "br-eth0"
            Interface "br-eth0"
                type: internal
        Port proxy-br-ex
            Interface proxy-br-ex
    Bridge br-ex
        Port "qg-ba84c0dd-3f"
            tag: 0
            Interface "qg-ba84c0dd-3f"
                type: internal
        Port br-ex
            Interface br-ex
                type: internal
    ovs_version: "1.4.6"

Thanks.

Cannot access internet from external router namespace

Hi,

I have an all-in-one installation of devstack with a single-NIC machine. I can ping external router(172.24.4.2) from the host machine(i.e. the one on which devstack is installed) and I can ping the host machine from the router namespace:

sudo ip netns exec ping qrouter-5ab36503-1ae4-4e26-b01f-cc409e4149db ping 10.3.87.102

The problem is that I cannot ping the external world e.g. google.com from the router namespace.

sudo ip netns exec ping qrouter-5ab36503-1ae4-4e26-b01f-cc409e4149db ping google.com

How can I check what is wrong?

#sudo ovs-vsctl show

 Bridge "br-eth1"
        Port "eth1-br-proxy"
            Interface "eth1-br-proxy"
        Port "br-eth1"
            Interface "br-eth1"
                type: internal
    Bridge br-int
        fail_mode: secure
        Port "qr-acc7af1a-f5"
            tag: 1
            Interface "qr-acc7af1a-f5"
                type: internal
        Port "qvoe27adc03-d6"
            tag: 1
            Interface "qvoe27adc03-d6"
        Port "qvoff2035ab-dd"
            tag: 1
            Interface "qvoff2035ab-dd"
        Port "qvo22974bcf-c7"
            tag: 1
            Interface "qvo22974bcf-c7"
        Port "tap03ba9df0-0e"
            tag: 1
            Interface "tap03ba9df0-0e"
                type: internal
        Port br-int
            Interface br-int
                type: internal
    Bridge "br-eth0"
        Port "eth0"
            Interface "eth0"
        Port "proxy-br-eth1"
            Interface "proxy-br-eth1"
        Port "br-eth0"
            Interface "br-eth0"
                type: internal
        Port proxy-br-ex
            Interface proxy-br-ex
    Bridge br-ex
        Port "qg-ba84c0dd-3f"
            tag: 0
            Interface "qg-ba84c0dd-3f"
                type: internal
        Port br-ex
            Interface br-ex
                type: internal
    ovs_version: "1.4.6"
"1.4.6"     



     # ifconfig -a

  eth0      Link encap:Ethernet  HWaddr 28:6e:d4:88:c6:fc
          inet6 addr: fe80::2a6e:d4ff:fe88:c6fc/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:402960 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2084 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:108669938 (108.6 MB)  TX bytes:256183 (256.1 KB)
          Interrupt:79

br-eth0   Link encap:Ethernet  HWaddr 28:6e:d4:88:c6:fc
          inet addr:10.3.87.102  Bcast:10.3.87.255  Mask:255.255.255.0
          inet6 addr: fe80::2a6e:d4ff:fe88:c6fc/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:403847 errors:0 dropped:0 overruns:0 frame:0
          TX packets:560 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:114393678 (114.3 MB)  TX bytes:67810 (67.8 KB)

  br-ex     Link encap:Ethernet  HWaddr 12:30:d9:ac:53:4e
          inet addr:172.24.4.1  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::1030:d9ff:feac:534e/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:13021 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2965 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1353877 (1.3 MB)  TX bytes:1100691 (1.1 MB)

br-int Link encap:Ethernet  HWaddr 62:e8:ef:5a:92:49
              inet6 addr: fe80::60e8:efff:fe5a:9249/64 Scope:Link
              UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
              RX packets:549 errors:0 dropped:0 overruns:0 frame:0
              TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:78941 (78.9 KB)  TX bytes:8678 (8.6 KB)


        eth1-br-proxy Link encap:Ethernet  HWaddr 8a:f0:b9:85:a2:ce
                  inet6 addr: fe80::88f0:b9ff:fe85:a2ce/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:395696 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:450 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:111964443 (111.9 MB)  TX bytes:55618 (55.6 KB)

        ex-br-proxy Link encap:Ethernet  HWaddr 2e:56:c4:9d:c7:a7
                  inet6 addr: fe80::2c56:c4ff:fe9d:c7a7/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:395483 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:626 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:111943789 (111.9 MB)  TX bytes:68474 (68.4 KB)

        lo        Link encap:Local Loopback
                  inet addr:127.0.0.1  Mask:255.0.0.0
                  inet6 addr: ::1/128 Scope:Host
                  UP LOOPBACK RUNNING  MTU:16436  Metric:1
                  RX packets:10995662 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:10995662 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:3901075734 (3.9 GB)  TX bytes:3901075734 (3.9 GB)

        proxy-br-eth1 Link encap:Ethernet  HWaddr 02:d0:a6:a0:c4:5f
                  inet6 addr: fe80::d0:a6ff:fea0:c45f/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:450 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:395696 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:55618 (55.6 KB)  TX bytes:111964443 (111.9 MB)

        proxy-br-ex Link encap:Ethernet  HWaddr 46:e3:89:60:66:e9
                  inet6 addr: fe80::44e3:89ff:fe60:66e9/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:626 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:395483 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:68474 (68.4 KB)  TX bytes:111943789 (111.9 MB)

        qbr22974bcf-c7 Link encap:Ethernet  HWaddr 26:d8:36:04:6a:44
                  inet6 addr: fe80::b892:5cff:fe26:4c80/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:341 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:32697 (32.6 KB)  TX bytes:8167 (8.1 KB)

        qbr26237462-3a Link encap:Ethernet  HWaddr 0e:44:05:72:a6:78
                  inet6 addr: fe80::b899:20ff:fede:14e4/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:4756 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:245 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:179591 (179.5 KB)  TX bytes:29896 (29.8 KB)

        qbr38125503-f7 Link encap:Ethernet  HWaddr e6:eb:ea:61:12:db
                  inet6 addr: fe80::fcf6:cfff:febb:852f/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:544 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:204 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:57769 (57.7 KB)  TX bytes:24978 (24.9 KB)

        qbr5b822332-d1 Link encap:Ethernet  HWaddr 76:cd:b2:d8:0f:7f
                  inet6 addr: fe80::c46:c7ff:fe17:ec12/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:4761 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:183896 (183.8 KB)  TX bytes:29557 (29.5 KB)

        qbr9e3d3360-34 Link encap:Ethernet  HWaddr be:ec:cd:7d:99:b1
                  inet6 addr: fe80::dcc8:76ff:fe1b:30eb/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:556 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:205 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:61823 (61.8 KB)  TX bytes:24935 (24.9 KB)

        qbre27adc03-d6 Link encap:Ethernet  HWaddr 1a:a0:22:0c:54:61
                  inet6 addr: fe80::e8ec:8cff:fe9a:2d57/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:402 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:44592 (44.5 KB)  TX bytes:10769 (10.7 KB)

        qbrff2035ab-dd Link encap:Ethernet  HWaddr 06:88:a0:66:d2:16
                  inet6 addr: fe80::3cdf:10ff:fe14:416d/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:339 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:33028 (33.0 KB)  TX bytes:9884 (9.8 KB)

        qvb22974bcf-c7 Link encap:Ethernet  HWaddr 26:d8:36:04:6a:44
                  inet6 addr: fe80::24d8:36ff:fe04:6a44/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:548 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:366 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:57355 (57.3 KB)  TX bytes:46833 (46.8 KB)

        qvb26237462-3a Link encap:Ethernet  HWaddr 0e:44:05:72:a6:78
                  inet6 addr: fe80::c44:5ff:fe72:a678/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:3119 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:2318 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:180675 (180.6 KB)  TX bytes:142836 (142.8 KB)

        qvb38125503-f7 Link encap:Ethernet  HWaddr e6:eb:ea:61:12:db
                  inet6 addr: fe80::e4eb:eaff:fe61:12db/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:661 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:563 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:77584 (77.5 KB)  TX bytes:65145 (65.1 KB)

        qvb5b822332-d1 Link encap:Ethernet  HWaddr 76:cd:b2:d8:0f:7f
                  inet6 addr: fe80::74cd:b2ff:fed8:f7f/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:2449 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:2997 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:157248 (157.2 KB)  TX bytes:170673 (170.6 KB)

        qvb9e3d3360-34 Link encap:Ethernet  HWaddr be:ec:cd:7d:99:b1
                  inet6 addr: fe80::bcec:cdff:fe7d:99b1/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:673 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:566 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:81794 (81.7 KB)  TX bytes:65230 (65.2 KB)

        qvbe27adc03-d6 Link encap:Ethernet  HWaddr 1a:a0:22:0c:54:61
                  inet6 addr: fe80::18a0:22ff:fe0c:5461/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:437 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:193 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:53142 (53.1 KB)  TX bytes:26556 (26.5 KB)

        qvbff2035ab-dd Link encap:Ethernet  HWaddr 06:88:a0:66:d2:16
                  inet6 addr: fe80::488:a0ff:fe66:d216/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:3469 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:2211 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:1146217 (1.1 MB)  TX bytes:312186 (312.1 KB)

        qvo22974bcf-c7 Link encap:Ethernet  HWaddr 76:12:e0:58:16:a2
                  inet6 addr: fe80::7412:e0ff:fe58:16a2/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:366 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:548 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:46833 (46.8 KB)  TX bytes:57355 (57.3 KB)

        qvo26237462-3a Link encap:Ethernet  HWaddr 2e:64:ac:c0:20:b2
                  inet6 addr: fe80::2c64:acff:fec0:20b2/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:2318 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:3119 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:142836 (142.8 KB)  TX bytes:180675 (180.6 KB)

        qvo38125503-f7 Link encap:Ethernet  HWaddr 56:4c:e8:03:e1:25
                  inet6 addr: fe80::544c:e8ff:fe03:e125/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:563 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:661 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:65145 (65.1 KB)  TX bytes:77584 (77.5 KB)

        qvo5b822332-d1 Link encap:Ethernet  HWaddr 02:4a:8f:56:52:a7
                  inet6 addr: fe80::4a:8fff:fe56:52a7/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:2997 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:2449 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:170673 (170.6 KB)  TX bytes:157248 (157.2 KB)

        qvo9e3d3360-34 Link encap:Ethernet  HWaddr 62:5a:59:67:8a:7b
                  inet6 addr: fe80::605a:59ff:fe67:8a7b/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:566 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:673 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:65230 (65.2 KB)  TX bytes:81794 (81.7 KB)

        qvoe27adc03-d6 Link encap:Ethernet  HWaddr 1e:5c:a2:38:e5:8a
                  inet6 addr: fe80::1c5c:a2ff:fe38:e58a/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:193 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:437 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:26556 (26.5 KB)  TX bytes:53142 (53.1 KB)

        qvoff2035ab-dd Link encap:Ethernet  HWaddr 2a:9f:93:3b:a0:a1
                  inet6 addr: fe80::289f:93ff:fe3b:a0a1/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:2211 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:3469 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:312186 (312.1 KB)  TX bytes:1146217 (1.1 MB)

        tap22974bcf-c7 Link encap:Ethernet  HWaddr fe:16:3e:aa:1f:ca
                  inet6 addr: fe80::fc16:3eff:feaa:1fca/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:239 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:375 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:500
                  RX bytes:27369 (27.3 KB)  TX bytes:40886 (40.8 KB)

        tape27adc03-d6 Link encap:Ethernet  HWaddr fe:16:3e:12:7e:68
                  inet6 addr: fe80::fc16:3eff:fe12:7e68/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:45 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:217 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:500
                  RX bytes:4084 (4.0 KB)  TX bytes:25319 (25.3 KB)

        tapff2035ab-dd Link encap:Ethernet  HWaddr fe:16:3e:8a:78:42
                  inet6 addr: fe80::fc16:3eff:fe8a:7842/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:2066 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:3251 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:500
                  RX bytes:290904 (290.9 KB)  TX bytes:1127616 (1.1 MB)

        virbr0    Link encap:Ethernet  HWaddr 9e:3b:d2:35:cf:60
                  inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
                  UP BROADCAST MULTICAST  MTU:1500  Metric:1
                  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Thanks.

Cannot access internet from external router namespace

Hi,

I have an all-in-one installation of devstack with a single-NIC machine. I can ping external router(172.24.4.2) from the host machine(i.e. the one on which devstack is installed) and I can ping the host machine from the router namespace:

sudo ip netns exec ping qrouter-5ab36503-1ae4-4e26-b01f-cc409e4149db ping 10.3.87.102

The problem is that I cannot ping the external world e.g. google.com from the router namespace.

sudo ip netns exec ping qrouter-5ab36503-1ae4-4e26-b01f-cc409e4149db ping google.com

How can I check what is wrong?

#sudo ovs-vsctl show

 Bridge "br-eth1"
        Port "eth1-br-proxy"
            Interface "eth1-br-proxy"
        Port "br-eth1"
            Interface "br-eth1"
                type: internal
    Bridge br-int
        fail_mode: secure
        Port "qr-acc7af1a-f5"
            tag: 1
            Interface "qr-acc7af1a-f5"
                type: internal
        Port "qvoe27adc03-d6"
            tag: 1
            Interface "qvoe27adc03-d6"
        Port "qvoff2035ab-dd"
            tag: 1
            Interface "qvoff2035ab-dd"
        Port "qvo22974bcf-c7"
            tag: 1
            Interface "qvo22974bcf-c7"
        Port "tap03ba9df0-0e"
            tag: 1
            Interface "tap03ba9df0-0e"
                type: internal
        Port br-int
            Interface br-int
                type: internal
    Bridge "br-eth0"
        Port "eth0"
            Interface "eth0"
        Port "proxy-br-eth1"
            Interface "proxy-br-eth1"
        Port "br-eth0"
            Interface "br-eth0"
                type: internal
        Port proxy-br-ex
            Interface proxy-br-ex
    Bridge br-ex
        Port "qg-ba84c0dd-3f"
            tag: 0
            Interface "qg-ba84c0dd-3f"
                type: internal
        Port br-ex
            Interface br-ex
                type: internal
    ovs_version: "1.4.6"     



     # ifconfig -a

  eth0      Link encap:Ethernet  HWaddr 28:6e:d4:88:c6:fc
          inet6 addr: fe80::2a6e:d4ff:fe88:c6fc/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:402960 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2084 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:108669938 (108.6 MB)  TX bytes:256183 (256.1 KB)
          Interrupt:79

br-eth0   Link encap:Ethernet  HWaddr 28:6e:d4:88:c6:fc
          inet addr:10.3.87.102  Bcast:10.3.87.255  Mask:255.255.255.0
          inet6 addr: fe80::2a6e:d4ff:fe88:c6fc/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:403847 errors:0 dropped:0 overruns:0 frame:0
          TX packets:560 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:114393678 (114.3 MB)  TX bytes:67810 (67.8 KB)

  br-ex     Link encap:Ethernet  HWaddr 12:30:d9:ac:53:4e
          inet addr:172.24.4.1  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::1030:d9ff:feac:534e/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:13021 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2965 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1353877 (1.3 MB)  TX bytes:1100691 (1.1 MB)

br-int Link encap:Ethernet  HWaddr 62:e8:ef:5a:92:49
              inet6 addr: fe80::60e8:efff:fe5a:9249/64 Scope:Link
              UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
              RX packets:549 errors:0 dropped:0 overruns:0 frame:0
              TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:78941 (78.9 KB)  TX bytes:8678 (8.6 KB)


        eth1-br-proxy Link encap:Ethernet  HWaddr 8a:f0:b9:85:a2:ce
                  inet6 addr: fe80::88f0:b9ff:fe85:a2ce/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:395696 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:450 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:111964443 (111.9 MB)  TX bytes:55618 (55.6 KB)

        ex-br-proxy Link encap:Ethernet  HWaddr 2e:56:c4:9d:c7:a7
                  inet6 addr: fe80::2c56:c4ff:fe9d:c7a7/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:395483 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:626 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:111943789 (111.9 MB)  TX bytes:68474 (68.4 KB)

        lo        Link encap:Local Loopback
                  inet addr:127.0.0.1  Mask:255.0.0.0
                  inet6 addr: ::1/128 Scope:Host
                  UP LOOPBACK RUNNING  MTU:16436  Metric:1
                  RX packets:10995662 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:10995662 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:3901075734 (3.9 GB)  TX bytes:3901075734 (3.9 GB)

        proxy-br-eth1 Link encap:Ethernet  HWaddr 02:d0:a6:a0:c4:5f
                  inet6 addr: fe80::d0:a6ff:fea0:c45f/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:450 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:395696 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:55618 (55.6 KB)  TX bytes:111964443 (111.9 MB)

        proxy-br-ex Link encap:Ethernet  HWaddr 46:e3:89:60:66:e9
                  inet6 addr: fe80::44e3:89ff:fe60:66e9/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:626 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:395483 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:68474 (68.4 KB)  TX bytes:111943789 (111.9 MB)

        qbr22974bcf-c7 Link encap:Ethernet  HWaddr 26:d8:36:04:6a:44
                  inet6 addr: fe80::b892:5cff:fe26:4c80/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:341 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:32697 (32.6 KB)  TX bytes:8167 (8.1 KB)

        qbr26237462-3a Link encap:Ethernet  HWaddr 0e:44:05:72:a6:78
                  inet6 addr: fe80::b899:20ff:fede:14e4/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:4756 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:245 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:179591 (179.5 KB)  TX bytes:29896 (29.8 KB)

        qbr38125503-f7 Link encap:Ethernet  HWaddr e6:eb:ea:61:12:db
                  inet6 addr: fe80::fcf6:cfff:febb:852f/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:544 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:204 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:57769 (57.7 KB)  TX bytes:24978 (24.9 KB)

        qbr5b822332-d1 Link encap:Ethernet  HWaddr 76:cd:b2:d8:0f:7f
                  inet6 addr: fe80::c46:c7ff:fe17:ec12/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:4761 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:183896 (183.8 KB)  TX bytes:29557 (29.5 KB)

        qbr9e3d3360-34 Link encap:Ethernet  HWaddr be:ec:cd:7d:99:b1
                  inet6 addr: fe80::dcc8:76ff:fe1b:30eb/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:556 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:205 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:61823 (61.8 KB)  TX bytes:24935 (24.9 KB)

        qbre27adc03-d6 Link encap:Ethernet  HWaddr 1a:a0:22:0c:54:61
                  inet6 addr: fe80::e8ec:8cff:fe9a:2d57/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:402 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:44592 (44.5 KB)  TX bytes:10769 (10.7 KB)

        qbrff2035ab-dd Link encap:Ethernet  HWaddr 06:88:a0:66:d2:16
                  inet6 addr: fe80::3cdf:10ff:fe14:416d/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:339 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:33028 (33.0 KB)  TX bytes:9884 (9.8 KB)

        qvb22974bcf-c7 Link encap:Ethernet  HWaddr 26:d8:36:04:6a:44
                  inet6 addr: fe80::24d8:36ff:fe04:6a44/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:548 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:366 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:57355 (57.3 KB)  TX bytes:46833 (46.8 KB)

        qvb26237462-3a Link encap:Ethernet  HWaddr 0e:44:05:72:a6:78
                  inet6 addr: fe80::c44:5ff:fe72:a678/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:3119 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:2318 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:180675 (180.6 KB)  TX bytes:142836 (142.8 KB)

        qvb38125503-f7 Link encap:Ethernet  HWaddr e6:eb:ea:61:12:db
                  inet6 addr: fe80::e4eb:eaff:fe61:12db/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:661 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:563 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:77584 (77.5 KB)  TX bytes:65145 (65.1 KB)

        qvb5b822332-d1 Link encap:Ethernet  HWaddr 76:cd:b2:d8:0f:7f
                  inet6 addr: fe80::74cd:b2ff:fed8:f7f/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:2449 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:2997 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:157248 (157.2 KB)  TX bytes:170673 (170.6 KB)

        qvb9e3d3360-34 Link encap:Ethernet  HWaddr be:ec:cd:7d:99:b1
                  inet6 addr: fe80::bcec:cdff:fe7d:99b1/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:673 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:566 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:81794 (81.7 KB)  TX bytes:65230 (65.2 KB)

        qvbe27adc03-d6 Link encap:Ethernet  HWaddr 1a:a0:22:0c:54:61
                  inet6 addr: fe80::18a0:22ff:fe0c:5461/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:437 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:193 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:53142 (53.1 KB)  TX bytes:26556 (26.5 KB)

        qvbff2035ab-dd Link encap:Ethernet  HWaddr 06:88:a0:66:d2:16
                  inet6 addr: fe80::488:a0ff:fe66:d216/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:3469 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:2211 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:1146217 (1.1 MB)  TX bytes:312186 (312.1 KB)

        qvo22974bcf-c7 Link encap:Ethernet  HWaddr 76:12:e0:58:16:a2
                  inet6 addr: fe80::7412:e0ff:fe58:16a2/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:366 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:548 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:46833 (46.8 KB)  TX bytes:57355 (57.3 KB)

        qvo26237462-3a Link encap:Ethernet  HWaddr 2e:64:ac:c0:20:b2
                  inet6 addr: fe80::2c64:acff:fec0:20b2/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:2318 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:3119 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:142836 (142.8 KB)  TX bytes:180675 (180.6 KB)

        qvo38125503-f7 Link encap:Ethernet  HWaddr 56:4c:e8:03:e1:25
                  inet6 addr: fe80::544c:e8ff:fe03:e125/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:563 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:661 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:65145 (65.1 KB)  TX bytes:77584 (77.5 KB)

        qvo5b822332-d1 Link encap:Ethernet  HWaddr 02:4a:8f:56:52:a7
                  inet6 addr: fe80::4a:8fff:fe56:52a7/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:2997 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:2449 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:170673 (170.6 KB)  TX bytes:157248 (157.2 KB)

        qvo9e3d3360-34 Link encap:Ethernet  HWaddr 62:5a:59:67:8a:7b
                  inet6 addr: fe80::605a:59ff:fe67:8a7b/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:566 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:673 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:65230 (65.2 KB)  TX bytes:81794 (81.7 KB)

        qvoe27adc03-d6 Link encap:Ethernet  HWaddr 1e:5c:a2:38:e5:8a
                  inet6 addr: fe80::1c5c:a2ff:fe38:e58a/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:193 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:437 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:26556 (26.5 KB)  TX bytes:53142 (53.1 KB)

        qvoff2035ab-dd Link encap:Ethernet  HWaddr 2a:9f:93:3b:a0:a1
                  inet6 addr: fe80::289f:93ff:fe3b:a0a1/64 Scope:Link
                  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
                  RX packets:2211 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:3469 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:312186 (312.1 KB)  TX bytes:1146217 (1.1 MB)

        tap22974bcf-c7 Link encap:Ethernet  HWaddr fe:16:3e:aa:1f:ca
                  inet6 addr: fe80::fc16:3eff:feaa:1fca/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:239 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:375 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:500
                  RX bytes:27369 (27.3 KB)  TX bytes:40886 (40.8 KB)

        tape27adc03-d6 Link encap:Ethernet  HWaddr fe:16:3e:12:7e:68
                  inet6 addr: fe80::fc16:3eff:fe12:7e68/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:45 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:217 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:500
                  RX bytes:4084 (4.0 KB)  TX bytes:25319 (25.3 KB)

        tapff2035ab-dd Link encap:Ethernet  HWaddr fe:16:3e:8a:78:42
                  inet6 addr: fe80::fc16:3eff:fe8a:7842/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:2066 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:3251 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:500
                  RX bytes:290904 (290.9 KB)  TX bytes:1127616 (1.1 MB)

        virbr0    Link encap:Ethernet  HWaddr 9e:3b:d2:35:cf:60
                  inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
                  UP BROADCAST MULTICAST  MTU:1500  Metric:1
                  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


# sudo ip netns exec qrouter-5ab36503-1ae4-4e26-b01f-cc409e4149db ip address show

61: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
62: qr-acc7af1a-f5: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether fa:16:3e:df:ec:f7 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.1/24 brd 10.0.0.255 scope global qr-acc7af1a-f5
    inet6 fe80::f816:3eff:fedf:ecf7/64 scope link
       valid_lft forever preferred_lft forever
63: qg-ba84c0dd-3f: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether fa:16:3e:99:e4:f9 brd ff:ff:ff:ff:ff:ff
    inet 172.24.4.2/24 brd 172.24.4.255 scope global qg-ba84c0dd-3f
    inet6 fe80::f816:3eff:fe99:e4f9/64 scope link
       valid_lft forever preferred_lft forever

Thanks.