3

According to this link, Planning and Design, an encrypted IPsec voice data packet contains: IPsec header, ESP header, GRE IP header, IP header, UDP header, RTP header.

Which header is added in Layer-2?

How many headers are added to the voice data payload in total when we use an IPsec VPN, e.g. is the information in this link correct?

2
2

That is official documentation from Cisco, so I don't doubt that. As far as L2 header is concerned it is added depending on the L2 technology(Ethernet, Frame Relay etc.) The document is not taking L2 header in consideration, but when you will calculate packet size for VoIP Packet, it will be taken into consideration.

1

Layers are independent of each other, and layer-2 headers are very simple and are not usually concerned with anything above layer-2 (PPP is an exception since it has a bridge to layer-3) since the point of layer-2 is to switch frames as quickly as possible. Some switches can use COS on trunk links, and trunks add 802.1Q tags into the existing frame header, including a three-bit COS value, which can be used for prioritizing frames, and this may, or may not, be employed with VoIP (depending on the switches or layer-2 protocol involved), but it really doesn't add another header.

Your second question depends on several things, not the least of which is that there is no single VoIP protocol, and some VoIP protocols are proprietary. Your link only gives the example for one VoIP encoding method (G.729). It also explains that you could have GRE, or not, and, since VoIP is normally unicast traffic, GRE is probably unnecessary. You don't provide enough information to accurately answer your second question, and, if you are using a proprietary VoIP protocol, it may not be able to be answered with certainty.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy