Product SiteDocumentation Site

18. Networking

18.1. User Tools

18.1.1. NetworkManager

NetworkManager now has support for DHCP hostname, NIS, ISDN, WPA, WPA supplicant (wpa_supplicant), and WPA-Enteprise. It has a new wireless security layer. The VPN and dial up support has been enhanced. Applications such as Evolution now integrate with NetworkManager to provide dynamic networking capabilities. NetworkManager is disabled by default in Fedora as it is not yet suitable for certain configurations, such as system-wide static IPs, bonding devices, or starting a wireless network connection before login.
To enable NetworkManager from the desktop:
  1. Open the Services application from the menu System > Administration Services
  2. From the Edit Runlevel menu, choose Runlevel All
  3. Ensure that the 3 boxes next to the dhcdbd item in left-side list are checked
  4. Select dhcdbd in the list, and click the Start button
  5. Ensure that the 3 boxes next to the named item in left-hand list are checked
  6. Select named in the list, and click the Start button
  7. Ensure that the 3 boxes next to the NetworkManager item in left-side list are checked
  8. Select NetworkManager in the list, and click the Start button
To enable NetworkManager from the command line or terminal:
  1. su -c '/sbin/chkconfig --level 345 dhcdbd on'
  2. su -c '/sbin/service dhcdbd start'
  3. su -c '/sbin/chkconfig --level 345 named on'
  4. su -c '/sbin/service named start'
  5. su -c '/sbin/chkconfig --level 345 NetworkManager on'
  6. su -c '/sbin/service NetworkManager start'
For a list of common wireless cards and drivers that NetworkManager supports, refer to the NetworkManager Hardware page.

18.1.2. iproute

The IPv4 address deletion algorithm did not take the prefix length into account up to kernel version 2.6.12. Since this has changed, the ip tool from the iproute package now issues a warning if no prefix length is provided, to warn about possible unintended deletions:
  • ip addr list dev eth0
    4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
       inet 10.0.0.3/24 scope global eth0
    
    
    su -c 'ip addr del 10.0.0.3 dev eth0' 
    Warning: Executing wildcard deletion to stay compatible with old
          scripts. Explicitly specify the prefix length (10.0.0.3/32) to
          avoid this warning. This special behaviour is likely to disappear
          in further releases, fix your scripts!
    
    
The correct method of deleting the address and thus avoiding the warning is:
su -c 'ip addr del 10.0.0.3/24 dev eth0'

Previously, it was not possible to tell if an interface was down administratively or because no carrier was found, such as if a cable were unplugged. The new flag NO-CARRIER now appears as a link flag if the link is administratively up but no carrier can be found.
The ip command now supports a batch mode via the argument -batch, which works similar to the tc command to speed up batches of tasks.