PDA

View Full Version : DHCP, Internet sharing issue


mitho7
11th May 2007, 05:21
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

falko
12th May 2007, 19:00
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
What's the output of ifconfig and route -nee?