Gentoo Archives: gentoo-user

From: Michal 'vorner' Vaner <michal.vaner@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Question about /etc/conf.d/net entry
Date: Fri, 02 Feb 2007 17:39:16
Message-Id: 20070202173317.GA23249@tarantula
In Reply to: [gentoo-user] Question about /etc/conf.d/net entry by Shawn Singh
1 Hello,
2
3 On Fri, Feb 02, 2007 at 12:07:59PM -0500, Shawn Singh wrote:
4 > I've got my /etc/conf.d/net setup as follows:
5 >
6 > # eth1 (LAN) config
7 > config_eth1=( "192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255" )
8 > routes_eth1=( "192.168.1.0 via 192.168.1.1" ) # the idea here is that I wish
9
10 Er, shouldn't this work by default? It is the netmask thing, right?
11
12 Because what I think you are trying to do is:
13 Whatever goes to 192.168.1.*, send it to the machine at 192.168.1.1, it
14 will know. But the problem IMO is, this machine is local, so it again
15 runs the packet trough the table and sends it to itself…
16
17 Did you try removing the routing rule? I guess it should work by itself
18 and you needed it only if there was a machine somewhere, like 10.0.0.1
19 that would be reachable trough 192.168.1.15…
20
21 But I'm not sure, I hope I do not talk complete jebrish.
22
23 --
24 The cost of living is going up, and the chance of living is going down.
25
26 Michal 'vorner' Vaner