LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-04-2005, 09:31 AM   #1
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
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?
 
Old 12-05-2005, 06:12 PM   #2
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
Hi,
PPP as (almost) every single home user...
 
Old 12-05-2005, 06:24 PM   #3
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Original Poster
Rep: Reputation: 165Reputation: 165
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.)
 
Old 12-07-2005, 09:23 AM   #4
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
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
 
Old 12-07-2005, 09:52 AM   #5
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Original Poster
Rep: Reputation: 165Reputation: 165
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?
 
Old 12-07-2005, 10:36 AM   #6
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Original Poster
Rep: Reputation: 165Reputation: 165
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DVD Drives - Dual Layer or double layer? Groundhog1248 Linux - Hardware 2 09-23-2009 09:30 PM
Connecting on Layer 2, not Layer 3!!!! mattp Linux - Wireless Networking 3 11-29-2005 10:55 AM
Dual Layer ISO onto 2 Single Layer Medias iammike SUSE / openSUSE 3 05-11-2005 05:15 PM
send eth pkt directly to datalink(PF_PACKET) milod Programming 6 10-29-2003 11:48 AM
send eth pkt directly to datalink(PF_PACKET) milod Linux - Networking 0 03-05-2003 09:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:54 AM.

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