Re: dhclient problem

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

 



Hello,

i solved it, 2 steps are needed.
first you need to create /etc/dhcp/dhclient.conf

write the request options inside the file, in my example;

request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name, nis-domain, nis-servers, ntp-servers, static-routes;


this file is used by network service. If i restart network service after creation of the file, i got the static routes in my routing table.


But this file doesnt effect NetworkManager service. So if u r using Gnome (im not sure about KDE) you need to create per interface dhclient.conf files.

- ln -s /etc/dhcp/dhclient.conf /etc/dhclient-eth0.conf
- ln -s /etc/dhcp/dhclient.conf /etc/dhclient-wlan0.conf

Thats it.

Regards


On 07/15/2009 01:50 PM, koray wrote:
i learned that is caused by dhclient's default dhcp requests*. If i add
"static-routes" as a request parameter to dhclient binary, i can get the
static route information from dhcp server.
Now im looking for howto make this setting auto/permanent. I looked for
dhclient.conf on the system but there isn't.

Is there anyone has a working dhclient.conf file to share?

* from dhclient man page;

The default option list is:
subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, host-name, nis-domain,
nis-servers, ntp-servers


On 07/14/2009 10:23 PM, koray wrote:
Hello,

we have a network with Window 2k DHCP server configured with "ip
addr/netmask/dns/default gw/static route" publishing.
Windows boxes can receive all these settings properly but my fedora 11
doesnt receive the static route option from dhcp. The other settings are
ok.

Any advices?

Regards





--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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