Evgenii Legotckoi
Sept. 5, 2015, 10:43 p.m.

DELL Networking. Basics Routing Policy (Part 3)

VLAN Traffic Redirection

Passing traffic without PBR Example. Comparison of packets from one VLAN, then routing the output of another VLAN to their destination.

Remote server X, Y, Z hourly cached on the local server A, B, C. Members VLAN 10 use locally cached server 99% of the time, but occasionally need access to current data from the server X, Y, Z, which are located in another city . Traffic on the road between the local and remote servers are often higher than 100% of the bandwidth. To minimize delays in traffic between VLAN 10 user stations and remote servers are configured PBR to avoid bottlenecks.


Traffic Passage in the presence of PBR If configured routing rules, the traffic flow will be different from the original version, where the traffic comes at the lower path, but does not mean that at best.

In this case, the traffic goes through VLAN 20, which has a high-speed connection to the remote server.

Configuration

Initial data When setting up, the following input data.

VLAN 10, 20
Subnets: 1.1.1.0, 2.2.2.0, 3.3.3.0
IP-adresses: 1.1.1.50, 1.1.1.51, 1.1.1.52, 3.3.3.3, 3.3.3.4, 3.3.3.5, 2.2.2.1, 2.2.2.2

The first step is performed to create access lists for ABC and XYZ servers servers.

  1. /* Creating ACLs with IP-addresses of sources - Server ABC */
  2. console(config)#ip access-list servers-ABC
  3. console(config-ip-acl)#permit ip host 1.1.1.50 any
  4. console(config-ip-acl)#permit ip host 1.1.1.51 any
  5. console(config-ip-acl)#permit ip host 1.1.1.52 any
  6. console(config-ip-acl)#exit
  7.  
  8. Create Access-list with destination IP addresses of servers XYZ
  9. console(config)#ip access-list allow-1-1-1-clients
  10. console(config-ip-acl)#permit ip any host 3.3.3.3
  11. console(config-ip-acl)#permit ip any host 3.3.3.4
  12. console(config-ip-acl)#permit ip any host 3.3.3.5
  13. console(config-ip-acl)#exit

Creating a Route-Map, using access lists to servers from the routing policies to reroute customers through VLAN 20.

  1. console(config)#route-map clients-to-XYZ deny 10
  2. console(route-map)#match ip address servers-ABC
  3. console(route-map)#exit
  4. console(config)#route-map clients-to-XYZ permit 20
  5. console(route-map)#match ip address allow-1-1-1-clients
  6. console(route-map)#set ip next-hop 2.2.2.2
  7. console(route-map)#exit

Assign Route-Map and IP-addresses for the VLAN 10

  1. console(config)#vlan 10
  2. console(config-vlan10)#exit
  3. console(config)#interface vlan 10
  4. console(config-if-vlan10)#ip address 1.1.1.1 255.255.255.0
  5. console(config-if-vlan10)#ip policy route-map clients-to-XYZ
  6. console(config-if-vlan10)#exit

Then we put this remaining set of commands to configure routing

  1. console(config)#ip routing
  2. console(config)#vlan 20
  3. console(config-vlan20)#exit
  4. console(config)#interface vlan 20
  5. console(config-if-vlan20)#ip address 2.2.2.1 255.255.255.0
  6. console(config-if-vlan20)#exit
  7. console(config)#interface range gi1/0/1-10
  8. console(config-if)#switchport access vlan 10
  9. console(config)#interface range gi1/0/11-20
  10. console(config-if)#switchport access vlan 20

Do you like it? Share on social networks!

Comments

Only authorized users can post comments.
Please, Log in or Sign up
  • Last comments
  • Evgenii Legotckoi
    March 9, 2025, 9:02 p.m.
    К сожалению, я этого подсказать не могу, поскольку у меня нет необходимости в обходе блокировок и т.д. Поэтому я и не задавался решением этой проблемы. Ну выглядит так, что вам действитель…
  • VP
    March 9, 2025, 4:14 p.m.
    Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
  • ИМ
    Nov. 22, 2024, 9:51 p.m.
    Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
  • Evgenii Legotckoi
    Oct. 31, 2024, 11:37 p.m.
    Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup
  • A
    Oct. 19, 2024, 5:19 p.m.
    Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html