[Dnsmasq-discuss] Dnsmasq is ignoring dhcp-option=option:router, 192.168.0.1

Linux User linuxuser09 at gmx.com
Fri Oct 23 06:35:06 BST 2009


On Friday 23 October 2009 12:19:46 am you wrote:
> 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
> 
> ie
> netsrv.comp1.localnet.webwaredev.org
> gets
> netsrv.comp1.lo<snip>
> 
> 
> Cheers
> 
> Tim Allingham
> 
> -----Original Message-----
> From: Linux User <linuxuser09 at gmx.com>
> To: dnsmasq-discuss at lists.thekelleys.org.uk
> Subject: [Dnsmasq-discuss] Dnsmasq is ignoring
> dhcp-option=option:router, 192.168.0.1
> 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
> netsrv.comp1.localnet.webwaredev.org)
> 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
> Thank You
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 

 Thank YOU Tim Allingham, it was echo 1 > /proc/sys/net/ipv4/ip_forward all 
along. My fwbuilder Firewall script was suppose to enabled that during boot. 
I'll don't know what happened and I'm investigating why not. Thanks again...


linuxuser09 at gmx.com
Thank You

P.S. Tim Allingham if you got allot of emails, it was meant to go to this 
list. Didn't realize until now



More information about the Dnsmasq-discuss mailing list