%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 IPRoute2 package has several dependencies not installed yet, but we only need ip utility from the package now. Disable the build of other utilities: sed '/SUBDIRS/s/=.*/=lib ip/' -i Makefile Compile the package: PKG_CONFIG=false make The meaning of the environment variable: 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. 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>