SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

IFUP

Section: Network configuration (8)
Updated: August 2004
Index 

NAME

ifup - start a pre-configured network interface.
ifdown - stop a (pre-configured) network interface.
ifstatus - show the state of a (pre-configured) network interface.
ifprobe - checks if the configuration for the interface has changed

 

SYNOPSIS

if{up,down,status,probe}[<configuration-name>]<interface>[-ooptions]

 

NOTATION

We use the termsconfiguration, interfaceanddevicein a dedicated way. Adeviceis always a piece of hardware representing a network interface, a PCI orPCMCIA card or a USB device. Aninterfacethen is the name of the network interface it gets from the kernel, when thedevice has been registered. Aconfigurationis a set ofparameters which can be assigned to an interface like IP addresses or routes.

 

DESCRIPTION

ifupis used to bring up a pre-configured interface for networking. It is usuallyinvoked by the network script at boot time or by the PCMCIA/hotplug system.It can also be used to start interfaces manually on the command line.It activates the link, adds addresses and other parameters and sets up theroutes for an interface.
Former iprenew operation is performed upon each successfull ifup call.ifdownis used to set down the interface and flush all its addresses. It is possibleto let ifdown check the interface if it is still used before setting it down.If configured it may then get rid of the using processes or refuse setting itdown. Have a look at/etc/sysconfig/network/configto enable this feature.ifstatuschecks if the interface and its routes were set up properly.ifprobechecks if any of the configuration files for this interface have been changedsince the interface is up.<interface>is the network interface name.
The network interface names of physical network devices are assigned bythe kernel and may be modified byudev(7)rules.<configuration-name>This optional parameter exists for compatibility reasons only and is not used.

 

OPTIONS

The following are options to be specified after the -o switch.
debug
Be verbose.
quiet
Silent mode. Feedback only via return code.
force
Applicable to ifdown only. Forces persistent (nfsroot type) interface down.

 

FILES

/sbin/ifup
The script itself.
/etc/sysconfig/network/config
General configuration options. See section GENERAL VARIABLES below.
/etc/sysconfig/network/ifcfg- <configuration-name>
The files containing the configuration of the devices.An example that shows a typical configuration with the nameifcfg-eth0:
IPADDRESS=10.10.11.184NETMASK=255.255.0.0BROADCAST=10.10.255.255STARTMODE=onbootBOOTPROTO=static
/etc/sysconfig/network/ifroute- <configuration-name>
You can specify individual routes for every configuration in these files. Seeroutes (5) for a detailed description.

 

GENERAL VARIABLES

There are some general settings in the file/etc/sysconfig/network/config.If needed you can also set most of the general variables as an individual variablein theifcfg-*files.Please see the description of these variables in/etc/sysconfig/network/config.

For dhcp there are additional global options in/etc/sysconfig/network/dhcp.Also these are described there and can be used individually inifcfg-*files.

 

DIAGNOSTICS

ifstatusinterface

wicked generates debug output when called withdebugoption set to a particular facility (e.g. all). Please use it, when something wrong is happening.

 

COPYRIGHT

Copyright (C) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. 

BUGS

Please report bugs at <https://bugzilla.novell.com/index.cgi> 

AUTHORS

Pawel Wieczorkiewicz
 

SEE ALSO

ifcfg(5),routes(5),wicked(8),ifcfg-wireless(5),ifcfg-tunnel(5),ifcfg-vlan(5),ifcfg-bonding(5),


 

Index

NAME
SYNOPSIS
NOTATION
DESCRIPTION
OPTIONS
FILES
GENERAL VARIABLES
DIAGNOSTICS
COPYRIGHT
BUGS
AUTHORS
SEE ALSO

This document was created byman2html,using the manual pages.