Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Gateway addresses for subnets are one off.

Here are the two private subnets I have created thus far for a tenant.

192.168.4.0/24 GW: 192.168.4.1 10.6.6.0/24 GW: 10.6.6.1

I am using the ovs agent. I configured the gateways for each of the subnets to be .1 addresses. But when I do an ifconfig on the same box my quantum-dhcp-agent, ovs-agent, l3-agent are running on, I see all .2 addresses for those subnets…. Refer to the output below.

tap882a8e75-ee Link encap:Ethernet HWaddr 3e:11:25:db:30:ed
inet addr:10.6.6.2 Bcast:10.6.6.255 Mask:255.255.255.0 inet6 addr: fe80::3c11:25ff:fedb:30ed/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:74550 errors:0 dropped:0 overruns:0 frame:0 TX packets:35835 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:13741301 (13.7 MB) TX bytes:6537014 (6.5 MB)

tap3680cb06-ab Link encap:Ethernet HWaddr fa:16:3e:2e:eb:6b
inet addr:192.168.4.2 Bcast:192.168.4.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe2e:eb6b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4943 errors:0 dropped:0 overruns:0 frame:0 TX packets:3132 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1004139 (1.0 MB) TX bytes:550835 (550.8 KB)

VMs are getting IP addresses fine, but they are being assigned a gateway address that don't exist anywhere. My VMs that are spun up are getting .3 addresses. Any input would be appreciated.