Các ví dụ của sự phân phối dịch vụ từ đầu cuối đến đầu cuố

Một phần của tài liệu Giải pháp CUNG Cấp chất lượng dịch vụ trên INTERNET (Trang 30 - 32)

Ví dụ 1: sự phân phối dịch vụ bảo đảm với một sự thoả thuận lớp dịch vụ-SLA tĩnh

Trong hình. 3-2, host S trong mạng khách hàng #1 (CN1) muốn sử dụng dịch vụ bảo đảm để gửi dữ liệu đến host D trong mạng khách hàng #2 (CN2). CN1 có một sự thoả thuận lớp dịch vụ-SLA tĩnh với ISP1. Quá trình phân phối dịch vụ được miêu tả như dưới đây. Một số lượng bên trong mạch vòng là các số cho từng bước trong quá trình phân phối dịch vụ.

Hình 3-2 Quá trình phân phối của dịch vụ bảo đảm với sự thoả thuận lớp dịch vụ- SLA tĩnh

1. Host S gửi các gói tới bộ định tuyến thoát ra nội hạt CPE1. Một cách tuỳ chọn, các DSCP của các gói có thể được thiết lập bởi Host S.

2. CPE1 phân lớp các gói dựa trên các địa chỉ nguồn và các địa chỉ đích, các số cổng nguồn và đích, giao thức ID và có thể giao diện đầu vào. Sau đó CPE1 kiểm tra các phạm vi chính sách để quyết định có nên thiết lập lại các DSCP của các gói trong dòng đó tới giá trị mới không. Nếu việc cấp dịch vụ không cần thiết, sau đó sự phân lớp và quá trình giải quyết có thể được bỏ qua, và PE1 sẽ cấp cho dịch vụ bảo đảm luồng lưu lượng CN1 đầu tiên của máy chủ đầu tiên cơ bản trong bước 3. CPE1 sau đó đưa các gói đến bộ định tuyến ISP PE1.

3. PE1 thực hiện sự phân lớp MF dựa trên giao diện đầu vào, các DSCP, và có thể các lĩnh vực khác của các gói. PE1 sau đó giải quyết dòng lưu lượng và đánh dấu lại các gói nếu cần thiết. Các gói trong dạng thức sẽ có DSCP 101000, các gói ngoài dạng thức 1. Host S sends its packets to the local exit router CPE1. Optionally, the DSCPs of the packets can be set by Host S.

2. CPE1 classifies the packets based on source and destination IP addresses, source and destination port numbers, protocol ID and possibly the incoming interface. CPE1 then checks domain policies to decide whether to reset the DSCPs of the packets in that stream to a new value. If service allocation is not needed, then these classification and policing processes can be skipped, and PE1 will allocate the assured service to CN1’s traffic on a first come first serve basis in Step 3. CPE1 then forwards the packets to ISP edge router PE1.

3. PE1 performs a MF classification based on the incoming interface, DSCPs, and possibly other fields of the packets. PE1 then polices the traffic stream and re-marks the packets if necessary. In-profile packets will have DSCP 101000, out-of-profile packets will have DSCP 100000. RIO is applied to the packets. If the packets are not dropped by RIO, they are put into the AQ and scheduled accordingly. PE1 also does the metering/accounting so that billing can be done later.

4. All routers between PE1 (excluded) and PE2 (included) perform BA classifications, apply RIO, and perform WFQ on the queues.

5. CPE2 forwards the packets to host D. Note that:

 If there are multiple ISPs between CN1 and CN2, then Step 4 will be repeated multiple times, once per ISP.

 If CN1 does not have a SLA with ISP1, it can only send traffic as best effort. No matter what DSCPs are set inside CN1, they will be reset by PE1.

Example 2: Delivery of premium service with a dynamic SLA

In Fig. 3-3, host S in customer network #1 (CN1) wants to use premium service to send

Figure 3-3 The delivery process of premium service with a dynamic SLA

data to host D in customer network #2 (CN2). CN1 has a dynamic SLA with ISP1.

Phase 1: signaling

1. Either the administrator in CN1 communicates with the administrator in ISP1 to request for the service, or CPE1 (acting as the resource controller in CN1) sends a signaling message to PE1 to request for the service. Theoretically, the request can be granted or denied. If the request is granted, some policy rules will be added to CPE1 specifying which applications are allowed to use premium service. Some rules will also be added to PE1 so that it knows how to police the premium traffic from CPE1. If the request is denied, the whole service process stops. In reality, a dynamic request for premium service may never be denied because this is an important profit source for ISPs. The main purpose of signaling is to notify the ISP to configure its edge router.

Note that:

 It is assumed that static SLAs will always be used between ISPs. Therefore, even if there are multiple ISPs between CN1 and CN2, there is no need for the signaling process to proceed end to end.

 If the SLA between CN1 and ISP1 is static, then the signaling process is not needed.

Phase 2: Data Transmission:

2. Host S sends its packets to the local exit router CPE1. Optionally, the DSCPs of the packets can be set by Host S.

3. CPE1 classifies the packets based on source and destination IP addresses, source and destination port numbers, protocol ID and possibly the incoming interface.

CPE1 then checks domain policies to decide whether to reset the DSCPs of the packets in that stream to new values. CPE1 then forwards the packets to ISP edge router PE1.

4. PE1 performs a MF classification based on the incoming interface, DSCPs, and possibly other fields of the packets, and polices the traffic. If the premium traffic is non-conformant

to the profile, either the stream is shaped, or excess premium packets are dropped, or excess premium packets are sent and accounted for extra charge. After that, all premium packets will have their DSCPs set to 111000, be put into the PQ, and be scheduled accordingly. PE1 will also do the metering/accounting so that the information can be used for billing later.

5. All routers between PE1 (excluded) and PE2 (included) perform BA classifications and WFQ on the queues.

6. PE2 forwards the packets to CPE2. 7. CPE2 forwards the packets to host D.

Một phần của tài liệu Giải pháp CUNG Cấp chất lượng dịch vụ trên INTERNET (Trang 30 - 32)