From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-162340-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 64B66138A87
	for <garchives@archives.gentoo.org>; Tue, 24 Feb 2015 06:43:32 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8111CE0884;
	Tue, 24 Feb 2015 06:43:24 +0000 (UTC)
Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 39265E07FE
	for <gentoo-user@lists.gentoo.org>; Tue, 24 Feb 2015 06:43:23 +0000 (UTC)
Received: by mail-wi0-f180.google.com with SMTP id h11so22720936wiw.1
        for <gentoo-user@lists.gentoo.org>; Mon, 23 Feb 2015 22:43:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=from:reply-to:to:subject:date:user-agent:references:in-reply-to
         :mime-version:content-type:content-transfer-encoding:message-id;
        bh=4IAYPjZ89rVqhTLAQQtQ2oPTTULo/vruh66yHr6V8kE=;
        b=UfZQPLAHmaCIE53vSn6JKC9/pP5ZYSNg1Zc64iVxT0M+mdfBEJTmc1RQ6bmqcgSjKz
         9sfTAYQhgwi/rEKAbxQHQ6Lp3PyxAxtOVGVA7FugNVBokYoVTrWUK+G2Wk0GvmGzpCqE
         Zvx9AHiuDTsvABioalL4McP2tu0+yV/QZSrqCPDai2nHSm65nRGCXaHtgFkrGAL5XYzD
         UGk3u8RiHF8JD+NUkkR2Mu+RX4mkGpDPRsdIqYCL1rWPL/k+QhQc6bx+Fwi3cWHXHycl
         aIOhCx8GOpy2pErbjfeB00yXJ8Lcat7B+w7cbeq7JX5jAUZMR+dHV4P/2MPI5dA2U6/v
         A48w==
X-Received: by 10.194.62.167 with SMTP id z7mr29818369wjr.106.1424760201961;
        Mon, 23 Feb 2015 22:43:21 -0800 (PST)
Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230])
        by mx.google.com with ESMTPSA id eb10sm19064912wib.13.2015.02.23.22.43.21
        for <gentoo-user@lists.gentoo.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Mon, 23 Feb 2015 22:43:21 -0800 (PST)
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: [SOLVED] What happened to my 2nd eth0?
Date: Tue, 24 Feb 2015 06:43:19 +0000
User-Agent: KMail/1.13.7 (Linux/3.17.8-gentoo-r1; KDE/4.14.3; x86_64; ; )
References: <20150222045234.GA2101@waltdnes.org> <201502220901.57262.michaelkintzios@gmail.com> <20150223083942.GA5629@waltdnes.org>
In-Reply-To: <20150223083942.GA5629@waltdnes.org>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart1856612.uqdLRol7iB";
  protocol="application/pgp-signature";
  micalg=pgp-sha256
Content-Transfer-Encoding: 7bit
Message-Id: <201502240643.21194.michaelkintzios@gmail.com>
X-Archives-Salt: bce0e183-9b3e-40cb-9847-75446bbd1783
X-Archives-Hash: a37734d4e5330543c4de38e63a77c761

--nextPart1856612.uqdLRol7iB
Content-Type: Text/Plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable

On Monday 23 Feb 2015 08:39:42 Walter Dnes wrote:

> Looks like it's time to play around with the "ip" command and try to
> duplicate my current setup.  Does anyone have a multi-route setup
> similar to mine configured with iproute2?  The net.example file says
>=20
> # If you need more than one address, you can use something like this
> # NOTE: ifconfig creates an aliased device for each extra IPv4 address
> #       (eth0:1, eth0:2, etc)
> #       iproute2 does not do this as there is no need to
> # WARNING: You cannot mix multiple addresses on a line with other
> parameters! #config_eth0=3D"192.168.0.2/24 192.168.0.3/24 192.168.0.4/24"
> # However, that only works with CIDR addresses, so you can't use
> # netmask.
>=20
>   What exactly do they mean by...
> "iproute2 does not do this as there is no need to"

There is no need to create virtual interfaces like eth0:1 to be able to hav=
e=20
secondary IP addresses.  The ip command adds them to the same eth0 interfac=
e.

When I use VPN I can see that my interface has a secondary LAN address crea=
ted=20
by VPN, but it does not have an additional virtual NIC.

The only thing is that if my primary IP address goes down temporarily, the=
=20
secondary address becomes primary and stays there.  I need to look at the V=
PN=20
configuration to see how to define the VPN LAN as a secondary subnet, but t=
his=20
is not related to your question.

PS.  Did you look at setting your desired subnet rather than a local-link=20
auto-configured address at your HDHomerun device?

=2D-=20
Regards,
Mick

--nextPart1856612.uqdLRol7iB
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAABCAAGBQJU7B2JAAoJELAdA+zwE4YeP34H/RgMNgRLAUVVT7FaMRiYaE2q
neXU5DuLsiM84hapkwc20kGTBR8o/6Dx5dEWjcayxz2hNtCALW3rKrbCQn62zUEw
1VXZMZZCRL+pT1/9BwHJJ/k1qfdPkwaanSOBYxDXsYF4RzEUCVIdtzslXtYtrMIu
oiLsd1lrcxqHaKXiT5PPwd3bXjmLGKBLu254WaI5H82uiYZHQ4Ql74tHgVG2igts
AwqGDxNU3ooXucKpSZMQ3a2AX2EzmpLYtvmQVrfHtQJMtcL50BpkC9O63ivGGq4J
ezy0au57S8JNvE3WGF+/vg/o6p8wrSYLO5GNzjxdxJKd36lzhDg4019s9afPtSs=
=6HX2
-----END PGP SIGNATURE-----

--nextPart1856612.uqdLRol7iB--