Gentoo Archives: gentoo-user

From: "Matthew R. Lee" <gentoo@××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] static ip wont connect but dhcp will
Date: Fri, 12 May 2006 12:47:00
Message-Id: 200605120827.24083.gentoo@matthewlee.org
1 I have my connection set to get an ip using dhcp and this works.  However if I
2 try to use a static ip, by setting it in /etc/conf.d/net, it doesn't work,
3 even if I try the ip I have been given by the dhcp server.  Nor does it work
4 with an ip obtained using apipa.  I can ping other  parts of the local
5 network but not out onto the internet.
6
7 the config I have in /etc/conf.d/net is :
8 config_eth0=( "192.168.1.14 netmask 255.255.255.0" )
9 routes_eth0=( "default gw 192.168.1.1" )
10
11 When I run /etc/init.d/net.eth0 start I get green oks for everything, but
12 trying to ping www.gentoo.org I get the following error, immediately:
13 ping: unknown host www.gentoo.org
14
15 Any clues as to what's up?
16
17 Matt
18 --
19 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
20 Dr. Matthew R. Lee.
21 CASEB & ECIM
22 Departamento de Ecologia,
23 P. Universidad Catolica de Chile,
24 Alameda 340, Santiago,
25 CP 6513677
26 CHILE.
27
28 matt@××××××××××.org
29 mlee@×××××××.cl
30
31 URL: meiochile.matthewlee.org
32 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
33
34 --
35 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] static ip wont connect but dhcp will "Boyd Stephen Smith Jr." <bss03@××××××××××.net>