Analyzing actual Ethernet encoding | Networking tutorial (4 of 13)

Поделиться
HTML-код
  • Опубликовано: 24 янв 2025

Комментарии • 284

  • @nbme-answers
    @nbme-answers 5 лет назад +281

    I'm telling you the future of an education is on RUclips. All the best instructors, all the best explanations. Knowledge being liberated before our very eyes! Thanks Ben!

    • @nickharrison3748
      @nickharrison3748 4 года назад +10

      Yes..but still Internet is like Encyclopedia. Its a Summary of Knowledge , not knowledge itself. You still have to goto College and Universities to get mentorship of good professors. Yes Ben will be one of them.

    • @nbme-answers
      @nbme-answers 4 года назад +8

      @@nickharrison3748 Any thing that can be taught can be taught on the internet.
      The internet is the encoding and distribution of information, and information is knowledge.
      Sure, you have to learn “how to apply it” but that itself is instruction and discovery, all of which is aided by the encoding of information.

    • @andrisstuks595
      @andrisstuks595 4 года назад +3

      @@nbme-answers As long as you don't have gaps in knowledge up to the point in the topic what you are interested in - your statement is right, but as an example, you will be unable to calculate derivatives of function if you don't know basic math. So you still have to go to College or University, and when you do so - choose the best one and focus on learning, otherwise, you will become almost specialist of almost any topic without proper knowledge of any of them

    • @nbme-answers
      @nbme-answers 4 года назад +6

      @@andrisstuks595 There is no such thing as not having any gaps in knowledge.
      There are always gaps. Learning is the process of teaching yourself that gaps exist.
      As for learning calculus, start here: ruclips.net/video/AuX7nPBqDts/видео.html

    • @tydon19
      @tydon19 3 года назад

      @@nbme-answers I think he meant for "gaps" is at least have an introductory knowledge (prerequisite) about the topic or field you are interested in specially in this type of field or you will get lost

  • @ScreenArtUK
    @ScreenArtUK 3 года назад +52

    20 years working in IT and never actually visualised this so well .. thanks

  • @worstusername22
    @worstusername22 9 лет назад +40

    Just randomly searched for this, this was a great way to finally see the "physical layer". Great video, thanks. I need to see the whole series from the beginning now!

  • @MrTrumanPurnell
    @MrTrumanPurnell 8 лет назад +136

    Ben Eater you are THE man

  • @typedeaf
    @typedeaf 2 года назад +2

    A year ago when I started watching your videos, I skipped these because I thought it was some Networking turorial... like ...Network+. I thought that was odd, and since I already know that kind of networking, I ignored it. Now, I have built the 6502 computer with a PS2 keyboard, a BB with CRC encoding using logic ICs to xfer serial data to two Nanos, a simple adder, and other fun things from your channel. After doing the PS2, USB and CRC tutorials, I decided to watch these. So glad I did. This stuff is great!

  • @miyukohai1470
    @miyukohai1470 5 лет назад +7

    This is awesome, this is something anyone from an electronics background needs to see if they are interested in networking

  • @rmanjit
    @rmanjit 9 лет назад +46

    Excellent way to represent physical layer data transmission.

  • @johnmcgiv1
    @johnmcgiv1 4 года назад +1

    Just brilliant thank you Ben I am 70yrs and understood this short explanation first time again brilliant.

  • @manzoor4687
    @manzoor4687 5 лет назад +2

    Your voice is really polite and easy to understand. i am impressed, keep up the good work.

  • @eloyex
    @eloyex 7 лет назад +5

    excellent man !!
    million years working on this and first time go to physical layer and see the signals ...
    incredable we are SO result-driven animales !! this make my day ..
    very happy to see details at board level (almost)

  • @MalamIbnMalam
    @MalamIbnMalam 5 лет назад +20

    So fricken nice! I wish I was taught networking that way lol. This is definitely Networking from an EE Perspective going down another layer of abstraction that you never see when studying Computer Networking in CS.

  • @misaalanshori
    @misaalanshori 5 лет назад +302

    "Connecting my 8-bit breadboard computer to the internet"

    • @Weesy
      @Weesy 5 лет назад +20

      omg lmao. My be possible, this dude is insane

    • @pcred567
      @pcred567 5 лет назад +5

      @@nickadams2361 giving a shit in this world is insane lmao. for real, though, this guy's videos are very insightful.

    • @franchufranchu119
      @franchufranchu119 4 года назад +3

      I think the clock frequency is too low, but there might be a protocol for slower computers

    • @misaalanshori
      @misaalanshori 4 года назад +7

      @@franchufranchu119 *_overclock it_*

    • @ethananthony94
      @ethananthony94 4 года назад

      @M Isa haha

  • @sergeipavlov5971
    @sergeipavlov5971 Год назад

    Wow, thank you so much...spent a month trying to figure how to build a DIY wifi controlled power supply by implementing an old WiFi router and coding a simple browser interface for my phone - well I got stuck at trying to figure out how to program a circuit for variable power outputs I need via the WiFi router connected...or even better trying to figure out how to adapt router as a output settings memory device for the power supply circuit modifiable over the network. So I was trying to build an oscilloscope probe circuit, for the internet signal, to try to understand how to read and implement the internet signal for the live updates back and forth - I wasn't hoping to find a video that actually tells me precisely what to look for - wow...10 years of coding didn't thought me this - suddenly I understood how data is encoded into the electrical signal and thanks to your video I actually now understand how computing works wtf - brilliant!!

  • @stupossibleify
    @stupossibleify 5 лет назад +2

    Every video you produce grabs my attention!

  • @cmblcdoe6669
    @cmblcdoe6669 3 года назад +4

    I have been tempted to get my oscilloscope hooked up to measure Ethernet speeds for some time. I'm glad you did it for me and I can just watch it here. My initial assumption was that when the transmitting end of the wire went high, the entire wire would be high before it changed to low, meaning that data didn't really travel down the wire, but more like the wire as a whole would reflect the current instantaneous state of the signal on it. But your scope shows it changes from high to low in only 50 nS. Assuming electricity (signal) traveling at .8c that would mean the signal would only travel 40 ft in 50 nanoSeconds. That means that a whole nibble (4-bits) can be on a 100 meter length of cable at once. That blows my mind! And that's only 10-baseT or 10mb speed. Imagine gigabit speeds and how many bytes are on the cable at once.

    • @noweare1
      @noweare1 Год назад

      Do it yourself. Its not the same as watching a youtube video. RUclips videos are quickly forgotten.

  • @Locane256
    @Locane256 4 года назад +3

    That was excellent, I love your videos. Thank you for making them, but this one especially. I feel like people really get used to understand computers and software in an abstract way and forget that they're made up of really complicated electrical signals at the heart of it all.

  • @Dygear
    @Dygear Год назад

    This is the best explanation of Manchester Encoding I’ve ever seen.

  • @andrewholloway-breward213
    @andrewholloway-breward213 3 года назад +5

    Ben this was amazing, thank you for demystifying this aspect of networking!

  • @train4905
    @train4905 4 года назад +1

    Butifull demo sir.
    I'm an electrician by trade.
    And I love networking.this is superb.keep up the great work sir.

  • @rohithjanardhan4970
    @rohithjanardhan4970 4 года назад +1

    I love these videos so much, I'm not even skipping ads

  • @Taha-d2f
    @Taha-d2f 4 месяца назад

    dude I was looking everywhere to find a video like this thank you so much ❤

  • @gudimetlakowshik3617
    @gudimetlakowshik3617 3 года назад +4

    BEN....you realize you're giving out all this info for free right? ....excellent content man....I work on ethernet controllers(as a profession) and I never knew this much knowledge goes into these and behind their working.

  • @Ghost572
    @Ghost572 7 лет назад +4

    This is really good. It makes for a good pratice example aswell for decode the signal. Really silly that most texts books i've read never really bring in some real life experiment to the theory, especially when you can do something really basic to make it more relative to a learner.

  • @jonamism
    @jonamism 4 года назад +1

    I just loved this video! Super awesome..hats off to you brother. Now i'll be going back and seeing part 3 of 13 to understand Manchester coding

  • @amyjie2051
    @amyjie2051 5 лет назад +1

    This series is truly amazing. I watched it forever ago and couldn't find it again and was afraid it was lost forever (to me). So glad I found it again. So many tutorials deal with crufty abstractions and networking never made sense until you told me what the wires/bits/frames/packets were actually doing. Many thanks!

  • @Thulgon
    @Thulgon 7 лет назад

    Your ability to read the decimal numbers after seeing their binary version for a split second left me speechless. I, for one, can't even add 22 + 41 (in decimal) without using my fingers like a first-grader.

  • @prashantb421
    @prashantb421 5 лет назад +4

    I usually don't comment much, but agree with all comments here. Best video series on networking. Awesome.

  • @goofypettiger
    @goofypettiger 7 лет назад +1

    Excellent video. Just what I had been searching for!

  • @arnonymous7211
    @arnonymous7211 5 лет назад +5

    you sir, are amazing at explaining things. appreciate all your work!

  • @SJayanth
    @SJayanth 3 года назад

    Thank you, never thought I could see this, at last, I'm satisfied and willing to learn more about these.

  • @zmarssojourner7435
    @zmarssojourner7435 5 лет назад +9

    This guy does crazy/dig-in experiments that I always wanted to do in college!

  • @ozzpimp
    @ozzpimp 6 лет назад +5

    This was so incredibly insightful. Thank you.

  • @caseylocke4474
    @caseylocke4474 4 года назад +9

    7:50 - "...it reverses the order of the bits." Would you please explain *why* the order of the bits are reversed? Thank you for the great video!

    • @shekharnandkoemarsing158
      @shekharnandkoemarsing158 3 года назад +2

      It's just the way he hooked up the wires to the oscilloscope. Think about it, if that is the side of the sender, then what does the receiver side get first? For example, let's say you want to send me a message in order, let's say the message is "hello". If you send that to me one letter at a time from your side you will send: h e l l o, but at my side what i get first is: o l l e h. I have to first flip the message, or flip the bits as he said, to get the correct message. The graph you see in the video is basically the "o l l e h" from my example, due to the way he hooked up the wiring. Were he to reverse the wires, he would get the correct message right away, just depends from what way you're looking.

    • @aristle_
      @aristle_ 2 года назад +1

      @@shekharnandkoemarsing158 i think you're confused. packets aren't sent all at once. when i send the message "hello," i begin by sending "h," and you *instantly* receive this (for all intents and purposes), *then* i send "e," which you instantly receive. it's not like feeding a sheet of paper with text on it through a slot where the letters are revealed one at a time in reverse order, it's more like just talking to someone where each sound is continuously received by the other party in the correct order
      sorry if you figured this out already i'm mostly trying to make sure nobody else gets confused reading this
      also sorry for being so verbose im high rn oops

  • @lotethistlethwaite207
    @lotethistlethwaite207 7 лет назад +1

    Great vids man. You're excellent at breaking things down.

  • @panosalex6242
    @panosalex6242 5 лет назад

    You are incredible. You just create magic and electronics in practice

  • @jdaniele
    @jdaniele 6 месяцев назад

    As great as simply! You ROCK! Thanks for sharing. 🙏

  • @Rajsanab
    @Rajsanab 4 года назад

    Nicely explained, thanks for your videos, that clears all my doubts related to data transmission.

  • @EugeneWasSeen
    @EugeneWasSeen 9 лет назад +46

    How do you know where one byte ends and another starts on the oscilloscope?

    • @EugeneWasSeen
      @EugeneWasSeen 9 лет назад +30

      EugeneWasSeen haha nevermind, that is answered in the next video.

    • @trashpanda9075
      @trashpanda9075 5 лет назад +2

      @@EugeneWasSeen It was also answered in this video. 6:50

    • @Euroliite
      @Euroliite 5 лет назад +16

      @@trashpanda9075 I rewatched that part and the question was not addressed there.

    • @silviomhula5837
      @silviomhula5837 5 лет назад +2

      This is just amazing 😉 congratulations and keep ur great work

    • @hunterphillips5142
      @hunterphillips5142 5 лет назад +1

      @@Euroliite 4:50

  • @rhinners3407
    @rhinners3407 4 года назад

    Super video! I applauded for $2.00 👏

  • @767Steel
    @767Steel 8 лет назад +1

    Man, you're awesome. Thanks a lot for these videos.

  • @vimalathithand917
    @vimalathithand917 10 месяцев назад

    Holy shittt ! Now I understand why we need manchester coding ! Thanks a lott!

  • @aswinthraj9021
    @aswinthraj9021 8 лет назад +17

    Hey ! nice video
    But how do you know that the bit started there.
    and where are all those sign bit parity bit stop bit and stuff like that?

  • @MillennialMonk
    @MillennialMonk 6 лет назад +1

    This is what I've been looking for. Thank you.

  • @XxMsrSzprzxX
    @XxMsrSzprzxX 5 лет назад

    Brilliant video. No idea wtf I’m doing watching it at 4AM though.

  • @CieMaKat
    @CieMaKat 5 лет назад +2

    It's worth mentioning that the letter decoding works only because he knows (guessed) which bit is the first one of a byte.
    If he skip three first bits and start from there he'd get ")h" which could be a valid message.

  • @nikolaikalashnikov4253
    @nikolaikalashnikov4253 7 лет назад +2

    3:38 **Now in the horizontal direction, this is telling us that each division represents 100 nano-seconds**
    7:38 **We've decoded two bytes**
    [ 1101 0010 ] [ 1000 0010 ]
    7:42 **And one thing that sorta I guess a little different about ethernet is the way is puts these bits onto the wire in this format, it reverses the order of the bits: The 128th place is sent last, and ones-place is sent first.**
    So the time-axis must be increasing from left to right ?
    Sorry, just trying to get this straight in my head. I understand now.

    • @stargazer7644
      @stargazer7644 5 лет назад +1

      Yes the sweep goes from left to right

  • @titoink
    @titoink 6 лет назад +3

    this is just marvelous !!! great! you sir, have the gift of teaching.Thank you very mucho!

  • @wingsonthebus
    @wingsonthebus 3 года назад +3

    This is *gorgeous*. I have that awe-for-science feeling.
    The only thing I don’t understand is, how did you know where to start reading a byte? I’m guessing it’s part of the contrivance of the situation but I’m still curious how the situation was contrived.
    edit: haha it was the next video!

    • @noweare1
      @noweare1 Год назад

      Yes, that could of been header information, data, etc.... Unless he captures a full packet and decodes it we will never know where KA came from.

  • @Bruno-yi4nb
    @Bruno-yi4nb 2 года назад +1

    Why does it reverse the order of the bits? 7:42 - 8:09

  • @galahad38
    @galahad38 3 года назад

    7:45 Why is the bit order reversed? Is it convention or is there a reason?

  • @sebascm7278
    @sebascm7278 3 года назад

    In 3:31 you say that the voltage is fluctuating between 1v and -1v. Is it accurate to say that the Direct Current that computers use is turned into Alternating Current to send data?

  • @singhyuvraj122
    @singhyuvraj122 5 лет назад

    Thank you so much. You should be given a NOBLE prize.

  • @showvik012
    @showvik012 4 года назад

    Dude you are a prince among men

  • @anastasiakoni6089
    @anastasiakoni6089 2 года назад +1

    Great video. In this sequence of voltages alterations how do we know where is the start and the end of the byte?

    • @anastasiakoni6089
      @anastasiakoni6089 2 года назад +1

      Actually answered in the next video. Than you very much.

  • @noahfahem9450
    @noahfahem9450 3 месяца назад

    exactly what am looking for :) Thank You.

  • @silviomhula5837
    @silviomhula5837 5 лет назад +1

    I’m in awe of what I just watched

  • @mileshollis6258
    @mileshollis6258 6 лет назад

    Oh my, this is so beyond wonderful!

  • @chessbd
    @chessbd 2 года назад

    It can't be better any more!!!!!

  • @ВоронцовАркадий
    @ВоронцовАркадий 4 года назад +1

    Thank you very much, great explanation!

  • @42escapehatch
    @42escapehatch 2 года назад +2

    How did you find K and A in the oscillometer!?

  • @JorgeWeerts
    @JorgeWeerts 6 лет назад

    Excellent and clear explanation, very didactic.

  • @spambot7110
    @spambot7110 5 лет назад +3

    i can see how you could recover the clock frequency and most of the phase from any point in the signal, but i see two phases, 180 degrees apart, that are equally valid. one of those phases is invalidated when the bit values transition between 1 and 0, and it holds for half a cycle. but what if there was just a continuous stream of the same bit? how could it tell if it was a continuous stream of 1s or 0s?

    • @spambot7110
      @spambot7110 5 лет назад +1

      also curious about byte boundaries! i would assume the line code is just responsible for transmitting a string of *bits*, and there's a higher-level coding scheme that aligns the bytes. but then you decoded the line code directly into bytes you sent down the wire, how's that work?

  • @0111LFS
    @0111LFS 6 лет назад

    Probably one of the top 5 videos I ever RUclipsd. So helpful! on such a difficult topic to comprehend.

  • @Eren-vz5vb
    @Eren-vz5vb 3 года назад

    good work,clear explanation

  • @mandaragodagama495
    @mandaragodagama495 3 года назад +2

    So that means. I can just connect a oscilloscope to a random ethernet cable and steal data? (Just for knowledge)

  • @richardwang3438
    @richardwang3438 3 года назад +1

    Ben, did you write some code to keep sending KA

  • @8slabs692
    @8slabs692 4 года назад +1

    was searching for this video for long time. so voltage fluctuation is used to denote 0 n 1. i want to know about how 0 n 1 are denoted in all types of cable

  • @techin771
    @techin771 6 лет назад

    Thank you Ben, very educative video.

  • @khanezflouss
    @khanezflouss 8 лет назад +1

    this is an awesome video, thanks man

  • @safwan6363
    @safwan6363 2 года назад

    i am absolutely mind blown

  • @mattt2684
    @mattt2684 5 лет назад +4

    What about differences in connection speed? For example, my Ethernet connection could be 1000 base t, but my connection speed is only 890 mbps. Why is this and how can the clock still be synchronized?

    • @KeithBond
      @KeithBond 5 лет назад +3

      The link speed of your connection is independent of your computer's ability to transmit/receive to/from it. While your computer is not reading/writing the network the link is "idle". In your case of 1000Base-T this means special "idle symbols" are being squirted back and forth when there is nothing to do. In other words the link is 100% occupied with bits all the time but some of those bits are "filler". !00Base-T uses a similar scheme but if memory serves 10Base-T really does drop to 0v when not in use (except for some frequent link test pulses to keep the link up but they could not be mistaken for data).

  • @Amine-gz7gq
    @Amine-gz7gq 3 года назад

    Just awesome ! Thank you very much !

  • @juanmagm
    @juanmagm 4 года назад

    Una belleza Bro!!

  • @tushar18
    @tushar18 9 лет назад +2

    hi Ben, you say; you were trying to send KA. How did you determine that? of all the data that goes out from a laptop OR was it just an assumption?

    • @GamalMahdaly
      @GamalMahdaly 8 лет назад +2

      Tushar Goel apparently, it was programmed to send a specific massage.. Look at the computer, there was a program running

  • @subratasaha1312
    @subratasaha1312 5 лет назад

    Ben if I had you for my teacher I wouldn't have had such a misspent youth.

  • @charlyelkhoury7962
    @charlyelkhoury7962 4 года назад

    Hi Ben, great work with your videos. Loved them.
    Can this Manchester coding be used between two systems to sync the clock between them? Say a master and a slave that are only communicating wirelessly? Thanks.

  • @emiliocben
    @emiliocben 4 года назад

    So what is a negative voltage? Is that just electrons going in th opposite direction as originally intended by the circuit, if so how would this be possible, are we just calculating if the copper wire went left a little or right a little by electronic force?

  • @MrLudwignew
    @MrLudwignew 6 лет назад

    Awesome explanation!

  • @goncalotomas5659
    @goncalotomas5659 5 лет назад

    Quick question, so for transmitting you have two wires... The orange with white stripes which corresponds to the positive transmission and the full orange which corresponds to the negative transmission. So is the orange the ground? Why do we need both? Can we just use the positive?

  • @КириллПальцев-ю1о
    @КириллПальцев-ю1о 5 лет назад +1

    OMG this is amazing!

  • @chtulurr
    @chtulurr 3 года назад

    Kay my mind is actually blown

  • @TheAmazeer
    @TheAmazeer 8 лет назад +1

    thank you so much , first video that is bright clear on how data is really transmitted on rj 45 cable 10baseT network. can you explain how did you connect your oscilloscope to these pairs cable. did you remove plastic envelop and connect your croco pinch? (sorry for my english i m french)

    • @kylebelle246
      @kylebelle246 7 лет назад

      TheAmazeer yes that is what he did.

  • @Felipe-53
    @Felipe-53 2 года назад

    You are brilliant!

  • @Kennomie
    @Kennomie 5 лет назад

    great video! explained in a understandable way!

  • @BassFenderJazz
    @BassFenderJazz 6 лет назад +1

    Great video!

  • @GiveMeAnOKUsername
    @GiveMeAnOKUsername 3 года назад

    Can a wire have more than one value at a time - like a wave? If it’s a long wire then given that signal propagation is finite, couldn’t a cable support multiple voltages at a time?

  • @levroibak4343
    @levroibak4343 10 месяцев назад

    Hi, what kind of oscilloscope do you use? It would be really nice if some could tell me the tech details about it (bandwidth, channels, etc.) Thanks in advance!

  • @und3rgr0undfr34k
    @und3rgr0undfr34k 9 лет назад +1

    very well explained. Thanks! Subbed!

  • @Nandblow
    @Nandblow 9 лет назад +2

    Best videos. I'm going to watch it all. Thakns :)

  • @kodalisaisumanthchowdary8935
    @kodalisaisumanthchowdary8935 4 года назад +1

    If education system hadn't killed the application curiosity in students, this video wouldn't be so underrated

  • @DrBouwman
    @DrBouwman 4 года назад +1

    I have always wondered how this works. Thanks a million! Can you also say how it works for glass fiber? I suppose that's actually just on off of a laser, or something, right?

  • @KiranBV1
    @KiranBV1 6 лет назад +1

    Thank you. that was really cool !

  • @vurtualboy
    @vurtualboy 8 лет назад +4

    So what I'm confused about is it seems like your oscilloscope is reading 64KHz when measuring the wave. What I want to know is why is that? Is there something I'm missing about how ethernet works? Wouldn't 10Mbps be 10MHz? I'm curious because I want to do the same, and I want to know what quality of oscilloscope I would need to be able to accurately see the data.

    • @CyrusBufkin
      @CyrusBufkin 8 лет назад +1

      you need at least 5x the signal rate to useful analysis, 10x if you want to go into intricate analysis.

    • @vurtualboy
      @vurtualboy 8 лет назад +3

      but 64Khz is much lower than 10Mhz...

    • @mushfiq814
      @mushfiq814 6 лет назад +2

      Hey. I know I am super late in answering this. What I think is happening is that the oscilloscope doesn't actually detect the frequency of the signal. instead that frequency is the frequency of the visible wave on the screen. It tries to look for a pattern on the screen and calculates the frequency of that.

  • @tylershepard4269
    @tylershepard4269 4 года назад

    I’ve also heard Manchester line codes referred to as split phase. Some of the faster speeds I assume are using split phase with more complex constellations? I’m relatively new to digital data transmission. (RF engineer, first year grad student).

  • @ronkessler1599
    @ronkessler1599 5 месяцев назад

    Hi Ben, Fantastic amount of information in this video!! I want to replicate your demo for my students. I connected PC to a 10/100 switch (no gateway) and I can see incoming and outgoing packets. How did you transmit data in your example? I can continuously ping another PC but I would like to send a simple message like you did. Thanks so much for your excellent work!

  • @republicoftutorials6068
    @republicoftutorials6068 5 лет назад

    Such a great tutorial

  • @tomaszstaniewicz7123
    @tomaszstaniewicz7123 11 месяцев назад

    great explanation :) I am curious how to detect where byte actually starts, and what happen if two devices try to transmit parallel over the wire, how is the collision detected? Thank you very much :)

  • @nguyenductien233
    @nguyenductien233 5 лет назад

    So clearly. Many thanks

  • @jakobdueck7491
    @jakobdueck7491 4 года назад

    thx a lot! This is very useful to understand.

  • @user-sz8rw2pp1s
    @user-sz8rw2pp1s 2 года назад

    I need some help! I'm not sure what I'm doing wrong. I have a Rigol DS1052E and followed similar settings. What do you have the other end of the Ethernet cable connected to? thanks