VLAN configuration

We then need to configure our virtual router to support VLANs. Switch to Interface from the main menu and select New VLAN interface. Three VLANs need to be created with the following properties:

  • The VLAN IDs are 10 20, and 30
  • The interface is ether2
  • The names are vlan10, vlan20, and vlan30

You can also use the following CLI command:

interface vlan add interface=ether3 vlan-id=10 name=VLAN10

The interface configuration should appear as follows:

We now need to configure an L3 interface for the new VLANs so that the virtual machines that are connected to them will be able to reach the IP interface of the virtual router.

To do this, switch to IP | Addresses from the main menu and add the following three IP addresses:

IP address

Interface

10.0.10.254/24

vlan10

10.0.20.254/24

vlan20

10.0.30.254/24

vlan30

The IP configuration should appear as follows:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.200.86