-
models
- OSI model
- [[TCP-IP]] model
- cisco-3-layer model
-
topologies - bus, star, mesh, hybrid
- devices
- through wired Ethernet or later, [[Wi-Fi]]
-
how good is smth? -> network measurements
-
tools
-
SDN (Software -designed networking)
- centrally managed
- functions/abilities of devices defined by software
- SDV (Software-design visibility)
- see the traffic to secure the data
behaviors¶
HTTP GET¶
- random port is used for client source port (ephemeral port)
- sockets pair a port and ip address
DNS query -> HTTP GET¶
- user types in web address into browser -> browser requests IP of given domain name
- host checks to see if DNS server on LAN
- not on LAN, so forwards DNS query to default gateway
- default gateway forwards it to DNS server
- DNS server undergoes recursive DNS lookup
- main DNS server queries multiple other DNS servers for the actual IP
- DNS server forwards found IP to default gateway
- default gateway receives it and forwards to original IP
- knows the original host despite private address bc of PAT and use of ephemeral port
- host now knows IP and sets up TCP connection w/ web server (on web server's port 80)
-
host can now send HTTP GET request to get webpage contents
-
fundamentally syncronized w/ NTP
connectivity?¶
- basic stuff
- [[VLAN]]
- trying to ping dif VLAN
- wrong default gateway on VLAN
- native VLAN mismatch
- trunk not configured
- VLAN not allowed on trunk
- routing
- default/static route goes somewhere weird
- wrong/no network commands in dynamic routing
- security
- ACL rules
vulns on os's related to networking¶
- on linux and Mac, check /etc/hosts.equiv file (trusted hosts file) - remote computers on that file can login to your computer without pass
- also check .rhosts file - holds host name and account name → trusted remote users