You are not logged in.
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
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
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.
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline