From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PhdsU-00009e-Sl for garchives@archives.gentoo.org; Tue, 25 Jan 2011 08:03:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7EF3BE0999; Tue, 25 Jan 2011 08:01:55 +0000 (UTC) Received: from mail-ew0-f53.google.com (mail-ew0-f53.google.com [209.85.215.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 2D670E0999 for ; Tue, 25 Jan 2011 08:01:54 +0000 (UTC) Received: by ewy6 with SMTP id 6so2818260ewy.40 for ; Tue, 25 Jan 2011 00:01:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=pUp/qjOsCF53UJtJYfZrabnQkDDjYQSjA/QIuuBT8DU=; b=wOAMK8L+ampM+pj3WRTehyjwTiRd6vg4J6t5e+Mgpqh+wc7iOA0jeRwa69NmB9p40u oCrc417uLNvjrcBRsWIzveX46YrRyLkBX7WFPZrS8txo/mZmIZHLzcHSWLD9s/ysWsf0 KzZLemWeM3DndKeYEjFxUVVHIfwoRohOsks6A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=od6QvS5M+rY4jJZo0KV6YHCA2tWKkh5j0F/0ROLELn2PtYNNMZFY2XR7PcIi+eFRRW 4+T+OefKKAX3uN5KmAxApLu9feMDb5O6JYmJLd/Qyz0vVAnUMP6ahrfs46y9hs8ItDp5 y6MsEng0YT5yiKZM2JKV5RWpqXAOY9bGAzFt4= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.213.5.11 with SMTP id 11mr6145097ebt.53.1295942514209; Tue, 25 Jan 2011 00:01:54 -0800 (PST) Received: by 10.213.21.203 with HTTP; Tue, 25 Jan 2011 00:01:54 -0800 (PST) In-Reply-To: References: Date: Tue, 25 Jan 2011 19:01:54 +1100 Message-ID: Subject: Re: [gentoo-user] Adding more than one static IP From: Adam Carter To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=0015174be5ec35729f049aa721b1 X-Archives-Salt: X-Archives-Hash: 94f1e20cce389cc00b6ebaea430f2ca3 --0015174be5ec35729f049aa721b1 Content-Type: text/plain; charset=ISO-8859-1 > config_eth0=( "77.xxx.104.14/24" ) > routes_eth0=( "default via 77.xxx.104.1" ) > config_eth0:1=( "77.xxx.104.100/24" ) > routes_eth0:1=( "default via 77.xxx.104.1" ) > config_eth0:2=( "77.xxx.104.101/24" ) > routes_eth0:2=( "default via 77.xxx.104.1" ) > config_eth0:3=( "77.xxx.105.100/24" ) > routes_eth0:3=( "default via 77.xxx.105.1" ) > You should let us know what you're trying to achieve with this. Every time I have seen config like this, it has been because of fundamental misunderstandings of networking. More that one IP address on a subnet (unless there are VIPs) = fail. Remember routing occurs at layer 3, and for most configs should have no reference physical interface. The OS knows which interface the next hop can be found. In your config you've set the same route three times which makes no sense. (ok i've oversimplified, but for 99.9% of cases the above is true) --0015174be5ec35729f049aa721b1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
config_eth0=3D( "77.xxx.104.14/24" )
route= s_eth0=3D( "default via 77.xxx.104.1" )
config_eth0:1=3D( "77.xxx.104.100/24" )
routes_eth= 0:1=3D( "default via 77.xxx.104.1" )
config_eth0:2=3D( "77.xxx.104.101/24" )
routes_eth= 0:2=3D( "default via 77.xxx.104.1" )
config_eth0:3=3D( = "77.xxx.105.100/24" )
routes_eth0:3=3D( "default v= ia 77.xxx.105.1" )

You should let us know what you're t= rying to achieve with this. Every time I have seen config like this, it has= been because of fundamental misunderstandings of networking. More that one= IP address on a subnet (unless there are VIPs) =3D fail.

Remember routing occurs at layer 3, and for most configs should have no= reference physical interface. The OS knows which interface the next hop ca= n be found. In your config you've set the same route three times which = makes no sense.

(ok i've oversimplified, but for 99.9% of cases the above is true)<= br> --0015174be5ec35729f049aa721b1--