%general-entities; ]> iproute2 &iproute2-version;
&iproute2-url;
Setting Up Loopback Network Interface with IPRoute-&iproute2-version; IPRoute2 tools <para>The IPRoute2 package contains programs for basic and advanced IPV4-based networking. Now we need <command>ip</command> from it to bring up loopback network interface, which is expected by the testsuites of various packages.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&iproute2-tmp-sbu;</seg> <seg>&iproute2-tmp-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Use IPRoute2 to Set Up Loopback Network Interface Compile the package: PKG_CONFIG=false make SUBDIRS='lib ip' The meaning of the environment and overriden make variables: PKG_CONFIG=false The building system attempts to find dependencies with pkg-config, which is not installed yet. We can override it since ip utility does not need these dependencies. SUBDIRS='lib ip' Only build the ip utility from the package and disable the build of other utilities. This is needed to prevent a build failure due to the lack of some dependencies. It's not needed to install the ip utility now. Just bring up the loopback interface: ip/ip link set lo up Verify the result: ip/ip addr The command above should show 127.0.0.1/8 as the IPv4 address of lo, and ::1/128 as the IPv6 address. <para>Details on this package are located in <xref linkend="contents-iproute2" role="."/></para> </sect2> </sect1>