Hi.
I recently decided to try comcast cable modems, switching from AOL DSL. With AOL DSL, I would connect to the net with ppp0, then use firestarter to share the connection, and then i would use dhcpd to assign the other computers an ip address.
Right now I think I'm stuck on the last part. I changed firestarter and my dhcpd conf to work with my new configurations, but when i try and start up dhcpd i get:
Starting dhcpd: Internet Software Consortium DHCP Server 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit
http://www.isc.org/dhcp-contrib.html
Listening on Socket/eth1/192.168.0.0
Sending on Socket/eth1/192.168.0.0
No subnet declaration for eth0 (24.x.x.x).
Please write a subnet declaration in your dhcpd.conf file for the
network segment to which interface eth0 is attached.
exiting.
I've tried different subnets and different configurations, even tried a class A network, my last attempt was with this:
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.100;
option domain-name-servers 216.x.x.x;
option domain-name "attbi.com";
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
default-lease-time 9000;
max-lease-time 10000;
}
I really don't know what the subnet should be:
eth0 Link encap:Ethernet HWaddr 00:E0:29:3E:EB:C4
inet addr:24.x.x.x Bcast:255.255.255.255 Mask:255.255.240.0
I don't understand why the first octet is 24 first of all, second, i don't know what that 240 is.
My last configuration worked fine like this:
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.100;
option domain-name-servers 198.x.x.x;
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
default-lease-time 9000;
max-lease-time 10000;
}
And never complained when ppp0 was connected, any advice?