[Neutron] Not create .2 port

Tony Liu tonyliu0592 at hotmail.com
Thu Sep 24 20:59:10 UTC 2020


Any comments?

Thanks!
Tony
> -----Original Message-----
> From: Tony Liu <tonyliu0592 at hotmail.com>
> Sent: Tuesday, September 22, 2020 11:58 AM
> To: Slawek Kaplonski <skaplons at redhat.com>
> Cc: openstack-discuss at lists.openstack.org
> Subject: RE: [Neutron] Not create .2 port
> 
> I create a subnet with --no-dhcp, the .2 address is not allocated, but a
> port is still created without any address. Is this expected?
> Since DHCP is disabled, what's this port for?
> 
> Thanks!
> Tony
> > -----Original Message-----
> > From: Slawek Kaplonski <skaplons at redhat.com>
> > Sent: Friday, September 18, 2020 12:49 AM
> > To: Tony Liu <tonyliu0592 at hotmail.com>
> > Cc: openstack-discuss at lists.openstack.org
> > Subject: Re: [Neutron] Not create .2 port
> >
> > Hi,
> >
> > On Fri, Sep 18, 2020 at 03:40:54AM +0000, Tony Liu wrote:
> > > Hi,
> > >
> > > When create a subnet, by default, the first address is the gateway
> > > and Neutron also allocates an address for serving DHCP and DNS. Is
> > > there any way to NOT create such port when creating subnet?
> >
> > You can specify "--gateway None" if You don't want to have gateway
> > configured in Your subnet.
> > And for dhcp ports, You can set "--no-dhcp" for subnet so it will not
> > create dhcp ports in such subnet also.
> >
> > >
> > >
> > > Thanks!
> > > Tony
> > >
> > >
> >
> > --
> > Slawek Kaplonski
> > Senior software engineer
> > Red Hat




More information about the openstack-discuss mailing list