SonicOS 7 NSv Getting Started Guide for KVM

Adding VLAN Parameters to the Network Card

  • Web Management Interface

    For best results, X0: 518 and X1: 201 is recommended.

    Access settings through Virtual Machine Manager | Connection Details > Network Interface

  • Command Line Interface

    1. Enter:

      /etc/sysconfig/network-scripts/

    2. Execute the following commands:

      modprobe 8021q
       
      [root@server02 network-scripts]# cat ifcfg-enp14s0
      DEVICE=enp14s0
      TYPE=Ethernet
      BOOTPROTO=none
      ONBOOT=yes
      NM_CONTROLLED=no
       
      [root@server02 network-scripts]# cat ifcfg-enp14s0.35
      DEVICE=enp14s0.35
      TYPE=Ethernet
      BOOTPROTO=none
      ONBOOT=yes
      VLAN=yes
      BRIDGE=br35
      NM_CONTROLLED=no
       
      [root@server02 network-scripts]# cat ifcfg-br35
      DEVICE=br35
      TYPE=Bridge
      BOOTPROTO=none
      ONBOOT=yes
      IPADDR=10.64.35.92
      PREFIX=24
      GATEWAY=10.64.35.1
      DNS1=10.64.28.200
      DNS2=10.64.28.201
      DOMAIN=acme.com
      NM_CONTROLLED=no
       
      systemctl restart network

These network definitions can be selected by virtual machines.

Was This Article Helpful?

Help us to improve our support portal

Techdocs Article Helpful form

  • Hidden
  • Hidden

Techdocs Article NOT Helpful form

  • Still can't find what you're looking for? Try our knowledge base or ask our community for more help.
  • Hidden
  • Hidden