Dear Luggers, Hi...2 all..... I m facing a problem for configuring 2 NIC for sharing my Internet Connection. Plz. find the complete problembelow. I m having 2 Machines. On one I m having Direct Cable Internet Connection...i.e. on Ethernet Technology. And that machine is having Linux 7.1 with Squid configured properly. I want to share that on 2-3 machines. All other machines having Win98. I want to set up its TCP/IP Configuration as Using DHCP Server and I want to make my first PC as DHCP Server for my Internal Network. For that matter I edited the file /etc/dhcpd.conf Its contents is as follows in /etc/dhcpd.conf
subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.2 192.168.0.10; option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.1; } subnet 202.131.99.81 netmask 255.255.255.0 { option broadcast-address 202.131.99.255; option routers 202.131.99.81; } And then I restart DHCP Service using "dhcpd -f" command. Then it has given me error as follows.
Listening on Socket /etc/192.168.0.0 Sending on Socket /etc/192.168.0.0 No subnet declaration for eth0 (202.131.99.81) Please write a subnet declaration in your dhcpd.conf file for the network segment to which interface eth0 is attched. exiting.
My Internet Service Provider has provided us some fixed IPs...I would like to mentioned that I already started Squid for Netsharing. After that I've provided all the machines IP address manually. And I can be able to browse the websites. But I want to make my Linux machine as DHCP server for my Internetwork. So, in above situation where the defect amy be left by me...???? Plz. suggese me some solution for that. Regards, [Ashish Desai]
__________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com