From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HD2NY-0007J1-78 for garchives@archives.gentoo.org; Fri, 02 Feb 2007 17:39:16 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l12Hc97V018665; Fri, 2 Feb 2007 17:38:09 GMT Received: from apelsin.fruitsalad.org (pc116.net160.koping.net [81.16.160.116]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l12HXMTW013167 for ; Fri, 2 Feb 2007 17:33:22 GMT Received: from localhost (localhost [127.0.0.1]) by apelsin.fruitsalad.org (Postfix) with ESMTP id 2FDB160348E for ; Fri, 2 Feb 2007 18:33:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by apelsin.fruitsalad.org (Postfix) with ESMTP id 07BCF60346C for ; Fri, 2 Feb 2007 18:33:20 +0100 (CET) Received: from apelsin.fruitsalad.org ([127.0.0.1]) by localhost (apelsin.fruitsalad.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 99798-05 for ; Fri, 2 Feb 2007 18:33:18 +0100 (CET) Received: from localhost (242-170-150-82.gw.cz [82.150.170.242]) by apelsin.fruitsalad.org (Postfix) with ESMTP id 69DC5603461 for ; Fri, 2 Feb 2007 18:33:18 +0100 (CET) Date: Fri, 2 Feb 2007 18:33:17 +0100 From: "Michal 'vorner' Vaner" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Question about /etc/conf.d/net entry Message-ID: <20070202173317.GA23249@tarantula> References: <7225537e0702020907w1598350erf823adc50fe56fc9@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=SHA1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <7225537e0702020907w1598350erf823adc50fe56fc9@mail.gmail.com> Jabber-ID: michal.vaner@njs.netlab.cz User-Agent: Mutt 1.5.13 (2006-08-11) X-Virus-Scanned: by amavisd-new at kdemail.net X-Archives-Salt: 6bc091bf-5bf7-444c-85df-05ae5995dd66 X-Archives-Hash: e8c0fabef24146bb936badceb2760d4f --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Fri, Feb 02, 2007 at 12:07:59PM -0500, Shawn Singh wrote: > I've got my /etc/conf.d/net setup as follows: >=20 > # eth1 (LAN) config > config_eth1=3D( "192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.25= 5" ) > routes_eth1=3D( "192.168.1.0 via 192.168.1.1" ) # the idea here is that I= wish Er, shouldn't this work by default? It is the netmask thing, right? Because what I think you are trying to do is: Whatever goes to 192.168.1.*, send it to the machine at 192.168.1.1, it will know. But the problem IMO is, this machine is local, so it again runs the packet trough the table and sends it to itself=E2=80=A6 Did you try removing the routing rule? I guess it should work by itself and you needed it only if there was a machine somewhere, like 10.0.0.1 that would be reachable trough 192.168.1.15=E2=80=A6 But I'm not sure, I hope I do not talk complete jebrish. --=20 The cost of living is going up, and the chance of living is going down. Michal 'vorner' Vaner --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (GNU/Linux) iD8DBQBFw3Xd7/oWwynB3bIRAgzSAJ9LK1dx6/g0jGB8fDoATB0XflkTPACeO/Qm 6uv1A+6Bw0/SCVemHv9LHlI= =Wr7I -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v-- -- gentoo-user@gentoo.org mailing list