RE: Dhclient problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-10-23 at 19:09 -0400, Wandell, Doug wrote:
>  'prepend routers 0.0.0.0' in /etc/dhclient.conf works!  Thank you very
> much.  I'm guessing I can use an 'option router' statement in my subnet
> declaration on the server side as well...?  I'll experiment.

You could if you wanted the DHCP clients to use a different router
than the one the server uses.

The "prepend" bit on the client just sets up any old router.  That'd
be overwritten by what the server hands back.

>   Thanks
> again.

Glad to help.  Oh, and Doug, we kinda prefer bottom-posting here.  Not
a biggie, just thought you'd like to know.

> On Tue, 2007-10-23 at 18:25 -0400, Wandell, Doug wrote:
> > On Tue, 23 Oct 2007 17:37:10 -0400
> > "Wandell, Doug" <dwandell@xxxxxxxxx> took out a #2 pencil and
> > scribbled:
> > 
> > > I've rolled an FC6 live cd that configures eth0 via dhcp. The
> > > default configuration works fine
> > > - /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0
> > > ONBOOT=yes
> > > BOOTPROTO=dhcp
> > > HWADDR=<MAC address>
> > >  
> > > In Wireshark, I see the DHCP Discover, Offer, and ACK. No problem.
> > >  
> > > As soon as I add:
> > > DHCLIENTARGS="-s 192.168.1.100"
> > >  
> > > to /etc/sysconfig/network, dhclient hangs indefinitely. Using
> > > Wireshark on the dhcp server, I can see the DHCP Discover packets
> > > coming in, and the server's DHCP Offer response. But the FC box
> > > won't accept the offer.
> > >  
> > > Anybody know what's going on here?
> > 
> > Have you attempted to run dhclient in the foreground to see what
> > it's doing or possibly spitting to the terminal? Something like
> > 
> > dhclient -d -s 192.168.1.100 
> > 
> > This should force it to stay in the foreground and you can see what
> > is happening. I forget where dhclient logs. I
> > think /var/log/messages...but if you've been muckin' around a
> > lot you may have to grep for the dhclient entries.
> > 
> > -- 
> > ethericalzen@xxxxxxxxx
> > Life is a prison, death is a release
> > 
> > 
> > I'm making some progress - It looks like dhclient cannot reply to the
> > server while running in -s mode due to the lack of a gateway being
> > configured.  I ran dhclient as you suggested - there was no output,
> but
> > while it hung, I issued a 'route add default dev eth0' in another
> > terminal and boom, it worked.
> > 
> > Somewhere in the back of my leaky brain I seem to remember a bug
> report
> > citing something similar.  Bugzilla is my next stop if I can't figure
> > out how to coax dhclient into setting a gateway.
> 
> You can add "prepend routers www.xxx.yyy.zzz" to /etc/dhclient.conf.
> 
> ----------------------------------------------------------------------
> - Rick Stevens, Principal Engineer             rstevens@xxxxxxxxxxxx -
> - CDN Systems, Internap, Inc.                http://www.internap.com -
> -                                                                    -
> -         C program run. C program crash. C programmer quit.         -
> ----------------------------------------------------------------------
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> 
----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens@xxxxxxxxxxxx -
- CDN Systems, Internap, Inc.                http://www.internap.com -
-                                                                    -
-      A day for firm decisions!!!   Well, then again, maybe not!    -
----------------------------------------------------------------------

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux