Versioonide võrdlemine

Selgitus

  • See rida lisati.
  • See rida eemaldati.
  • Vorminduse muutmine.

...

Info

VLANs cannot be stored directly in the bridge. The VLANs must instead be assigned to the Ethernet interfaces. The resulting VLAN interfaces can then be collected in combined to a bridge.

If several VLANs are operated, the configuration quickly becomes very complicated because each VLAN must be assigned to all of the Ethernet interfaces in the bridge (i.e. two VLANs and two Ethernet interfaces with will produce four VLAN interfaces). Furthermore, each VLAN requires the creation of a separate bridge group. This is necessary so that each VLAN can be assigned its own network. 

...

  • The Ethernet interfaces eth1 and eth2 should be combined in to a bridge.
  • The VLANs 100 and 200 should be used in the bridge.
  • A separate network should be created for each VLAN.
    • The VLAN 100 has the IP address range 192.168.100.0/24.
    • The VLAN 200 has the IP address range 192.168.200.0/24.

Procedure:

1) Configuring the VLAN interfaces and the bridge:

...

2.2) Create a new network connection for the VLAN 100 and modify the following parameters: . Then click Create.

  • Name: Enter a descriptive name for the network connection (in this example Bridge-VLAN-100).
  • Interface: From the drop-down menu, select the bridge created in step 1.5 (in this case br0).
  • IP Addresses: Enter the required IP address for this connection in CIDR notation, in this example 192.168.100.254/24.

...

2.3) Create a new network connection for the VLAN 200 and modify the following parameters: . Then click Create.

  • Name: Enter a descriptive name for the network connection (in this example Bridge-VLAN-200).
  • Interface: From the drop-down menu, select the bridge created in step 1.6 (in this case br1).
  • IP Addresses: Enter the required IP address for this connection in CIDR notation, in this example 192.168.200.254/24.

...

2.5) Create a desktop object for the network with VLAN 100 and modify the following parameters: . Then click Create.

  • Name: Enter a descriptive name for the network (in this example Bridge-Network-VLAN-100).
  • Interface: From the drop-down menu, select the bridge created in step 1.5 (in this case br0).
  • Network IP: Enter the network address of the network connection created in step 2.2 in CIDR notation (in this example 192.168.100.0/24).

...

2.6) Create a desktop object for the network with VLAN 200 and modify the following parameters: . Then click Create.

  • Name: Enter a descriptive name for the network (in this example Bridge-Network-VLAN-200).
  • Interface: From the drop-down menu, select the bridge created in step 1.6 (in this case br1).
  • Network IP: Enter the network address of the network connection created in step 2.3 in CIDR notation (in this example 192.168.200.0/24).

...