PPP on Modem - Sync or Async mode ?

PPP on Modem - Sync or Async mode ?

Post by Greg Andre » Sun, 28 Nov 1999 04:00:00




>According to my understanding, PPP protocol has a frame of size approx
>200 octets. But when we use PPP on modem, is the modem working in
>asynchronous mode ? (Sun's version is called "Async PPP" ! )

Yes, you are communicating through the computer's RS232 port in
asynchronous mode.

Quote:

>                                                        If so, does
>it mean that each octet in the PPP frame is further encapsulated in
>those start/stop bits ?

Yes, you are using 10 bits to transmit each octet.  One start bit,
8 data (octet) bits, and one stop bit.

Quote:

>                      Can you use the synchronous mode of the modem
>such as HDLC when using PPP ?

Not with the Sun asppp.  The reason that software package is called
"Async PPP" is because it only supports asynchronous operation of
the serial port.  Sun's Solstice PPP software can support synchronous
operation of the serial port as well as asynchronous.

However, other factors will probably prevent you from using synchronous
mode, even if you use the Solstice PPP software.  Your modem must support
synchronous operation (many inexpensive ones do not), and the site that
you're talking to must also support synchornous operation.

Also, since there is no standard defined (as far as I know) that will
let a modem perform data compression in synchronous mode, your throughput
would probably be limited to the highest speed that the modem-to-modem
rate that matches the modem-to-computer rate:  19200 bps.  Because of
this, you can get far better performance by using asynchronous mode,
despite the extra framing bits on each octet.

Quote:

>Can you use PPP on ethernet (is that considered a tunnelling ) ?

Yes, you can, but what would be the use?  If you have a network connection
that supports TCP/IP directly, why add the extra overhead of PPP?

  -Greg
--

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

 
 
 

PPP on Modem - Sync or Async mode ?

Post by Andrew Gabri » Mon, 29 Nov 1999 04:00:00





>>According to my understanding, PPP protocol has a frame of size approx
>>200 octets. But when we use PPP on modem, is the modem working in
>>asynchronous mode ? (Sun's version is called "Async PPP" ! )

>Yes, you are communicating through the computer's RS232 port in
>asynchronous mode.

>>                                                        If so, does
>>it mean that each octet in the PPP frame is further encapsulated in
>>those start/stop bits ?

>Yes, you are using 10 bits to transmit each octet.  One start bit,
>8 data (octet) bits, and one stop bit.

You should not worry about this if you are using any modern async
modems, as the data compression and error correcting protocols
actually squash out the start and stop bits between the modems,
and construct frames of many tens to hundreds of octets and send
these synchronously.

The start and stop bits will only be present between the serial
port and the modem. This normally runs at a significantly higher
bit rate than the modem-to-modem effective bit rate, so the extra
overhead of start and stop bits there don't really matter.

--
Andrew Gabriel
Consultant Software Engineer

 
 
 

1. PPP on Modem - Sync or Async mode ?

Not true at all. See RFC 1661 & 1662.

If you're talking about regular modems, yes, it's asynchronous. And the
bundled asppp in Solaris will only do asynchronous PPP.

That depends on the settings of the serial port / modem. PPP does not
care about start/stop/parity bits.

Yes (but not with asppp). Solstice PPP (and the free pppd) supports
synchronous mode of operation on Sparc-based serial ports.

Yes. See RFC 2516. It's a form of tunneling (although some folks
out there disagree with this statement).

for free pppd, look at ftp://cs.anu.edu.au/pub/software/ppp

Adi

2. how much space left on my partitions?

3. How to determine maxchunksize and sync|async mode?

4. Do DAT Drives work with Linux?

5. Sync to Async PPP - ISDN

6. 486 caches. beware, DTK does not cache properly

7. Zyxel 2864I with async PPP to sync HDLC under linux

8. 3 Button PS/2 MouseSystems or Microsoft IntelliMouse

9. sync comm. card with sync-ppp driver?

10. Serial Ports: Sync or Async

11. SPARC10 ISDN, Sync or Async?

12. ext2fs sync vs. async speed and safety

13. z85230 sync & async desperately required!