Adam Carter wrote:


On Fri, Dec 10, 2010 at 2:06 PM, Dale <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    I got my system put together.  I have booted a Gentoo 10 CD.  This
    is the setup as far as the network goes.

    Internet

    DSL modem

    Gentoo rig named smoker

    New rig, no name yet.  Lightening will work for now.  ;-)

    I got it working from internet to modem to Gentoo rig as usual.  I
    also can ping, BY IP, my Gentoo rig smoker from lightening.  I
    cannot get smoker to resolve the traffic from Lightening to the
    internet.  When I try to ping google, it sits there for a bit and
    I see traffic from Lightening on gkrellm but it never forwards to
    the internet.  After a bit, it says " ping: unknown host
    google.com <http://google.com>".


So lightening talks through smoker right? That is, lightening is not connected to the modem?

Right. Lightening connects to smoker and smoker connects to the DSL modem. Lightening connects to smoker on eth0 and smoker connects to the DSL modem through eth2.


Is smoker running a DNS server?
Does /etc/resolv.conf on smoker point to that local DNS server and lookups work?
What is in /etc/resolv.conf on lightening?
Is IP forwarding enabled on smoker?

Smoker does not run a DNS server that I know of. Smoker's resolv.conf has 8.8.8.8 for the nameserver. I put the same in lightening too. Before when I did this, it resolved with the same DNS I use on smoker, 8.8.8.8. I always use it since it is faster than my ISP's DNS server.



    I'm pretty sure the issue is smoker.  I went through this before
    and my old script doesn't work.  Basically, smoker isn't
    forwarding the traffic from Lightening to the internet.   I been
    following the home router howto and even turned the commands they
    list into s new script.  Still no workey.


If you're correct then ip forwarding is off;
cat /proc/sys/net/ipv4/ip_foward should be 1. If its 0 then smoker is not routing, and you need to make it do that!


ip_forward is set to one.  Confirmed it with cat.

I did this one time before. I found a iptables script and when I ran it, it just worked. The script is old and doesn't work anymore. The last time it was a gateway issue. I'm not sure this time.

I did this. From smoker, I pinged google. I got the IP address from that. I then tried to ping google BY IP address on lightening. It gives me the error "ping: unknown host 72.14.299.99".

Does that give any clues? I'm sure this is something simple that I am missing. Again, I suck at networks. I'm a 1/2 watt light bulb on a bright sunny day on this. lol

Thanks.

Dale

:-)  :-)

Reply via email to