After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 212 of 317

OpenStack Networking 202 2. The networking on our host is as follows: # The primary network interface auto eth0 iface eth0 inet dhcp # eth1 public auto eth1 iface eth1 inet static address 172.16.0.1 netmask 255.255.0.0 network 172.16.0.0 broadcast 172.16.255.255 # eth2 private auto eth2 iface eth2 inet manual up ifconfig eth2 up 3. We then restart our network service to pick up the changes, as follows: sudo /etc/init.d/networking restart 4. By default, if we don't specify a Network Manager in our /etc/nova/nova.conf file, OpenStack Compute defaults to VLAN networking. To explicitly state this, so there are no ambiguities, we put the following in /etc/nova/nova.conf specifying our VLAN details: --network_manager=nova.network.manager.VlanManager --vlan_start=100 --vlan_interface=eth2 --public_interface=eth1 --dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge 5. Restart the required OpenStack Compute services, to pick up the changes: sudo restart nova-compute sudo restart nova-network 6. In order to separate private ranges per project (tenant), we get the ID of our tenant that we will use when creating the network. On a client machine with the keystone client installed, run the following command: . keystonerc keystone project-list www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook