Running
this command should generate a response similar to this:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2187 errors:0 dropped:0 overruns:0 frame:0
TX packets:2187 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:114362 (111.6 Kb) TX bytes:114362 (111.6 Kb)
This output tells you that the local loopback interface is active and is assigned the standard
IP address for local connections, 127.0.0.1, and a broadcast mask of 255.0.0.0 is
used. You even take a small peek into the future, as this version of ifconfig lists an IPv6
address of ::1/128. This next version of the Internet Protocol (IP version 6) offers exponentially
more IP address space than the existing IP version 4.
Configuring localhost Manually
In the off chance localhost was not created during your openSUSE installation, it is easy
to do yourself.
The localhost interface address is stored in a text file called /etc/hosts. This file stores
all network IP address and hostname information.
Pages:
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547