Ask Your Question
0

Why can my router and dchp not ping each other? [closed]

asked 2014-11-28 09:42:00 -0500

mickt gravatar image

updated 2014-12-01 02:40:20 -0500

# ip netns
qrouter-826d35ab-ac23-4842-ab14-17b4fc3b5f63
qdhcp-c1a58c01-08dc-424d-84f2-141535a24c08

# ip netns exec qrouter-826d35ab-ac23-4842-ab14-17b4fc3b5f63 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
    inet 127.0.0.1  netmask 255.0.0.0
    inet6 ::1  prefixlen 128  scopeid 0x10<host>
    loop  txqueuelen 0  (Local Loopback)
    RX packets 20  bytes 2080 (2.0 KiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 20  bytes 2080 (2.0 KiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-e36f242a-b2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 10.10.12.231  netmask 255.255.255.0  broadcast 10.10.12.255
    inet6 fe80::f816:3eff:fe17:3a4  prefixlen 64  scopeid 0x20<link>
    ether fa:16:3e:17:03:a4  txqueuelen 0  (Ethernet)
    RX packets 10127  bytes 617164 (602.6 KiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 18  bytes 1384 (1.3 KiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-73ebf2e9-96: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 172.16.100.1  netmask 255.255.255.0  broadcast 172.16.100.255
    inet6 fe80::f816:3eff:fe29:4ea3  prefixlen 64  scopeid 0x20<link>
    ether fa:16:3e:29:4e:a3  txqueuelen 0  (Ethernet)
    RX packets 2  bytes 140 (140.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 31  bytes 1746 (1.7 KiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

# ip netns exec qdhcp-c1a58c01-08dc-424d-84f2-141535a24c08 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
    inet 127.0.0.1  netmask 255.0.0.0
    inet6 ::1  prefixlen 128  scopeid 0x10<host>
    loop  txqueuelen 0  (Local Loopback)
    RX packets 6  bytes 616 (616.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 6  bytes 616 (616.0 B)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tapb5240f4a-4c: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 172.16.100.2  netmask 255.255.255.0  broadcast 172.16.100.255
    inet6 fe80::f816:3eff:fe9e:6eaa  prefixlen 64  scopeid 0x20<link>
    ether fa:16:3e:9e:6e:aa  txqueuelen 0  (Ethernet)
    RX packets 10  bytes 864 (864.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 14  bytes 900 (900.0 B)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

# ip netns exec qrouter-826d35ab-ac23-4842-ab14-17b4fc3b5f63 ping 172.16.100.2
PING 172.16.100.2 (172.16.100.2) 56(84) bytes of data.

# ip netns exec qrouter-826d35ab-ac23-4842-ab14-17b4fc3b5f63 route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.10.12.1      0.0.0.0         UG    0      0        0 qg-e36f242a-b2
10.10.12.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-e36f242a-b2
172.16.100.0    0.0.0.0         255.255.255.0   U     0      0        0 qr-73ebf2e9-96

# ip netns exec qdhcp-c1a58c01-08dc-424d-84f2-141535a24c08 route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by mickt
close date 2014-12-01 03:12:40.725320

Comments

Post ovs-vsctl show

dbaxps gravatar imagedbaxps ( 2014-11-28 10:00:06 -0500 )edit

Please see above.

mickt gravatar imagemickt ( 2014-12-01 02:40:52 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-12-01 02:47:22 -0500

dbaxps gravatar image

The reason of your problem

Port "tapb5240f4a-4c"
        tag: 4095
        Interface "tapb5240f4a-4c"

VLAN tag 4095 has special meaning that the port is "dead"

Recreate private subnet ( and may be router) usually it fixes problem as far as you get rid from tag 4095

edit flag offensive delete link more

Comments

Cheers. I'd never have figured that one.

mickt gravatar imagemickt ( 2014-12-01 03:06:14 -0500 )edit

.....................

mickt gravatar imagemickt ( 2014-12-09 07:44:05 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-11-28 09:42:00 -0500

Seen: 227 times

Last updated: Dec 01 '14