The .2 address you're seeing is the DHCP server itself (as noted by the device owner set to "network:dhcp"), which needs a port on the network in order to function. To get rid of this port, disable DHCP for the subnet.
-- Scott Sent from my mobile device > On Jun 26, 2016, at 8:32 AM, Turbo Fredriksson <tu...@bayour.com> wrote: > > What am I missing?? I don't want the .2 address. This port is supposed > to be the gateway for that network. > > ----- s n i p ----- > # neutron net-create --provider:network_type gre tenant-97 > # neutron subnet-create --name subnet-97 --dns-nameserver 10.0.0.254 \ > --enable-dhcp --ip-version 4 --gateway 10.97.0.1 tenant-97 10.97.0.0/24 > # neutron router-create --distributed False --ha False providers-tenants > # neutron port-create --name port-tenant97 --vnic-type direct \ > --security-group default --fixed-ip ip_address=10.97.0.1 \ > tenant-97 > # neutron router-interface-add providers-tenants port=port-tenant97 > # neutron port-list -c device_owner -c name -c fixed_ips > +--------------------------+---------------+----------------------------------------------------------------------------------+ > | device_owner | name | fixed_ips > | > +--------------------------+---------------+----------------------------------------------------------------------------------+ > | network:router_interface | port-tenant97 | {"subnet_id": > "943acc0b-0db5-4d4c-97f4-0d1b714847df", "ip_address": "10.97.0.1"} | > | network:dhcp | | {"subnet_id": > "943acc0b-0db5-4d4c-97f4-0d1b714847df", "ip_address": "10.97.0.2"} | > +--------------------------+---------------+----------------------------------------------------------------------------------+ > ----- s n i p ----- > > Later on, I set the gateway to be the physical gateway/firewall. > Which, would mean that it have one leg on each network.. > -- > Med ett schysst järnrör slår man hela världen med häpnad > - Sockerconny > > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : openstack@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack