You are not logged in.

#1 2009-03-07 09:04:16

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

[Solved] Lan Computer Unable to Connect to Internet

I'm building a Arch linux router that has one lan client and I set it up using dnsmasq.  I'm able to connect with dhcpcd from the lan computer and the routing table gets configured but it looks off:

route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         192.168.0.7     0.0.0.0         UG    0      0        0 eth0

The gateway points to the router lan nic address.  Is that right?  I seem toremember differently.  This is my first time setting up a router in arch and I could use some-help. 

When I ping, I get this:

ping archlinux.org
PING archlinux.org (66.211.213.17) 56(84) bytes of data.
^C
--- archlinux.org ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 2999ms

I've tried links too but no dice.  I'm probably missing something obvious.  What I need to do?

Last edited by Gen2ly (2009-03-08 01:54:52)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#2 2009-03-07 10:29:58

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: [Solved] Lan Computer Unable to Connect to Internet

If that is the routing table on the client it looks ok to me except for the 169. .254.0.0 route. Not sure what that is. DNS seems to be working. Have you enabled forwarding on the router?

echo 1 > /proc/sys/net/ipv4/ip_forward

If you have maybe some info from the router would help. It's routing table perhaps.

Offline

#3 2009-03-08 01:53:51

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: [Solved] Lan Computer Unable to Connect to Internet

I've been playing with OpenBSD for a while so I forgot a few things.  I also forgot the iptables-rule.   Uggh!  Anyways, I decided to write about it because I tend to forget such things. big_smile


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

Board footer

Powered by FluxBB