User Tools

Site Tools


linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux [2020/07/14 17:48] philiplinux [2020/07/14 18:00] (current) – [Cisco Catalyst 2950-48 Configuration] philip
Line 35: Line 35:
 ==== Ubuntu LACP Configuration ==== ==== Ubuntu LACP Configuration ====
  
-This example shows the ''/etc/network/interfaces'' configuration using two ethernet interfaces on a server to be combined to form a LAG, and using LACP. Here I'm using VLAN 3, 5 and 7 on the server, and they are being passed by the LAG from the switch the server is connected to.+This example shows the ''/etc/network/interfaces'' configuration using two ethernet interfaces on a server to be combined to form a LAG, and using LACP. Here I'm using VLAN 3, 5 and 7 on the server, and they are being passed by the LAG from the switch the server is connected to. VLAN 3 is for server management access, whereas VLAN 5 and 7 are passed on to virtual machines within the server.
  
 <code> <code>
Line 93: Line 93:
 </code> </code>
  
-==== Cisco Catalyst 2950-48 Configuration ====+==== Cisco Catalyst 2950G-48 Configuration ====
  
-Configuration snipped for a Catalyst 2950-48 running '12.1(22)EA13'. Note that the 2950-48 needs the ''flowcontrol send off'' command - other switches don't seem to need this.+Configuration snipped for a Catalyst 2950G-48 running '12.1(22)EA13'. Note that the 2950G-48 needs the ''flowcontrol send off'' command - other switches don't seem to need this.
  
 For security reasons, I've made the native VLAN on the trunk to be 999, rather than the default VLAN of 1. I strongly recommend never to use VLAN1 for anything. For security reasons, I've made the native VLAN on the trunk to be 999, rather than the default VLAN of 1. I strongly recommend never to use VLAN1 for anything.
Line 101: Line 101:
 <code> <code>
 interface Port-channel2 interface Port-channel2
- description V2 Trunk+ description Trunk
  switchport trunk native vlan 999  switchport trunk native vlan 999
  switchport mode trunk  switchport mode trunk
Line 122: Line 122:
 ! !
 </code> </code>
 +
 +With this configuration, VLAN 999 is the native VLAN (frames sent untagged), and all other VLANs (including 1) are sent tagged.
  
 [[start| Back to Home page]] [[start| Back to Home page]]
  
  
linux.1594712897.txt.gz · Last modified: 2020/07/14 17:48 by philip