This procedure describes how to create the wan network for a INFN/DFA project. This is needed only if:
- This project is using a 10.64.x.0 lan network
- This project needs one or more floating IP
The "wan" network is not needed for projects using a 10.67.x.0 or 10.68.x.0 LAN
Step-by-step guide
Let's suppose that the "wan" network must be created for the GLV project (project_id = 6dae634709c4478d92f70c388897fc96)
Let's suppose that this project is using the 10.64.53.0 LAN network.
We will then use the 10.62.53.0 network is available: check and update this page.
Then increase (from 1 to 2) the quota for network and subnetworks:
neutron quota-update --network 2 --tenant-id 6dae634709c4478d92f70c388897fc96 neutron quota-update --subnet 2 --tenant-id 6dae634709c4478d92f70c388897fc96
Then create the network, the subnetwork and attach it to the router (in this case please choose "10.63.53.0" for the wan subnetwork, since this project is using "10.64.53.0" for the lan)
neutron net-create --tenant-id 6dae634709c4478d92f70c388897fc96 GLV-wan neutron subnet-create GLV-wan $1.$2.0/24 --enable-dhcp=True --name sub-GLV-wan --\ dns-nameserver 192.84.143.16 --dns-nameserver 192.84.143.224 --dns-nameserver 192.84.143.31 --tenant-id 6dae634709c4478d92f70c388897fc96 neutron router-interface-add router-wan sub-GLV-wan