LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-02-2006, 11:47 AM   #1
kavitaB
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
Questions related to ppp0 interface and Ethereal and ping tool


Hi thr,

I have few doubts on ppp0 interface and Ethereal tool which are listed as below.

1. When we connect data card or phone as a modem to our laptop then where does ppp0 interface gets established?
In my reading I found that ppp0 interface is established between computer and data card.

2. Once the ppp0 interface gets established and if we run ethereal tool on the laptop which packet it logs. The packet that are sent/receive from/to kernel to data card or the packet that are sent/receive from/to data card or traffic sent/receive between data card and socket?

3. In Fedora core 3 if I send icmp packet of size greater than 5780 bytes on ppp0 interface I get message "ping: sendmsg: No buffer space available". What does this error means? Where buffer gets full? Whether it is kernel buffer, data card buffer or socket buffer of sender.
Who generates this error ping, kernel, socket or data card.
But in wireline n/w I am able to send packet of size 65535 bytes. Then who genereates above message in case of ppp0 interface?

4. What happens exactly when ping sends a packet of any size? Who creates packet of specified size? whether it ask kernel to create packet of specified size and then kernel write into socket or ping program creates a packet.

5. In my experiments on ppp0 interface for higher packet size say 5780 bytes where 100 packets are sent ping statistics show 100 packets sent on sender machine. But Ethereal log shows less than 100 packets are sent. Why Ethereal did not log all 100 request packets?

This is what I think. Please tell me if I am correct or wrong.
Etheral listens traffic between socket and data card. Ping write packets to socket. According to ping ping sends all 100 packet but may be buufer in the socket gets full and it is not able to send all 100 packets and it drops the packet and hence Etheral did not log all 100 packets. When the buffer in socket gets full it sends "ping: sendmsg No buffer space available message"

But then the question arises how come in wireline n/w socket is able to send packet of size 65000 bytes.

6. Does socket has its own buffer size? If yes then What is the default socket buffer size?

If anyone has answer to any of the above questions please reply me.

Thanks in advance
Regards,
Kavita
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Couldn't Find Interface Ppp0: No Such Device orc Linux - Networking 10 09-12-2009 08:56 AM
ppp0 interface setup zsjoska Linux - Networking 1 11-04-2004 01:01 PM
interface PPP0 walker#1 Linux - Hardware 4 08-28-2004 07:39 AM
No interface ppp0 exists Likosin Linux - Networking 3 08-09-2004 02:49 AM
for a year now... interface ppp0: failed Lee_Beck Linux - Networking 7 03-31-2003 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration