LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-09-2002, 08:40 AM   #1
tharris
Member
 
Registered: Jun 2002
Location: Albany, GA
Distribution: Slackware 9.1, Debian Woody (2.4.18-bf2.4)
Posts: 34

Rep: Reputation: 15
Question 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
 
Old 06-09-2002, 11:10 AM   #2
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libapache-mod-cgi-debug in debian sarge rblampain Debian 1 11-04-2005 10:34 PM
DHCP in debug mode lapthorn Linux - Networking 1 12-03-2003 07:22 AM
Whats so hard about debian? h1tman Debian 33 10-01-2003 06:09 PM
Debian? Whats the score? KiLLaWaBBiT Linux - Distributions 10 04-06-2003 02:30 PM
new debian install ... whats' next? xwindows?? rishineedsajob Linux - Newbie 1 03-25-2003 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration