* Re: [gentoo-user] Static addresses and timeouts
@ 2007-07-08 17:09 99% ` Dan Farrell
0 siblings, 0 replies; 1+ results
From: Dan Farrell @ 2007-07-08 17:09 UTC (permalink / raw
To: gentoo-user
On Sun, 8 Jul 2007 18:32:04 +0200
Eduard Bachmakov <e.bachmakov@gmx.net> wrote:
> Am Sonntag, 8. Juli 2007 schrieb Dan Farrell:
> > On Sun, 8 Jul 2007 15:08:11 +0200
> >
> > Eduard Bachmakov <e.bachmakov@gmx.net> wrote:
> > > I want to run a webserver on my PC. Since I am using a NAT-router
> > > for internet connection I need the server to have the same ip
> > > everytime. That's why I tried to use static routes.
> > > The problem is that I get timeouts for about 25-75% of the time.
> > > DHCP works without any problems (but I get different ips). The
> > > static address is 192.168.2.50, DHCP starts at 192.168.2.100 so
> > > there should be no problems of two pcs having the same ip.
> > > Here is my /etc/conf.d/net:
> > > > config_eth0="'192.168.2.50 netmask 255.255.255.0 broadcast
> > > > 192.168.2.255'" routes_eth0="'default via 192.168.2.1'"
> > > > fallback_config_eth0="'dhcp'"
> > > >
> > > > dns_servers="192.168.2.1"
> > > > dhcpcd="'-t 10'"
> > > > dns_domain="'outer_space'"
> > >
> > > The timeouts also happen if I use my wlan (with static routes;
> > > same pc).
> > >
> > > So what went wrong?
> >
> > You've double-quoted all those strings in /etc/conf.d/net -- I would
> > recommend removing one of the pairs of quotes, and adding
> > parenthases as shown in /etc/conf.d/net.example
>
> The double quotation is the new style as described in the net.example
> (at least at baselayout 2.0.0_alpha3). Quote:
> ...
> # We've changed from using arrays to evaluated strings.
My mistake, sorry ; ) I'm only using 1.12.something-or-other.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-07-08 13:08 [gentoo-user] Static addresses and timeouts Eduard Bachmakov
[not found] ` <20070708104424.6148d1e2@pascal.spore.ath.cx>
2007-07-08 16:32 ` Eduard Bachmakov
2007-07-08 17:09 99% ` Dan Farrell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox