Bug 446527
| Summary: | no gateway route setup for network | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tom Horsley <horsley1953> | ||||||||
| Component: | NetworkManager | Assignee: | Dan Williams <dcbw> | ||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | low | Docs Contact: | |||||||||
| Priority: | low | ||||||||||
| Version: | 9 | CC: | jmoskovc, madko, wtogami | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2008-05-19 22:53:17 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Tom Horsley
2008-05-14 22:53:26 UTC
I just got the iproute-2.6.25-1.fc9.x86_64 update installed, and thought that might have something to do with this bug, but when I rebooted, I still had no route to my gateway :-(. On my machine at work, I also don't get DNS info in resolv.conf, even though I specified it at installation time the same way I did when installing at home. Disabling the NetworkManager service and enabling network instead fixes everything. Maybe anaconda should just do that when you specify a static IP? Tom: installation with Anaconda within the past few weeks will write out the correct DNS information to your ifcfg files, which will allow NetworkManager to set up your DNS correctly. NM handles static IPs and static DNS just fine as long as anaconda writes out the stuff correctly. I verified this yesterday with a Fedora 9 Gold LiveCD install. Could you attach your /etc/sysconfig/network-scripts/ifcfg-eth0 file so we can see if it's set up correctly? Created attachment 305533 [details]
/etc/sysconfig/network-scripts/ifcfg-eth0 from sys with no DNS
Here's the eth0 script from the system at work which had no DNS info.
I swear I put it in during install (which was using the i386 DVD image
from the official f9 release).
In fact, I must have put it in, because which I switched back to the
network script instead of NetworkManager, everything worked, so it did
have the info somewhere.
Created attachment 305634 [details] ifcfg-eth0 from fresh f9 install here is my ifcfg-eth0, static network configuration during install, and now no default route on boot. Fix in Bug #446428 resolves the problem mmm no doesn't really fix the problem, sorry, the network connection is messy, some apps (firefox, packagekit) think the computer is offline. So i remove the ifcfg-eth0 and now NetworkManager find the link and network is fine (not static as i wish but I can wait till it get fixed) I think the issue is a missing gateway in the ifcfg file, which is probably in /etc/sysconfig/network actually. I'll push an update to pull info from that file if the ifcfg file doesn't have it. Can you attach your /etc/sysconfig/network file? Created attachment 305986 [details]
/etc/sysconfig/network
Here's the network file. I'm pretty sure it has all the info correct
since everything worked fine once I disabled NetworkManager and enabled
network.
Thanks; that's what I need. Will be fixed in an update for F9; already fixed in rawhide with svn3675 and later. When they finish, can you try: http://koji.fedoraproject.org/koji/taskinfo?taskID=618281 thanks! Of course you'll want to: /sbin/chkconfig NetworkManager on /sbin/chkconfig network off service NetworkManager start after installing the new packages. Hey, it worked! I installed the x86_64 packages from comment #10 above, disabled network, enabled NetworkManager, and rebooted, and my network was functional. Didn't have to add the gateway by hand. Of course, now I've added bug 447442 :-). Awesome, closing this one then. Thanks! NetworkManager-0.7.0-0.9.3.svn3675.fc9 has been submitted as an update for Fedora 9 |