Ubuntu Tutorials - Herong's Tutorial Examples - v1.25, by Herong Yang
"ifconfig" - Trace Routes to Remote Host
This section provides a tutorial example on how to use 'ifconfig' command to view and manage network interface configurations.
"ifconfig" is a command line tool that allows you to manage network interface configurations. Here are some examples on using the "ifconfig" command:
Display the current configuration of all network interfaces on my Ubuntu computer:
herong$ ifconfig enp0s25: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether ****** txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 378546 bytes 1490999618 (1.4 GB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 378546 bytes 1490999618 (1.4 GB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.0.2 netmask 255.255.255.0 broadcast 10.0.0.255 inet6 2601:195:c287:95a0::a806 prefixlen 128 scopeid 0x0<global> inet6 fe80::3034:982:5ed:b867 prefixlen 64 scopeid 0x20<link> RX packets 8308009 bytes 4460288329 (4.4 GB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 33485355 bytes 49450226819 (49.4 GB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Here is what I can read from the output:
Table of Contents
Introduction to Ubuntu Systems
GNOME - Desktop Interface and Environment
Shell - The Command-Line Interpreter
Connect to Wi-Fi with GNOME Settings
"traceroute" - Trace Route to Remote Host
►"ifconfig" - Trace Routes to Remote Host
"route" - Manage Routing Table
"netstat" - Display Network Statistics