Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-04-2005, 09:31 AM
|
#1
|
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625
Rep: 
|
datalink layer question
At home, I access the internet via a cable modem connection. What is the datalink layer protocol (OSI layer 2) used between my home and the ISP's facilities?
|
|
|
12-05-2005, 06:12 PM
|
#2
|
Member
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384
Rep:
|
Hi,
PPP as (almost) every single home user...
|
|
|
12-05-2005, 06:24 PM
|
#3
|
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625
Original Poster
Rep: 
|
Thanks for that, fr_laz. What's confusing to me is my setup, being typical, looks like this:
Code:
|------------|
My Lan ---------| Cab. Modem |-------------
(Cat 5) |------------| (Coax Cable)
So, is it the case that a cable modem accepts Ethernet frames from my lan and
outputs PPP frames? (I thought a cable modem was a layer 1 device.)
|
|
|
12-07-2005, 09:23 AM
|
#4
|
Member
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384
Rep:
|
i think you're using pppoe to "talk" with your modem, which means that your linux box is sending ppp frames encapsultaed in ethernet (ppp over ethernet), so the ethernet card of your modem removes the ethernet encapsulation and the ppp frame is sent to your isp...
you can check if your using pppoe in the config files in your /etc/ppp/ dsirectory
|
|
|
12-07-2005, 09:52 AM
|
#5
|
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625
Original Poster
Rep: 
|
The Cat 5 cable connects my cable modem with my LAN router. It's just a cheap Netgear router. I suppose you're saying that the router automatically outputs PPPoE frames.
Since I can either connect a computer to a router, or a router to another router, my router must be able to handle incoming frames which are either Ethernet or PPPoE.
Am I correct?
|
|
|
12-07-2005, 10:36 AM
|
#6
|
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625
Original Poster
Rep: 
|
After reading this, I see that a cable modem is more than just a layer 1 device. As such, it would be make more sense for the modem to accomodate the LAN's datalink layer than the other way around. So, I guess my router is outputting ethernet frames which are converted to PPP by the cable modem.
|
|
|
All times are GMT -5. The time now is 05:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|