HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   network troubles (

commentator 23rd August 2012 11:00

network troubles

Setting up a new network.

subnet netmask {
interface eth1;
option broadcast-address;
option subnet-mask;
option routers;
option domain-name-servers;
default-lease-time 900;
max-lease-time 7200;

clients getting an ip.
It works ok when they receive an 10.0.0.x address. When they receive for example an 10.0.1.x address the pc can't go to internet.

Can you tell me how to solve this problem?


Mark_NL 23rd August 2012 11:12

When the device has a 10.0.1.x address, can you ICMP ping with it?
(check with tcpdump if ICMP ping reaches the router)

Does your router have the correct netmask settings? The settings of the dhcp server seem correct, maybe you mistyped something on the router?

If you can ICMP ping the router, maybe you've firewalled some stuff?

commentator 23rd August 2012 13:02


thanks for your reply.
I cannot ping from 10.0.1.x address. No firewall active yet ...

Mark_NL 23rd August 2012 13:09

Ok, but do you see any incoming packets at all with tcpdump ?

commentator 23rd August 2012 13:26

gateway/router is same machine as dhcpserver (for test @the moment)

commentator 23rd August 2012 14:00


Originally Posted by Mark_NL (Post 284111)
Ok, but do you see any incoming packets at all with tcpdump ?

problem found:
no route on router for the network.
solved it for now wit:

route add -net netmask gw
how to add this automatically?

Mark_NL 23rd August 2012 14:16

That should actually be:

route add -net netmask gw
that should tell the router "ok, everything in the range ( up to should be send to"

If you have your network settings correctly setup on your router, this route should already be there.

see: route -n

commentator 23rd August 2012 17:09

problem was typo in networkconfig

All times are GMT +2. The time now is 14:40.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.