DHCP, Internet sharing issue

Discussion in 'Installation/Configuration' started by mitho7, May 11, 2007.

  1. mitho7

    mitho7 Member

    hi,
    I have instaled the DHCP as per (http://www.howtoforge.com/dhcp_server_linux_debian_sarge), but other computers can not access the internet, nither can ping any ip. They getting the ip address from DHCP. I can do ssh to the box that instaled DHCP(192.168.1.100) from my lan.

    I also notice i cannot ping to default gatway 192.168.1.1 from 192.168.1.100 box.

    if i do route:
    *.myispdnsaddress * 255.255.255.255 ppp0
    192.168.1.0 * 255.255.255.0 eth0
    default * 0.0.0.0 ppp0

    also i have added the default ppp0 manuly. Normaly default comes to eth0 with 192.168.1.1

    I have two NIC on that box other one is disabled. I'm using same switch to connect ADSL and other computer is also connected to that switch.

    switch -> ppp0
    switch -> eth0
    switch -> LAN

    Do i need to use 2nd NIC to connect the switch for LAN? like:

    eth0 -> ppp0
    switch -> eth1
    switch -> LAN

    Thanks
    Bip
     
    Last edited: May 11, 2007
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ifconfig
    and
    Code:
    route -nee
    ?
     

Share This Page