Quantcast
Channel: Ask OpenStack: Q&A Site for OpenStack Users and Developers - Individual question feed
Viewing all articles
Browse latest Browse all 4

Can't ping the tenant router Gateway

Previous: Answer by Martin872 for Hello, I try to Install OpenStack Juno (Ubuntu Server 64 Bit - 14.04 LTS). I followed the Instructions, and verified all previous steps. Now I am at Chapter 6. Now I try to "Verify the Connectivity". I should be able to ping the tenant router gateway from any other node including my Host PC. But I can't even ping the router gateway from the contoller or network node. I try to fix this problem since ... :-( By the way.: I am able to ping the tenant router gateway from the network node with the following workaround: ip netns exec qrouter-08dd4213-ce5a-4929-9a0b-1ff9035e1b1c ping 192.168.100.101 Here is my configuration... Hope somebody can help me... BASIC Configuration: -------------------------------------------------------------------------- Settings on my local PC - HOST System: -------------------------------------- Windows 8 Norton InternetSecurity IPv4: 192.168.178.38 Standardgateway: 192.168.178.1 V-Box - Global Settings: ------------------------ VirtualBox Host-Only Ethernet Adapter #2: 10.10.10.1 VirtualBox Host-Only Ethernet Adapter #3: 10.20.20.1 VirtualBox Host-Only Ethernet Adapter #4: 192.168.100.1 Compute-Node-V-Box-Settings: ---------------------------- Adapter 1: Paravirtualized Network - Promiscuous Mode: allow all (VirtualBox Host-Only Ethernet Adapter #2) Adapter 2: Paravirtualized Network - Promiscuous Mode: allow all (VirtualBox Host-Only Ethernet Adapter #3) Adapter 3: Paravirtualized Network - Promiscuous Mode: allow all (NAT) Controller-Node-V-Box-Settings: ------------------------------ Adapter 1: Paravirtualized Network - Promiscuous Mode: allow all (VirtualBox Host-Only Ethernet Adapter #2) Adapter 2: Paravirtualized Network - Promiscuous Mode: allow all (NAT) Network-Node-V-Box-Settings: ------------------------------ Adapter 1: Paravirtualized Network - Promiscuous Mode: allow all (VirtualBox Host-Only Ethernet Adapter #2) Adapter 2: Paravirtualized Network - Promiscuous Mode: allow all (VirtualBox Host-Only Ethernet Adapter #3) Adapter 3: Paravirtualized Network - Promiscuous Mode: allow all (VirtualBox Host-Only Ethernet Adapter #4) Adapter 4: Paravirtualized Network - Promiscuous Mode: allow all (NAT) -------------------------------------------------------------------------- Controller-NODE: File: /etc/network/Interfaces -------------------------------------------------------------------------- # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 10.10.10.10 netmask 255.255.255.0 auto eth1 iface eth1 inet dhcp -------------------------------------------------------------------------- Compute-NODE: File: /etc/network/Interfaces -------------------------------------------------------------------------- # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 10.10.10.11 netmask 255.255.255.0 auto eth1 iface eth1 inet static address 10.20.20.11 netmask 255.255.255.0 auto eth2 -------------------------------------------------------------------------- NETWORK-NODE: File: /etc/network/Interfaces -------------------------------------------------------------------------- # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 10.10.10.12 netmask 255.255.255.0 auto eth1 iface eth1 inet static address 10.20.20.12 netmask 255.255.255.0 auto eth2 iface eth2 inet manual up ifconfig $IFACE 0.0.0.0 up up ip link ... (more)
$
0
0
Hello, I try to Install OpenStack Juno (Ubuntu Server 64 Bit - 14.04 LTS). I followed the Instructions, and verified all previous steps. Now I am at Chapter 6. Now I try to "Verify the Connectivity". I should be able to ping the tenant router gateway from any other node including my Host PC. But I can't even ping the router gateway from the contoller or network node. I try to fix this problem since ... :-( By the way.: I am able to ping the tenant router gateway from the network node with the following workaround: ip netns exec qrouter-08dd4213-ce5a-4929-9a0b-1ff9035e1b1c ping 192.168.100.101 Here is my configuration... Hope somebody can help me... BASIC Configuration: -------------------------------------------------------------------------- Settings on my local PC - HOST System: -------------------------------------- Windows 8 Norton InternetSecurity IPv4: 192.168.178.38 Standardgateway: 192.168.178.1 V-Box - Global Settings: ------------------------ VirtualBox Host-Only Ethernet Adapter #2: 10.10.10.1 VirtualBox Host-Only Ethernet Adapter #3: 10.20.20.1 VirtualBox Host-Only Ethernet Adapter #4: 192.168.100.1 Compute-Node-V-Box-Settings: ---------------------------- Adapter 1: Paravirtualized Network - Promiscuous Mode: allow all (VirtualBox Host-Only Ethernet Adapter #2) Adapter 2: Paravirtualized Network - Promiscuous Mode: allow all (VirtualBox Host-Only Ethernet Adapter #3) Adapter 3: Paravirtualized Network - Promiscuous Mode: allow all (NAT) Controller-Node-V-Box-Settings: ------------------------------ Adapter 1: Paravirtualized Network - Promiscuous Mode: allow all (VirtualBox Host-Only Ethernet Adapter #2) Adapter 2: Paravirtualized Network - Promiscuous Mode: allow all (NAT) Network-Node-V-Box-Settings: ------------------------------ Adapter 1: Paravirtualized Network - Promiscuous Mode: allow all (VirtualBox Host-Only Ethernet Adapter #2) Adapter 2: Paravirtualized Network - Promiscuous Mode: allow all (VirtualBox Host-Only Ethernet Adapter #3) Adapter 3: Paravirtualized Network - Promiscuous Mode: allow all (VirtualBox Host-Only Ethernet Adapter #4) Adapter 4: Paravirtualized Network - Promiscuous Mode: allow all (NAT) -------------------------------------------------------------------------- Controller-NODE: File: /etc/network/Interfaces -------------------------------------------------------------------------- # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 10.10.10.10 netmask 255.255.255.0 auto eth1 iface eth1 inet dhcp -------------------------------------------------------------------------- Compute-NODE: File: /etc/network/Interfaces -------------------------------------------------------------------------- # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 10.10.10.11 netmask 255.255.255.0 auto eth1 iface eth1 inet static address 10.20.20.11 netmask 255.255.255.0 auto eth2 -------------------------------------------------------------------------- NETWORK-NODE: File: /etc/network/Interfaces -------------------------------------------------------------------------- # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 10.10.10.12 netmask 255.255.255.0 auto eth1 iface eth1 inet static address 10.20.20.12 netmask 255.255.255.0 auto eth2 iface eth2 inet manual up ifconfig $IFACE 0.0.0.0 up up ip link set $IFACE promisc on down ip link set $IFACE promisc off down ifconfig $IFACE down post-up ethtool -K $IFACE gro off auto br-ex iface br-ex inet static address 192.168.100.2 netmask 255.255.255.0 post-up ethtool -K $IFACE gro off auto eth3 iface eth3 inet dhcp -------------------------------------------------------------------------- General System Informations by Connecting to the Nodes via Putty -------------------------------------------------------------------------- ------------- Compute-NODE: ------------- System information as of Tue Apr 21 11:53:59 CEST 2015 System load: 0.0 Users logged in: 0 Usage of /: 0.9% of 241.77GB IP address for eth0: 10.10.10.11 Memory usage: 9% IP address for eth1: 10.20.20.11 Swap usage: 0% IP address for eth2: 10.0.4.15 Processes: 100 IP address for virbr0: 192.168.122.1 ------------- NETWORK-NODE: ------------- System information as of Tue Apr 21 11:53:59 CEST 2015 System load: 0.51 Users logged in: 0 Usage of /: 0.8% of 241.77GB IP address for eth0: 10.10.10.12 Memory usage: 22% IP address for eth1: 10.20.20.12 Swap usage: 0% IP address for eth3: 10.0.5.15 Processes: 101 IP address for br-ex: 192.168.100.2 ------------- Controller-NODE: ------------- System information as of Tue Apr 21 11:53:59 CEST 2015 System load: 0.02 Processes: 102 Usage of /: 0.9% of 241.77GB Users logged in: 0 Memory usage: 35% IP address for eth0: 10.10.10.10 Swap usage: 0% IP address for eth1: 10.0.3.15 -------------------------------------------------------------------------- Nova SecGroup (Controller-NODE) -------------------------------------------------------------------------- +-------------+-----------+---------+-----------+--------------+ | IP Protocol | From Port | To Port | IP Range | Source Group | +-------------+-----------+---------+-----------+--------------+ | | | | | default | | | | | | default | | tcp | 22 | 22 | 0.0.0.0/0 | | | icmp | -1 | -1 | 0.0.0.0/0 | | +-------------+-----------+---------+-----------+--------------+ -------------------------------------------------------------------------- neutron agent-list (Controller-NODE) -------------------------------------------------------------------------- +--------------------------------------+--------------------+---------+-------+----------------+---------------------------+ | id | agent_type | host | alive | admin_state_up | binary | +--------------------------------------+--------------------+---------+-------+----------------+---------------------------+ | 17d08697-8447-42bf-9405-343dd56658e5 | Open vSwitch agent | compute | :-) | True | neutron-openvswitch-agent | | 40924281-4ea2-44f0-9fd8-8f8a26abbbeb | Metadata agent | network | :-) | True | neutron-metadata-agent | | 7addd338-a1cd-4821-ad22-ee2495c5625d | DHCP agent | network | :-) | True | neutron-dhcp-agent | | 87b5298a-9f43-4464-ab94-2116d65de86a | Open vSwitch agent | network | :-) | True | neutron-openvswitch-agent | | c090da60-4181-462a-ba7f-c1ec7ec6e28e | L3 agent | network | :-) | True | neutron-l3-agent | +--------------------------------------+--------------------+---------+-------+----------------+---------------------------+ -------------------------------------------------------------------------- ovs-vsctl show (NETWORK-NODE) -------------------------------------------------------------------------- 2ee78165-a137-4661-974a-39888256f3dd Bridge br-ex Port "eth2" Interface "eth2" Port "qg-2175f0f7-f4" Interface "qg-2175f0f7-f4" type: internal Port br-ex Interface br-ex type: internal Port phy-br-ex Interface phy-br-ex type: patch options: {peer=int-br-ex} Bridge br-int fail_mode: secure Port "tap2d9b792c-3e" tag: 1 Interface "tap2d9b792c-3e" type: internal Port "qr-c706251c-00" tag: 4095 Interface "qr-c706251c-00" type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port int-br-ex Interface int-br-ex type: patch options: {peer=phy-br-ex} Port br-int Interface br-int type: internal Bridge br-tun Port br-tun Interface br-tun type: internal Port patch-int Interface patch-int type: patch options: {peer=patch-tun} ovs_version: "2.0.2" -------------------------------------------------------------------------- neutron net-list (Controller-NODE) -------------------------------------------------------------------------- +--------------------------------------+----------+-------------------------------------------------------+ | id | name | subnets | +--------------------------------------+----------+-------------------------------------------------------+ | 36c9a05b-45ae-4460-a10d-e746af65471d | ext-net | 1b51754f-c72b-49a8-b18c-c6616f1ac593 192.168.100.0/24 | | ae157520-6917-448b-ac19-10405d86fa1c | demo-net | b9f61b1d-c7f7-4f13-8a2f-c72cdd63d14c 192.162.1.0/24 | +--------------------------------------+----------+-------------------------------------------------------+ -------------------------------------------------------------------------- neutron subnet-list (Controller-NODE) -------------------------------------------------------------------------- +--------------------------------------+-------------+------------------+--------------------------------------------------------+ | id | name | cidr | allocation_pools | +--------------------------------------+-------------+------------------+--------------------------------------------------------+ | 1b51754f-c72b-49a8-b18c-c6616f1ac593 | ext-subnet | 192.168.100.0/24 | {"start": "192.168.100.101", "end": "192.168.100.200"} | | b9f61b1d-c7f7-4f13-8a2f-c72cdd63d14c | demo-subnet | 192.162.1.0/24 | {"start": "192.162.1.2", "end": "192.162.1.254"} | +--------------------------------------+-------------+------------------+--------------------------------------------------------+ -------------------------------------------------------------------------- neutron router-list (Controller-NODE) -------------------------------------------------------------------------- +--------------------------------------+-------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+ | id | name | external_gateway_info | distributed | ha | +--------------------------------------+-------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+ | 08dd4213-ce5a-4929-9a0b-1ff9035e1b1c | demo-router | {"network_id": "36c9a05b-45ae-4460-a10d-e746af65471d", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "1b51754f-c72b-49a8-b18c-c6616f1ac593", "ip_address": "192.168.100.101"}]} | False | False | +--------------------------------------+-------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+ -------------------------------------------------------------------------- ip netns (NETWORK-NODE) -------------------------------------------------------------------------- qdhcp-ae157520-6917-448b-ac19-10405d86fa1c qrouter-08dd4213-ce5a-4929-9a0b-1ff9035e1b1c -------------------------------------------------------------------------- The Really weird thing is if I ping the tenant router gateway from the Network Node with: ip netns exec qrouter-08dd4213-ce5a-4929-9a0b-1ff9035e1b1c ping 192.168.100.101 then it works. -------------------------------------------------------------------------- -------------------------------------------------------------------------- ip netns exec qrouter-08dd4213-ce5a-4929-9a0b-1ff9035e1b1c ifconfig (NETWORK-NODE) -------------------------------------------------------------------------- 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:65536 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:672 (672.0 B) TX bytes:672 (672.0 B) qg-2175f0f7-f4 Link encap:Ethernet HWaddr fa:16:3e:54:9a:7d inet addr:192.168.100.101 Bcast:192.168.100.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe54:9a7d/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:733 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:69833 (69.8 KB) TX bytes:1084 (1.0 KB) qr-c706251c-00 Link encap:Ethernet HWaddr fa:16:3e:61:e1:bf inet addr:192.162.1.1 Bcast:192.162.1.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe61:e1bf/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:1000 (1000.0 B)

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images