linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux [2020/07/14 17:35] – philip | linux [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 ''/ | + | This example shows the ''/ |
- | '' | + | < |
+ | source / | ||
- | 1234 | + | # The loopback network interface |
+ | auto lo | ||
+ | iface lo inet loopback | ||
- | 1234'' | + | auto eno1 |
+ | iface eno1 inet manual | ||
+ | bond-master bond0 | ||
+ | |||
+ | auto eno2 | ||
+ | iface eno2 inet manual | ||
+ | bond-master bond0 | ||
+ | |||
+ | auto bond0 | ||
+ | iface bond0 inet manual | ||
+ | bond-mode 802.3ad | ||
+ | bond-miimon 100 | ||
+ | bond-lacp-rate 1 | ||
+ | bond-slaves eno1 eno2 | ||
+ | |||
+ | auto bond0.3 | ||
+ | iface bond0.3 inet manual | ||
+ | vlan-raw-device bond0 | ||
+ | |||
+ | auto bond0.5 | ||
+ | iface bond0.5 inet manual | ||
+ | vlan-raw-device bond0 | ||
+ | |||
+ | auto bond0.7 | ||
+ | iface bond0.7 inet manual | ||
+ | vlan-raw-device bond0 | ||
+ | |||
+ | auto br0 | ||
+ | iface br0 inet static | ||
+ | address 192.168.1.2 | ||
+ | netmask 255.255.255.0 | ||
+ | gateway 192.168.1.254 | ||
+ | bridge_ports bond0.3 | ||
+ | bridge_stp off | ||
+ | bridge_fd 0 | ||
+ | |||
+ | auto br1 | ||
+ | iface br1 inet manual | ||
+ | bridge_ports bond0.5 | ||
+ | bridge_stp off | ||
+ | bridge_fd 0 | ||
+ | |||
+ | auto br2 | ||
+ | iface br2 inet manual | ||
+ | bridge_ports bond0.7 | ||
+ | bridge_stp off | ||
+ | bridge_fd 0 | ||
+ | </ | ||
+ | |||
+ | ==== Cisco Catalyst 2950G-48 Configuration ==== | ||
+ | |||
+ | Configuration snipped for a Catalyst 2950G-48 running | ||
+ | |||
+ | 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. | ||
+ | |||
+ | < | ||
+ | interface Port-channel2 | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | ! | ||
+ | interface FastEthernet0/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | ! | ||
+ | interface FastEthernet0/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | ! | ||
+ | </ | ||
+ | |||
+ | With this configuration, | ||
[[start| Back to Home page]] | [[start| Back to Home page]] | ||
linux.1594712107.txt.gz · Last modified: 2020/07/14 17:35 by philip