DVR: Static routes are not configured in snat-namespase for DVR Routers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Static routes are not configured in snat-namespace for DVR routers.
Steps to reproduce:
1. Create Network
2. Create Subnet
3. Create Router
4. Add interface to Router
5. Set gateway for the Router
6. Add a static route (next hop to the Router)
7. Go check the 'snat-namespace' if the static routes are configured in there.
stack@ubuntu-
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Updated router: router2-alt-demo
stack@ubuntu-
stack@ubuntu-
stack@ubuntu-
root@ubuntu-
default via 192.168.100.9 dev qg-c5919234-7c
10.2.0.0/24 via 192.168.100.12 dev qg-c5919234-7c
192.168.100.0/24 dev qg-c5919234-7c proto kernel scope link src 192.168.100.20
root@ubuntu-
root@ubuntu-
root@ubuntu-
root@ubuntu-
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
qg-c5919234-7c Link encap:Ethernet HWaddr fa:16:3e:b7:2c:72
inet addr:192.168.100.20 Bcast:192.
inet6 addr: fe80::f816:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:81 errors:0 dropped:3 overruns:0 frame:0
TX packets:74 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:5334 (5.3 KB) TX bytes:5801 (5.8 KB)
sg-23b90333-cc Link encap:Ethernet HWaddr fa:16:3e:87:bb:ac
inet addr:10.2.0.8 Bcast:10.2.0.255 Mask:255.255.255.0
inet6 addr: fe80::f816:
UP BROADCAST RUNNING MULTICAST MTU:1450 Metric:1
RX packets:2770 errors:0 dropped:0 overruns:0 frame:0
TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:219841 (219.8 KB) TX bytes:4028 (4.0 KB)
root@ubuntu-
default via 192.168.100.9 dev qg-c5919234-7c
10.2.0.0/24 via 192.168.100.12 dev qg-c5919234-7c
192.168.100.0/24 dev qg-c5919234-7c proto kernel scope link src 192.168.100.20
root@ubuntu-
root@ubuntu-
exit
stack@ubuntu-
snat-6a6fdb6e-
qrouter-
snat-152504be-
qrouter-
qdhcp-a0e5b756-
snat-9e989be2-
fip-205f29cd-
qrouter-
qdhcp-03a725ab-
stack@ubuntu-
root@ubuntu-
10.2.0.0/24 dev qr-d26ef7c2-18 proto kernel scope link src 10.2.0.1
169.254.109.46/31 dev rfp-152504be-c proto kernel scope link src 169.254.109.46
root@ubuntu-
exit
stack@ubuntu-
snat-6a6fdb6e-
qrouter-
snat-152504be-
qrouter-
qdhcp-a0e5b756-
snat-9e989be2-
fip-205f29cd-
qrouter-
qdhcp-03a725ab-
stack@ubuntu-
root@ubuntu-
169.254.93.94/31 dev fpr-6a6fdb6e-8 proto kernel scope link src 169.254.93.95
169.254.106.114/31 dev fpr-9e989be2-b proto kernel scope link src 169.254.106.115
169.254.109.46/31 dev fpr-152504be-c proto kernel scope link src 169.254.109.47
192.168.100.0/24 dev fg-a6777b4d-f7 proto kernel scope link src 192.168.100.11
root@ubuntu-
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
2852019551: from all iif fpr-6a6fdb6e-8 lookup 2852019551
2852022899: from all iif fpr-9e989be2-b lookup 2852022899
2852023599: from all iif fpr-152504be-c lookup 2852023599
root@ubuntu-
default via 192.168.100.9 dev fg-a6777b4d-f7
10.3.0.0/24 via 192.168.100.20 dev fg-a6777b4d-f7
root@ubuntu-
User error.