Line 44: | Line 44: | ||
* [[Tools/NetworkManager/Integration|Integration with other tools]] | * [[Tools/NetworkManager/Integration|Integration with other tools]] | ||
* Connection 'assume', bad for IPv4, none for IPv6 | * Connection 'assume', bad for IPv4, none for IPv6 | ||
* dispatcher.d | |||
== Possible future features == | == Possible future features == |
Revision as of 11:45, 27 July 2012
NetworkManager
NetworkManager is the primary configuration service for networking.
It provides automatic network detection and configuration for the system. Once enabled, the NetworkManager service also monitors the network interfaces, and may automatically switch to the best connection at any given time. Applications that include NetworkManager support may automatically switch between on-line and off-line modes when the system gains or loses network connectivity.
These facilities are most useful for modern laptops, where the user may move between wireless networks, and plug in to a variety of wired networks, but NetworkManager also provides features that are relevant to workstations. Current versions of NetworkManager support modem connections, and certain types of VPN. Development of these features is ongoing.
NetworkManager requires Fedora to have drivers for the wired and wireless interfaces on the computer. Many manufacturers of modems and wireless devices provide limited support for Linux. You may need to install additional drivers or firmware on your Fedora system in order to activate these interfaces.
Documentation
http://projects.gnome.org/NetworkManager/developers/api/09/index.html
NetworkManager objectives
NM is slowly changing from a desktop network connection configurator to a universal network configuration software that could be used as a part of the base system.
- Provide core network configuration features
- Expose the features through on-disk text-based configuration
- Expose the features through D-Bus API
- Provide basic CLI and GUI (other CLI/GUI frontends can be built on top of NetworkManager)
Features
- Configuration using keyfile and ifcfg-rh formats
- Good IPv4 support
- Moderate IPv6 support
- Device bonding/teaming (not tested yet)
- D-Bus interface
- CLI frontends
- GUI frontends
Broken features
- Integration with other tools
- Connection 'assume', bad for IPv4, none for IPv6
- dispatcher.d
Possible future features
- Ethernet Bridging
- Keeping wired devices allways on (for IPv6 link-local networking)
- Support for IPv6 automatic reconfiguration (changing default routes, etc...)
- Event-based IPv6 handling without timers and duplicate processing (would clean logs and make code more robust)
- Exporting list of DNS servers and handing it over to recursive DNS servers like unbound and dnsmasq (especially necessary for proper VPN access)
- Local caching nameserver with DNSSEC and forwarders
- Support for networking on manually created interfaces (e.g. bridges)
- Support for easy temporary connection setup through CLI, D-Bus (and GUI)
- Support for making (the above) temporary connections permanent
- It should be possible to configure NetworkManager not to manage any devices by default (each device managed only by explicit configuration), cmdline switch might be handy
- NetworkManager should probably log external IPv4/IPv6 address/routing changes, as well as bridge configuration changes
- NetworkManager should have an option to clean up any stuff created by itself (bridge/bond devices, addresses, etc)
Note: Some of the features described here may have been already available and working at some point of time.
More resources:
Community feature requests (mostly from bugzilla)
- Automatically connect VPN for a physical connection
- Implement (wireless) connections priority
- Automatically reconnect dropped VPN
- Simultaneous VPN connections
- Captive portal authentication
- OLSRd
- IPv6 connection sharing
- N2N
- Importing various VPN configuration formats
- 6to4
- Tor
- UPnP
Known problems
- NetworkManager gets automaticaly respawned in F17, no sane way to temporarily disable it
- dhclient left over upon exist and spawned duplicately (also dhclient's check failes when permision denied when writing pidfile)
- Serious IPv6 problems (some of fixed in git, targeting 0.9.6), affecting also IPv4 networking and link
- IPv6 code is still full of workarounds
- Malfunctioning connection 'assume' functionality for IPv4 (removed for IPv6)
- NetworkManager's dispatcher fails to call scripts at resume
- Serious doubts about working integration with network-scripts
- Doesn't work well with dnssec-trigger/unbound/dnsmasq (DNS is not conveyed)
- Other things work only when in some specific state
- NM writes to its own configuration file
- Desktop: NM GUIs keep asking for wifi passwords
- NetworkManager features are not currently implemented with testability in mind
- NM won't sometimes set custom MAC address
- Too many open bug reports, many probably obsolete, especially on component NetworkManager/general in Gnome Bugzilla (230+ at the time of writing this)
Note: some of the problems are deep in the core of NetworkManager. It can be expected that more problems will emerge over time or while fixing the currently known ones. https://bugzilla.redhat.com/show_bug.cgi?id=815243
Unreproduced problems
- List of unmanaged devices (by MAC) is sometimes ignored
- Manually assigned IPv4 addresses get lost (in tens of seconds)
Steps to 100% reproduce those are unknown, any help appreciated.
Notes
- NetworkManager builds against specific distributions, not tools or dependencies (--with-distro)
About this section of the wiki
Currently most of the information in this page and the Tools/NetworkManager subtree have been added by me (User:Pavlix). Please feel free to add, correct and clarify stuff but please get in touch with me before deleting.
Further Information
- Refer to the System Administrator's Guide here: Fedora Documentation
- Red Hat Magazine article on NetworkManager : Good summary of the technology
- The NetworkManager Website
- The NetworkManager mailing list
- Local Caching Nameserver