|
Previous
|
Content |
Next
|
|
|
2.3.1- Edge1 |
|
 |
|
| First example implemented by DS Linux Implementation is called
Edge1. It's really a very simple example.
The goal is to implement an edge router as a marker device. Packets
are expected to come from network 10.2.0.0/24; packets from host
10.2.0.24 should be marked as DS value 0xb8 (EF class),
packets from host 10.2.0.3 should be marked as DS value 0x28
(AF11 class) and rest of packets from network 10.2.0.0/24
should be marked as DS value 0x48 (AF21 class). |
| Solution using Cisco is very simple. It's just a matter to create
three traffic classes to identify the two hosts and the network and then create
a traffic policy to mark the packets. Cisco solution has more
command lines than Linux but much more intuitive; compare with
Linux solution for having a feeling. |
|
|
|
|
First using access-list commands we identify the two hosts and the network; then
we create three traffic classes, one for each access-list
using class-map commands. Next we create a traffic policy
using policy-map command; then we add each traffic class to
the traffic policy telling the router to set the dscp using
the set ip dscp command depending on each class. Finally we attach
the traffic policy to the Serial1 interface for input.
Ready.. any packet coming from this network will be marked accordingly. |
| Next step will be Edge2. Let's go. |
|
|
|
|
|
Previous
|
Content |
Next
|