Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Need networking help. Can't ping google.
Date: Fri, 10 Dec 2010 07:55:40
Message-Id: 4D01DC8B.6040709@gmail.com
In Reply to: Re: [gentoo-user] Need networking help. Can't ping google. by Adam Carter
1 Adam Carter wrote:
2 >
3 >
4 > On Fri, Dec 10, 2010 at 2:06 PM, Dale <rdalek1967@×××××.com
5 > <mailto:rdalek1967@×××××.com>> wrote:
6 >
7 > Hi,
8 >
9 > I got my system put together. I have booted a Gentoo 10 CD. This
10 > is the setup as far as the network goes.
11 >
12 > Internet
13 >
14 > DSL modem
15 >
16 > Gentoo rig named smoker
17 >
18 > New rig, no name yet. Lightening will work for now. ;-)
19 >
20 > I got it working from internet to modem to Gentoo rig as usual. I
21 > also can ping, BY IP, my Gentoo rig smoker from lightening. I
22 > cannot get smoker to resolve the traffic from Lightening to the
23 > internet. When I try to ping google, it sits there for a bit and
24 > I see traffic from Lightening on gkrellm but it never forwards to
25 > the internet. After a bit, it says " ping: unknown host
26 > google.com <http://google.com>".
27 >
28 >
29 > So lightening talks through smoker right? That is, lightening is not
30 > connected to the modem?
31
32 Right. Lightening connects to smoker and smoker connects to the DSL
33 modem. Lightening connects to smoker on eth0 and smoker connects to the
34 DSL modem through eth2.
35
36 >
37 > Is smoker running a DNS server?
38 > Does /etc/resolv.conf on smoker point to that local DNS server and
39 > lookups work?
40 > What is in /etc/resolv.conf on lightening?
41 > Is IP forwarding enabled on smoker?
42
43 Smoker does not run a DNS server that I know of. Smoker's resolv.conf
44 has 8.8.8.8 for the nameserver. I put the same in lightening too.
45 Before when I did this, it resolved with the same DNS I use on smoker,
46 8.8.8.8. I always use it since it is faster than my ISP's DNS server.
47
48 >
49 >
50 > I'm pretty sure the issue is smoker. I went through this before
51 > and my old script doesn't work. Basically, smoker isn't
52 > forwarding the traffic from Lightening to the internet. I been
53 > following the home router howto and even turned the commands they
54 > list into s new script. Still no workey.
55 >
56 >
57 > If you're correct then ip forwarding is off;
58 > cat /proc/sys/net/ipv4/ip_foward should be 1. If its 0 then smoker is
59 > not routing, and you need to make it do that!
60 >
61
62 ip_forward is set to one. Confirmed it with cat.
63
64 I did this one time before. I found a iptables script and when I ran
65 it, it just worked. The script is old and doesn't work anymore. The
66 last time it was a gateway issue. I'm not sure this time.
67
68 I did this. From smoker, I pinged google. I got the IP address from
69 that. I then tried to ping google BY IP address on lightening. It
70 gives me the error "ping: unknown host 72.14.299.99".
71
72 Does that give any clues? I'm sure this is something simple that I am
73 missing. Again, I suck at networks. I'm a 1/2 watt light bulb on a
74 bright sunny day on this. lol
75
76 Thanks.
77
78 Dale
79
80 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Need networking help. Can't ping google. Adam Carter <adamcarter3@×××××.com>
Re: [gentoo-user] Need networking help. Can't ping google. Keith Dart <keith@×××××××××.biz>