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
N/W
entry would you add into the hosts file to assign 192.168.0.15 to example.com?
192.168.0.15 example.com
N/W
What effect would the following command have?
sudo ip -6 route add default via 2001:db8:0:abcd::1
add a default route into the table that sends all IPv6 traffic to the router with an
internal address of 2001:db8:0:abcd::1
N/W
DNS record type used to serve requests
Textual Data
TXT
N/W
DNS record type used to serve requests
Reverse IP address lookup
PTR
N/W
DNS record type used to serve requests
A domain that has no address of its own and relies on another domain for this information
CNAME
N/W
DNS record type used to serve requests
Mail Server
MX
N/W
e connects multiple networking interfaces. All interfaces connected to a bridge can
communicate as if they were connected to the same link layer network: All devices use IP
addresses from the same subnet and do not require a router in order to connect to each other.
bridging
N/W
What option needs to be supplied to the ss command in order to view all established UDP
sockets
-u option shows all established UDP sockets
N/W
command shows a summary of all sockets running on a Linux device?
ss -s