4.4 Your Computer on the Network Flashcards
N/W
layer
handles comms between directly connected devices
link layer
N/W
layer
handles routing outside of individual networks and the unique addressing of devices beyond a single link layer network
network layer
N/W
layer
enables individual programs to connect to each other
app layer
N/W
comm endpoint for two programs talking to eachother
Socket
N/W
socket
connect processes running on same device
unix sockets
N/W
socket
connect apps using protocol that is fast but not resilient
UDP - User Datagram Protocol
N/W
socket
more reliable that UDP and confirm receipt of data
TCP - Transmission Control Protocol
N/W
query DNS info and provide verbose info about DNS queries and responses
dig
N/W
query DNS info and provide condenses output
host
N/W
configure N/W on Linux including N/W interfaces, addresses and routing
ip
N/W
test connectivity to remote device
ping
N/W
show socket info
ss
N/W
assign IP Address to ens33 of a host
IPv4
sudo ip addr add 192.168.10.10/24 dev ens33
N/W
assign IP Address to ens33 of a host
IPv6
sudo ip addr add 2001:0:0:abcd:0:8a2e:0370:7334/64 dev ens33
N/W
private ip address examples
192.168.10.1
172.16.57.47
10.100.49.162