From: Ajit Das (ajidas@xxxxxxxxx)
Date: Sun Nov 18 2001 - 17:27:14 GMT-3
Thanks to parry and tom for your valuable input and clarification.
Thanks again
Ajit
tom cheung wrote:
>
> Parry's explanation is correct. Purpose of bit stuffing is a way for hosts
> to distinguish the flag from data by inserting a zero for every five
> consecutive 1s encountered in the data stream.
>
> Tom
>
> >From: "Chua, Parry" <Parry.Chua@compaq.com>
> >Reply-To: "Chua, Parry" <Parry.Chua@compaq.com>
> >To: "Ajit Das" <ajidas@cisco.com>, <ccielab@groupstudy.com>
> >Subject: RE: bit stuffing
> >Date: Sun, 18 Nov 2001 17:26:58 +0800
> >
> >Hi,
> >
> >Let me try ...
> >01111110(start)011111010000101111101.............01111110(end)
> >We all like byte as it is 8 bite. In bite oriental protocol, you see a
> >stream of 010.....101
> >and there must be a way to determine the start and end, flag is use for
> >this purpose, flag
> >consists of 0111110, ie start with "0" follow by six "1", we also send
> >bonary data it may
> >consists of any pattern, inorder to tell the communication device that
> >it is a data and not
> >a flag, bit stuffing is use, for any continues five "1", we insert a
> >"0", so it will not
> >mis interpret as flag. The receiving device will remove the "0" after
> >receiving contimue
> >of five "1", but if the six bit is a "1", then it is a flag and not
> >data.
> >
> >Hope my explaination is correct.
> >
> >Regards
> >Parry
> >-----Original Message-----
> >From: Ajit Das [mailto:ajidas@cisco.com]
> >Sent: Sunday, November 18, 2001 2:45 PM
> >To: ccielab@groupstudy.com
> >Subject: bit stuffing
> >
> >
> >Can someone explain me how bit stuffing works on hdlc or ppp
> >encapsulated interface.
> >
> >Thanks in advance.
> >Ajit
This archive was generated by hypermail 2.1.4 : Fri Jun 21 2002 - 06:45:17 GMT-3