cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
745
Views
0
Helpful
1
Replies

PPP Frame Format quiry

laurence_evans
Level 1
Level 1

I am designing a piece of network hardware as a project and I have found details regarding the PPP frame format that state that the beginning and end of an entire PPP frame is marked by the flag "01111110". i have two questions:

a) Does this mean that the same byte sequence of "01111110" will not appear anywhere else in the packet, including in the data field ????

b) On Cisco's web site i have found details that say the second flag comes after the data field with a two byte FCS that comes after it, but I thought that the Final flag was the last byte of the PPP Frame.

Thanks in Advance for any help

1 Reply 1

svermill
Level 4
Level 4

The PPP frame is based on HDLC. The RFC is probably your best bet for information:

http://www.faqs.org/rfcs/rfc1549.html

In short, though, the flag sequence must not show up in the data field. Bit stuffing is used to insure this. As for the flag, only one is required between two frames. So the "final" flag (after the FCS) is as much the start of the next frame as it is the end of the last one.