Hardware Reference
In-Depth Information
Figure 3-2:
he output of
ifconfig
on a Raspberry
Pi Model B
he output of
ifconfig
is split into the following sections:
❍
Link encap—
he type of
encapsulation
used by the network, which on the Model B will
either read
Ethernet
for the physical network port or
Local Loopback
for the vir-
tual loopback adaptor.
❍
Hwaddr
—he
Media Access Control (MAC) address
of the network interface, written in
hexadecimal. his is unique for every device on the network, and each Pi has its own
MAC address, which is set at the factory.
❍
inet addr—
he
internet protocol (IP) address
of the network interface. his is how you
ind the Pi on the network if you're using it to run a network-accessible service, such as
a web server or ile server.
❍
Bcast—
he
broadcast address
for the network to which the Pi is connected. Any traic
sent to this address will be received by every device on the network.
❍
Mask—
he
network mask
, which controls the maximum size of the network to which
the Pi is connected. For most home users, this will read 255.255.255.0.
❍
MTU—
he
maximum transmission unit
size, which is how big a single packet of data
can be before the system needs to split it into multiple packets.