[Dnsmasq-discuss] Dnsmasq is ignoring dhcp-option=option:router, 192.168.0.1
tim at theallinghams.com
Fri Oct 23 05:19:46 BST 2009
Have you set up any routing for the first PC to pass packets back and
forth to the net? I assume PC 1 is a linux box?
if so you'll generally need to enable ip_forward in the /proc filesystem
normally to do this is
~# echo 1 > /proc/sys/net/ipv4/ip_forward
for routing, you'll also need to enable NAT or IP Masquerading to allow
the second PC to access the net.
if your not sure how to do this in iptables/ipfw or your preferred
firewall software, let me know I would be happy to help you out with
this outside of the list
as to your route, it is correct now, it is using the hostname to report
the default gateway, however the hostname is getting cut off due to the
column width in the route table report
From: Linux User <linuxuser09 at gmx.com>
To: dnsmasq-discuss at lists.thekelleys.org.uk
Subject: [Dnsmasq-discuss] Dnsmasq is ignoring
Date: Thu, 22 Oct 2009 22:46:40 -0400
My primary computer serves as a DHCP/DNS server and sends out request to my
second computer. Everything on the second computer is setup properly except I
can't get my second computer to connect to the internet. Firewall is setup
fine, I don't see in dmesg that it's denying my second computer access to the
internet. Matter of fact, I don't see anything that says my second computer is
trying to connect to the net.
Things I can do on the second computer
ping 192.168.0.1 works
host google.com works
ping (google.com ip address) fail
When I issue the route command, I see: (The name of my DHCP/DNS server is
default netsrv.comp1.lo 0.0.0.0 UG 0 0 eth0
I had set dhcp-option=option:router,192.168.0.1 and I think it should display:
default 192.168.0.1 0.0.0.0 UG 0 0 eth0
but it doesn't...
Any help I can get to help resolve this would be appreciated...
linuxuser09 at gmx.com
Dnsmasq-discuss mailing list
Dnsmasq-discuss at lists.thekelleys.org.uk
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dnsmasq-discuss