Evgenii Legotckoi
Aug. 21, 2015, 10:26 p.m.

DELL Networking. Basics Routing Policy (Part 1)

Corporate networks, which are typically used for multiple departments in an organization is often divided into VLANs for increased performance. Administrators can combine multiple physical switches into a single virtual network to create a more efficient use of bandwidth for interagency traffic. Members of each department, who often work remotely feel the performance increase despite the great geographical distance. By using routing policies other levels may be included resolution of the administrators of the rules of the incoming and outgoing traffic. These rules and settings can alter the way the network package.

Configuring PBR includes construction of route-map with the installation instructions, which include the appropriate route-map interface. IP routing must be enabled on the interfaces to control PBR. PBR can only be allowed for incoming traffic through these interfaces.


Enable PBR on the VLAN interface is routed, in which there is a comparison of all incoming packets on the interface route-map, according to the criteria which determined the appropriate routing rule. The interface can be only one policy route-map, but each may have multiple policy route-map, each of which is successively compared with the package in accordance with its priority. If one entry criterion is the criterion of the incoming packet, then selects the appropriate record routing rule. If two or more records meet the criteria, then it runs the rule, which has the highest priority, that is, the smallest number assigned. If no entry does not match, then the packets are routed by default.

Each route-map setting that is used for PBR configured as either a permit (allowed) or as deny (forbidden). If compliance is not according to the rules permit or deny routing, then the directive to drop the packet.

Configuration examples

DELL Networking - Traffic Isolation Routed to a range of IP addresses (or subnet) in the ISP A, and a second range of IP addresses (or subnet) in the ISP B.

Create access lists.

  1. Enable routing
  2. console(config)#ip routing
  3.  
  4. Create three Access-Lists
  5. console(config)#ip access-list accounting
  6. console(config-ip-acl)#permit ip 10.1.5.0 0.0.0.255 any
  7. console(config-ip-acl)#exit
  8. console(config)#ip access-list hr
  9. console(config-ip-acl)#permit ip 10.1.6.0 0.0.0.255 any
  10. console(config-ip-acl)#exit
  11. console(config)#ip access-list inter-communications
  12. console(config-ip-acl)#permit ip 10.1.5.0 0.0.0.255 10.1.6.0 0.0.0.255
  13. console(config-ip-acl)#permit ip 10.1.6.0 0.0.0.255 10.1.5.0 0.0.0.255
  14. console(config-ip-acl)#exit

Creating a Route-Map. Static routing.

  1. Create a Route-Map with three sequences (10, 20, 30)…
  2. console(config)#route-map equal-access deny 10
  3. console(config-route-map)#match ip address inter-communications
  4. console(config-route-map)#exit
  5. console(config)#route-map equal-access permit 20
  6. console(config-route-map)#match ip address accounting
  7. console(config-route-map)#set ip next-hop 192.168.6.6
  8. console(config-route-map)#exit
  9. console(config)#route-map equal-access permit 30
  10. console(config-route-map)#match ip address hr
  11. console(config-route-map)#set ip next-hop 172.16.7.7
  12. console(config-route-map)#exit

Setting the port configuration on the ISP-A. In this case, it produced VLAN-s interface with the assignment of IP-addresses, and set one of the ports in trunk mode.

  1. console(config)#vlan 101
  2. console(config-vlan101)#exit
  3. console(config)#interface vlan 101
  4. console(config-if-vlan101)#ip address 172.16.7.6 255.255.255.0
  5. console(config-if-vlan101)#interface Te1/0/1
  6. console(config-if-Te1/0/1)#switchport trunk allowed vlan all
  7. console(config-if-Te1/0/1)#switchport mode trunk
  8. console(config-if-Te1/0/1)#exit

Setting the port configuration on the ISP-B. In this case, it produced VLAN-s interface with the assignment of IP-addresses, and set one of the ports in trunk mode.

  1. console(config)#vlan 102
  2. console(config-vlan102)#exit
  3. console(config)#interface vlan 102
  4. console(config-if-vlan102)#ip address 192.168.6.5 255.255.255.0
  5. console(config-if-vlan102)#interface Te1/0/2
  6. console(config-if-Te1/0/2)#switchport trunk allowed vlan all
  7. console(config-if-Te1/0/2)#switchport mode trunk
  8. console(config-if-Te1/0/2)#exit

Configuring VLAN indicating the Route-Map.

  1. console(config)#vlan 111
  2. console(config-vlan111)#exit
  3. console(config)#interface vlan 111
  4. console(config-if-vlan111)#ip address 10.1.5.1 255.255.0.0
  5. console(config-if-vlan111)#ip policy route-map equal-access
  6. console(config-if-vlan111)# exit
  7. /* Configuring VLAN ports on the group access mode */
  8. console(config)#interface range gigabitethernet all
  9. console(config-if)#switchport access vlan 111
  10. console(config-if)#switchport mode access

Checking your results

  1. console#show ip access-lists
  2. console#show route-map
  3. console#show ip policy
  4. console#show vlan

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