network troubles

Discussion in 'Installation/Configuration' started by commentator, Aug 23, 2012.

  1. commentator

    commentator Member


    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?

  2. Mark_NL

    Mark_NL New Member

    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?
  3. commentator

    commentator Member


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

    Mark_NL New Member

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

    commentator Member

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

    commentator Member

    problem found:
    no route on router for the network.
    solved it for now wit:
    route add -net netmask gw
    how to add this automatically?
  7. Mark_NL

    Mark_NL New Member

    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
  8. commentator

    commentator Member

    problem was typo in networkconfig

Share This Page