RH124 - ch11s03
RH124 - ch11s03
To configure a network interface correctly, you must know which interface is connected to which network. Often, you can obtain the MAC address of the
interface that is connected to each network, either because it is physically printed on the card or server, or because it is a virtual machine and you know
how it is configured. The MAC address of the device is listed after link/ether for each interface. So you know that the network card with the MAC
address 52:54:00:00:00:0a is the network interface ens3.
Display IP Addresses
Use the ip command to view device and address information. A single network interface can have multiple IPv4 or IPv6 addresses.
When you ping the link-local addresses and the link-local all-nodes multicast group (ff02::1), the network interface to use must be specified explicitly
with a scope zone identifier (such as ff02::1%ens3). If this network interface is omitted, then the connect: Invalid argument error is displayed.
You can use the ping6 ff02::1 command to find other IPv6 nodes on the local network.
Other hosts on the same link can use IPv6 link-local addresses, like normal addresses.
3. The default route to all networks on the IPv6 Internet (the ::/0 network) uses the router at the 2001:db8:0:1::ffff network and it is reachable
with the ens3 device.
Each line in the output of the tracepath command represents a router or hop that the packet passes through between the source and the final
destination. The command outputs information for each hop as it becomes available, including the round trip timing (RTT) and any changes in the
maximum transmission unit (MTU) size. The asymm indication means that the traffic that reached the router returned from that router by different (
asymmetric) routes. These routers here are for outbound traffic, not for return traffic.
Option Description
-A Display active connections (but not listening sockets) for the inet address family. That is, ignore local UNIX domain sockets.
inet For the ss command, both IPv4 and IPv6 connections are displayed. For the netstat command, only IPv4 connections are
displayed. (The netstat -A inet6 command displays IPv6 connections, and the netstat -46 command displays IPv4 and
IPv6 at the same time.)
References
ip-link(8), ip-address(8), ip-route(8), ip(8), ping(8), tracepath(8), traceroute(8), ss(8), and netstat(8) man pages
https://rha.ole.redhat.com/rha/app/courses/rh124-9.0/pages/ch11s03/85223ae4-a208-4a0c-8807-f8580dad018f 4/4