azure: update vnet routing/serial console

This commit is contained in:
LBegnaud 2021-01-02 13:49:48 -06:00 committed by GitHub
parent 4b4db5d230
commit d562823762
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ Deploy VyOS on Azure.
.. figure:: /_static/images/cloud-azure-01.png .. figure:: /_static/images/cloud-azure-01.png
3. On the marketplace search ``VyOS`` 3. On the marketplace search ``VyOS`` and choose the appropriate subscription
.. figure:: /_static/images/cloud-azure-02.png .. figure:: /_static/images/cloud-azure-02.png
@ -26,7 +26,7 @@ Deploy VyOS on Azure.
.. figure:: /_static/images/cloud-azure-04.png .. figure:: /_static/images/cloud-azure-04.png
6. Click ``Review + create``. After fiew second your deployment will be complete 6. Click ``Review + create``. After a few seconds your deployment will be complete
.. figure:: /_static/images/cloud-azure-05.png .. figure:: /_static/images/cloud-azure-05.png
@ -51,6 +51,22 @@ instance. Attach the interface in the Azure portal and then start the instance.
.. note:: Azure does not allow you attach interface when the instance in the .. note:: Azure does not allow you attach interface when the instance in the
**Running** state. **Running** state.
Absorbing Routes
----------------
If using as a router, you will want your LAN interface to absorb some or all of the traffic from your VNET by using a route table applied to the subnet.
1. Create a route table and browse to **Configuration**
2. Add one or more routes for networks you want to pass through the VyOS VM. Next hop type **Virtual Appliance** with the **Next Hop Address** of the VyOS ``LAN`` interface.
.. note:: If you want to create a new default route for VMs on the subnet, use **Address Prefix** ``0.0.0.0/0`` Also note that if you want to use this as a typical edge device, you'll want masquerade NAT for the ``WAN`` interface.
Serial Console
--------------
Azure has a way to access the serial console of a VM, but this needs to be configured on the VyOS. It's there by default, but keep it in mind if you are replacing config.boot and rebooting: ``set system console device ttyS0 speed '9600'``
References References
---------- ----------
https://azure.microsoft.com https://azure.microsoft.com