I am learning about Linux routing, routing tables, IP routing, etc...
The following is the output from
ip route followed by the output of
default via 192.168.1.1 dev wlp0s20f3 proto dhcp metric 600 169.254.0.0/16 dev wlp0s20f3 scope link metric 1000 192.168.1.0/24 dev wlp0s20f3 proto kernel scope link src 192.168.1.103 metric 600
Destination Gateway Genmask Flags Metric Ref Use Iface default pfSense.localdo 0.0.0.0 UG 600 0 0 wlp0s20f3 link-local 0.0.0.0 255.255.0.0 U 1000 0 0 wlp0s20f3 192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp0s20f3
So, what I understand from the output of route is that anything routed to my local network 192.168.1.0/24 is on the local network and so the interface is essentially unspecified. Same thing with anything sent to link-local (which I believe is my loopback device). Finally, anything that is routed to anything else is sent to the default gateway which is my router. Hopefully I've got this right.
I am having difficulty parsing the output of
ip route. I can see what my default gateway is obviously but I have trouble matching the other two lines with the output of
route. I've been through the documentation and learned quite a bit thankfully but haven't been able to find anything specific about the output of the command aside from the fact that it tells me the interface and the destination. If anyone could be so kind as to break down a line for me and explain how to read it I would greatly appreciate it!
Some relevant links for those who stroll upon this question once answered: