diff --git a/content/notes/01-network and hardware protocols.md b/content/notes/01-network and hardware protocols.md new file mode 100644 index 000000000..82caceea6 --- /dev/null +++ b/content/notes/01-network and hardware protocols.md @@ -0,0 +1,27 @@ +--- +title: "01-network and hardware protocols" +tags: +- cosc301 +- lecture +--- + + +# OSI model +- physical, data link, network, transport, session, presentation, application +- encapsulation + - ![](https://i.imgur.com/jOSWdJ4.png) +- Five layers in Internet: physical, data link, network, transport, application (including presentation and session layers of OSI model), + +TCP/IP sits in kernel of operating system. packet is passed from RAM to the network card, then through the ethernet cable. + +There is a specific bus for tcp/ip between ram and NIC + +^ Data link and physical layer. + +NIC rejects ehternet packets which aren't adresse to them. you can modify them to add a promoscuous mode which accepts all packets. + +you can configure the swtich to send the packets to only the correct address + +Network Layer ≡ IP layer + +Port number distinguishes addresses at the IP layer diff --git a/content/notes/cosc-301.md b/content/notes/cosc-301.md new file mode 100644 index 000000000..7def58e83 --- /dev/null +++ b/content/notes/cosc-301.md @@ -0,0 +1,22 @@ +--- +title: "cosc-301" +year: 2022 +semester: +tags: +- course +- +--- + +https://www.cs.otago.ac.nz/cosc301/s + +# Assignments + +# Labs + +# Notes + +# Lectures +- [[01-network and hardware protocols]] + +# Info +