[olug] AAARRRRGGGHHHH!!!! (More DHCP)

Jon thechunk at thechunk.dhs.org
Thu Mar 22 22:19:50 UTC 2001


Here is the correct way to add a network.  PS you need this in your startup somewhere if it works.
 route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0 

On Thu, Mar 22, 2001 at 10:15:01PM +0000, Jon wrote:
> type route and see what output there is.  DHCP isn't dependent on routes though I woudln't think.  Routes are ip based and dhcp is assigned at a lower level than that.  I guess make sure that you have the 192.168.1.0 network assigned.  if you type route you should see something like this.
> localnet        *               255.255.255.0   U     0      0        0 eth0 
> to add it I think you type
> route add -net 192.168.1.0 -netmask 255.255.255.0 eth0 
> I am probably wrong on this so double check it.
> 
> 
> On Thu, Mar 22, 2001 at 09:12:27PM -0600, Jason Ferguson wrote:
> > Okay, to answer:
> > 
> > Phil Brutsche wrote:
> > 
> > >> Now, here is my dhcpd.conf file
> > >> ----------------------
> > >> default-lease-time 600;
> > >> max-lease-time 7200;
> > >> 
> > >> option subnet-mask 255.255.255.0;
> > >> topion broadcast-address 192.168.1.255;
> > >> option routers 192.168.1.1;
> > >> 
> > >> option domain-name-servers 24.3.232.33, 24.3.232.34;
> > >> 
> > >> option domain-name "blvue1.ne.home.com";
> > >> 
> > >> subnet 192.168.1.0 netmask 255.255.255.0
> > >> {
> > >>    range 192.168.1.105 192.168.1.250;
> > >> }
> > > 
> > > That should work fine.  Let's check some simple things first.
> > > 
> > > 1) Is dhcpd listed when you run "ps aux" on the Linux firewall?
> > 
> > Yes.
> > 
> > > 2) What does the DHCP client do when you try to get an IP number?  Having
> > >    around that actually *tells* you what's going on (ie not MacOS or
> > >    Windows) is valuable in this situation.
> > 
> > okay, something like this (Im going from memory, I have to reconfigure 
> > back to the Linksys thingee to get back online):
> > 
> > DHCPREQUEST .... interval X
> > DHCPDISCOVER ... interval X
> > DHCPDISCOVER ... interval X
> > 
> > (Is that enough info?)
> > 
> > > 3) What sort of ipchains rules (I'm assuming that you're using 2.2.x) does
> > >    the Linux firewall have?  Can you list them?
> > 
> > No firewall rules are configured yet.  I wanna get the hosts networked 
> > and pinging each other before adding another layer of complexity with 
> > the firewall script.
> > 
> > Now, Im tempted to say this isnt really a DHCP problem... last night the 
> > hosts couldnt ping each other.  I cant say for SURE its not DHCP though, 
> > but it could be route too. I do NOT know how to use route at the moment.
> > 
> > > - -- 
> > > - ----------------------------------------------------------------------
> > > Phil Brutsche					pbrutsch at creighton.edu
> > > 
> > > GPG fingerprint: BDA4 C23C 1989 31FF CBE8  7EB4 6CA7 9636 941E 8451
> > > GPG key id: 941E8451
> > > GPG public key: http://www.creighton.edu/~pbrutsch/public-key.asc
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.0.4 (GNU/Linux)
> > > Comment: Made with pgp4pine
> > > 
> > > iD8DBQE6urLBbKeWNpQehFERAgu5AJ41KWnHuymNs55qQ3vCzGIijsjhMACePkVC
> > > NIEgoIjjdeguax59eL6w0Es=
> > > =izab
> > > -----END PGP SIGNATURE-----
> > > 
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: olug-unsubscribe at bstc.net
> > > For additional commands, e-mail: olug-help at bstc.net
> > > 
> > > 
> > > 
> > 
> > 
> > 
> > -- 
> > "That as we enjoy great advantages from others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously." - Benjamin Franklin, 1742,
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: olug-unsubscribe at bstc.net
> > For additional commands, e-mail: olug-help at bstc.net
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: olug-unsubscribe at bstc.net
> For additional commands, e-mail: olug-help at bstc.net

---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net



More information about the OLUG mailing list