Gentoo Archives: gentoo-user

From: Eduard Bachmakov <e.bachmakov@×××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Static addresses and timeouts
Date: Sun, 08 Jul 2007 13:16:57
Message-Id: 200707081508.12011.e.bachmakov@gmx.net
1 I want to run a webserver on my PC. Since I am using a NAT-router for internet
2 connection I need the server to have the same ip everytime. That's why I
3 tried to use static routes.
4
5 The problem is that I get timeouts for about 25-75% of the time. DHCP works
6 without any problems (but I get different ips). The static address is
7 192.168.2.50, DHCP starts at 192.168.2.100 so there should be no problems of
8 two pcs having the same ip.
9
10 The nameservers seem to work since I can ping any system without any problem.
11
12 Here is my /etc/conf.d/net:
13 > config_eth0="'192.168.2.50 netmask 255.255.255.0 broadcast 192.168.2.255'"
14 > routes_eth0="'default via 192.168.2.1'"
15 > fallback_config_eth0="'dhcp'"
16 >
17 > dns_servers="192.168.2.1"
18 > dhcpcd="'-t 10'"
19 > dns_domain="'outer_space'"
20
21 The timeouts also happen if I use my wlan (with static routes; same pc).
22
23 So what went wrong?
24 --
25 gentoo-user@g.o mailing list