LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Debian DHCP (cablemodem) ... Please debug ... whats next? (https://www.linuxquestions.org/questions/linux-networking-3/debian-dhcp-cablemodem-please-debug-whats-next-22976/)

tharris 06-09-2002 08:40 AM

Debian DHCP (cablemodem) ... Please debug ... whats next?
 
I'm very new to Linux in general and a friend of mine, who's very familiar with debian, set me on this path. I have learned a lot because of all the reading I had to do. But this is killing me. First as I stated in another thread, I have a router running using BBIagent. But I want a little more control of my network and I want to be able to add a wireless NIC later on. But I think I have edited my dhcpd.conf file and I;m not sure ... please look at the following and tell me if I am on the right track to setting up DHCP on my Debian box as I wana move from BBIagent to my own ROuter/Firewall setup.
========================================
First of all I see when the kernel boots as I did get Dhcp server to start at bootup

Address range 192.168.2.100 to 192.168.2.200 not on net 192.168.1.1/255.255.255.0!

Does that mean its running good?? 192.168.1.1/255.255.255.0 is eth0 (the NIC where I want my cablemodem to come into.
========================================

ifconfig displays this
eth0
Link encap:Ethernet HWaddr **.**.**.**.**.**
inet addr:192.168.1.1 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

eth1
Link encap:Ethernet HWaddr **.**.**.**.**.**
inet addr:192.168.1.2 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
========================================
dhcpd.conf
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 204.127.202.4, 216.148.227.68; (Mediacom's DNS Servers)
option domain-name "mydomain.com";
option netbios-name-servers 192.168.1.1;
default-lease-time 600;
max-lease-time 7200;

subnet 192.168.1.1 netmask 255.255.255.0 {
range 192.168.2.100 192.168.2.200;
range 192.168.2.150 192.168.2.200;
}
==========================================

These 3 areas are the three i have edited so far. I'm a little concerned and have not unplugged the BBIagent router to see if it works. I wish i could telnet over to the BBIagent box to see what settings it has ... but It wont let me in.

anyway

is everything setup ok ... and if so ... whats next to get the cable modem to work?

tharris
:newbie:

Noerr 06-09-2002 11:10 AM

you are trying to assing ip addresses from different class. ie.
you local network is 192.168.1.0/24 (class 1) and you are trying to give ip addresses from class 2 (192.168.2.200 ..)

I suggest you first read linux networking guide from www.linuxdoc.org


All times are GMT -5. The time now is 05:19 PM.