Giter Site home page Giter Site logo

lacp's Introduction

LACP

Задачи:

  • в Office1 в тестовой подсети появляются сервера с доп интерфесами и адресами в internal сети testLAN:
    • testClient1 - 10.10.10.254
    • testClient2 - 10.10.10.254
    • testServer1- 10.10.10.1
    • testServer2- 10.10.10.1
  • развести вланами
    • testClient1 <-> testServer1
    • testClient2 <-> testServer2
  • между centralRouter и inetRouter "пробросить" 2 линка (общая inernal сеть) и объединить их в бонд
  • проверить работу c отключением интерфейсов
  • Формат сдачи ДЗ - vagrant + ansible

Запуск проекта

  1. Клонируем репозиторий: git clone https://github.com/mmmex/lacp.git
  2. Переходим в папку: cd lacp
  3. Запускаем проект: vagrant up

Будут подняты 6 ВМ:

Имя хоста Сетевые интерфейсы Соседи
inetRouter eth0: 10.0.2.2 (DHCP); bond0: 192.168.255.1/30 (Static); eth1: (bond-slave); eth2: (bond-slave) centralRouter
centralRouter bond0: 192.168.255.2/30 (Static); eth1: (bond-slave); eth2: (bond-slave); eth3: (Trunk); eth3.100: (Access vlanid: 100); eth3.101: (Access vlanid: 101) inetRouter, testClient1, testClient2, testServer1, testServer2
testClient1 eth1: (Trunk); vlan100@eth1: 10.10.10.1/24 (Access vlanid: 100) testServer1, centralRouter
testServer1 eth1: (Trunk); vlan100@eth1: 10.10.10.254/24 (Access vlanid: 100) testClient1, centralRouter
testClient2 eth1: (Trunk); vlan101@eth1: 10.10.10.1/24 (Access vlanid: 101) testServer2, centralRouter
testServer2 eth1: (Trunk); vlan101@eth1: 10.10.10.254/24 (Access vlanid: 101) testClient2, centralRouter

Настройка выполнена согласно схемы:

image

Демонстрация с отключением интерфейсов

asciicast

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.