FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi,
Just installed Fedora 15, updated to latest and most everything is working. One weird problem is that I am not getting an IP assigned on eth0 on boot, but if I do systemctl network restart it does.
This is my firewall so eth0 (DHCP) is connected to cable modem,
p3p1 (static) is connected to my internal LAN.
After boot, ifconfig shows eth0 UP but no IP assigned. No errors in the log, just looks like dhclient didn't run.
I am not sure what the following entry FORWARD_IPV4="yes" doing in /etc/sysconfig/network because you configure packet forwarding in /etc/sysctl.conf
I went looking for valid options in network and I don't think FORWARD_IPV4, NETWORKING_IPV6 or NETWORKING_IPV4 are valid. They don't hurt anything since its just a file included in other scripts, but they don't mean anything either so I took them out. I do have forwarding set in /etc/sysctl.conf and it does come up correctly.
Quote:
Also when the system comes up check if dhclient is loaded or not.
Run: ps -eaf | grep dhclient
I hope this helps.
dhclient is not running when the system boots with no IP.
After it came up I ran:
Code:
/etc/sysconfig/network-scripts/ifup-eth eth0
That started dhclient and acquired an IP address. Now I need to figure out why it failed during boot.
Other thing I forgot to mention is that I am not running NetworkManager because I don't want it changing my scripts.
Check the status of network and network manager using chkconfig. I turned both of them off on my RHEL6 system and was not able to get dhclient loaded. Even if your network service is set to be on and NetworkManager not then you won't be able to get dhclient loaded.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.