hi

i am compleatly stumped..
I am trying to set up my debian woody box to collect the internet on 
eth0 via dhcp then forward it to anyone connected to my hub on eth1 
also via dhcp..

I have read every doc /howto/minihowto i can find and followed every 
list of instructions.. and basicly i can connect to the net fine.. if 
ppl set me as there gateway masq works a charm but dhcp is as dead as 
a doornail between me and the internel net .. it does precisly zip..

I apt-got dhcp
then configured /etc/dhcpd.conf
then edited /etc/init.d/dhcp (change the run thing to 1 as specified)
then ran dhcpd eth1 to test it.. i also tried it from /etc/init.d/dhcp

nothing.. no pc's could connect or even get an ip.. i tried dhcp -d 
-f  as specified in the docs.. nothing.. ps ax revels no existance of 
dhcp etc..

I also added route add 255.255.255.255 dev eth1  for picky clients 
also as specified.

so 2 Q a) what have i forgotten/missed/stuffedup
and b)  why are there 3 programs. dhcpd , dhcpd-2.0.x and dhcpd-2.2.x 

vila:/home/salmona# cat /etc/dhcpd.conf 
subnet 192.168.1.0 netmask 255.255.255.0 
{
range 192.168.1.2 192.168.1.60;
default-lease-time 86400;
max-lease-time 86400;
option routers 192.168.1.1;
option ip-forwarding on;
option broadcast-address 192.168.1.255;
option netmask 255.255.255.0;
}
vila:/home/salmona# 

vila:/home/salmona# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    
Use Iface
255.255.255.255 *               255.255.255.255 UH    0      0       
0 eth1
192.168.0.0     *               255.255.255.0   U     0      0        
0 eth1
202.156.17.0    *               255.255.255.0   U     0      0        
0 eth0
default         202.156.17.1    0.0.0.0         UG    0      0        
0 eth0
vila:/home/salmona# 



vila:/home/salmona# ipchains -L
Chain input (policy ACCEPT):
Chain forward (policy DENY):
target     prot opt     source                destination           
ports
MASQ       all  ------  anywhere             anywhere              n/a
Chain output (policy ACCEPT):
vila:/home/salmona# 

yes i know its a bad policy but for testing itl do


thanks alot.. 

alex

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to