A network interface is a machine's connection point to a network, with an IP address. The routing table indicates through which gateway to send packets depending on their destination. ip addr displays the interfaces and ip route the routes.
Example
ip addr
ip route