aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-eth
Commit message (Collapse)AuthorAgeFilesLines
* Replace /var/run with /run everywhereZbigniew Jędrzejewski-Szmek2017-08-031-3/+3
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1471489
* ARPUPDATE introducedDavid Kaspar [Dee'Kej]2017-07-141-1/+1
| | | | | | | | | The ARPUPDATE option has been introduced. It defaults to 'yes'. By setting the ARPUPDATE to 'no', administrator can disable updating neighbouring computers with ARP information about current NIC. This is especially needed when using LVS Load Balancing with Direct routing enabled.
* DHCP_FQDN and DHCP_SEND_HOSTNAME introducedDavid Kaspar [Dee'Kej]2017-05-031-14/+6
| | | | | | | | | | | | | | The way DHCP_HOSTNAME is being sent to DHCP server has been completely reworked... DHCP_FQDN now allows user to specify fully qualified domain name to be sent to DHCP server instead of just using simple hostname. This option takes precedence before DHCP_HOSTNAME variable. DHCP_SEND_HOSTNAME can be used to tell initscripts to not send either DHCP_HOSTNAME or DHCP_FQDN to DHCP server. Both of these options should behave same as they do in NetworkManager.
* ifup-eth: remove quote marksLukas Nykryn2017-03-221-1/+1
| | | | | With quote marks all the parameters to dhclient are passed as one Resolves: #1410429
* sysconfig/network: NO_DHCP_HOSTNAME option introducedDavid Kaspar [Dee'Kej]2016-11-161-6/+10
| | | | | | | Previously, some administrators were unable to force initscripts to not obtatin hostname from DHCP, even though they were using static configuration of network. Righ now, setting 'NO_DHCP_HOSTNAME' to 'yes', 'true' or '1' in /etc/sysconfig/network will allow them to do so.
* network-functions: do not send hostname via dhclient everytimeDavid Kaspar [Dee'Kej]2016-11-101-2/+15
|
* ifup-eth: if arping fails, output responding MACLukas Nykryn2016-10-311-2/+3
| | | | Resolves: #1099026
* Add ability to specify arbitrary route optionsPhil Dibowitz2016-10-271-0/+2
| | | | | | | | | | | | `ifup` can set _some_ route options. Today it's missing several and so, to set something like `mtu` or `advmss` you have to do hacks like: ``` METRIC='10 mtu 1480' ``` which is sub-optimal. Rather than one-off add support for everything in the man page, provide a hook for arbitrary extra route options.
* Use the is_true() and is_false() functions where possibleDavid Kaspar [Dee'Kej]2016-10-121-5/+5
|
* [3/3] Remove tabs and fix spacing: ifup/ifdown scriptsPhil Dibowitz2016-10-121-148/+147
|
* ifup-eth: fix setting preferred_lft and valid_lftLukas Nykryn2016-06-231-1/+1
|
* ifup: set valid_lft and preferred_lft to forever for static ipBlake Caldwell2016-05-301-0/+3
|
* network-scripts: DEVICE and HWADRR could be quoted by apostropheLukas Nykryn2015-10-271-1/+1
|
* ifup-eth: some bridge options are applied laterLukas Nykryn2015-09-161-1/+3
|
* bonding: warn if the ifup for slave device failedLukas Nykryn2015-05-071-1/+1
|
* adjust LINKDELAY when STP is onLaine Stump2014-11-121-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | This resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1162822 When ifup is called on an interface that has BOOTPROTO=dhcp, ifup-eth will call network-functions:check_link_down() to wait for carrier on the interface before starting dhclient. If the interface happens to be a bridge device, carrier will not come on until at least one attached device is in "forwarding" mode. If the bridge has STP enabled, it takes at least $DELAY * 2 + 5 seconds (sometimes slightly longer) for any attached device to go into forwarding mode. However, check_link_down() will only wait for max(${LINKDELAY}, 5) seconds for carrier, and there are *many* existing configs that have STP enabled but no setting for LINKDELAY. Every one of those configs will now fail to ifup the bridge device. The solution implemented in this patch is for ifup-eth to set LINKDELAY to at least ${DELAY} * 2 + 7 when the device is a bridge an STP is enabled. Since check_link_down() returns within .5 sec of carrier coming up, the worst effect this could have would be to take longer to fail in the case of a config where carrier was *never* going to come up. Otherwise, it will not create any more delay than is already present in cases that currently work, and will cause many other configs to become unbroken.
* add configurable DEVTIMEOUTLukas Nykryn2014-10-071-1/+1
|
* ifup: also set multicast_snooping after the bridge is upLukas Nykryn2014-09-161-1/+1
|
* ifup-eth: some options for bridge can be applied after the bridge is upLukas Nykryn2014-04-291-0/+10
| | | | | Conflicts: sysconfig/network-scripts/ifup-eth
* network: add support for team devicesJiri Pirko2014-03-311-0/+12
| | | | | | | | | | | | | | | | | | Currently, team masters and slaves are supported via ifup-Team* and ifdown-Team* scripts shipped in teamd package. It uses somehow ugly workaround where user have to specify DEVIVETYPE to "Team" or "TeamPort". This turned out to be non-optimal solution as this is confusing users. Also it does not work when TYPE is set. So fix this by adding the team support hooks directly into initscripts. Now for team port, user needs only to set: TEAM_MASTER="teamx" and for team master, user needs only to set: TEAM_CONFIG="...whatever..." Signed-off-by: Jiri Pirko <jiri@resnulli.us>
* bridging: add possibility to set prio and ageingLukas Nykryn2014-03-191-0/+2
|
* ifup: add possibility to specify value for -w parameter of arpingLukas Nykryn2014-03-191-1/+1
|
* Delete IPX support.Bill Nottingham2014-01-151-4/+0
| | | | | | | Conflicts: rc.d/init.d/network sysconfig.txt sysconfig/network-scripts/ifup-ipx
* ifup-eth: fix typo in error message (#1038776)Václav Pavlín2013-12-061-1/+1
|
* consider IPV6INIT undefined as YESLukas Nykryn2013-07-291-1/+1
|
* ifup-eth: print error only if arping is really called (#974603)Václav Pavlín2013-06-171-5/+6
|
* try dhcpv6 after v4 failedLukas Nykryn2013-04-121-2/+20
|
* replace tunctl with ip tuntap (#947875)Lukas Nykryn2013-04-091-7/+5
|
* ifup-eth: ignore arping errors (#928379)Lukas Nykryn2013-04-081-1/+2
|
* bonding: set master up before slavesLukas Nykryn2013-04-021-1/+1
|
* Fix greps to correctly handle comments and quotationLukas Nykryn2013-02-261-1/+1
|
* Sets BONDING_OPTS before interface is brougth upLukas Nykryn2013-01-221-27/+4
|
* Sync FSF address with GPL 2 text.Ville Skyttä2013-01-201-1/+1
|
* Also do firewall zone poking before ifup-ipv6, for DHCPv6 (#802415, modified ↵Bill Nottingham2012-12-071-0/+5
| | | | from <jpopelka@redhat.com>)
* Allow duplicate address dectection to be disabledBenjamin Coddington2012-08-071-1/+1
|
* Allow bridge names starting with a dashDan Kenigsberg2012-06-131-5/+5
| | | | | | | | Misguided people may name their bridge '-foo', with a leading dash. Let us indulge them. It is better than showing the usage string of brctl. Signed-off-by: Dan Kenigsberg <danken@redhat.com>
* Don't accidentally match other bonding devices. (#824175)Bill Nottingham2012-05-231-1/+1
|
* Allow dhclient configuration files for DHCPv6 as well. (#815676)Bill Nottingham2012-04-241-10/+3
|
* Use NetworkManager-compatible lease file names by default.Bill Nottingham2012-03-091-2/+4
|
* Lease files are now copied at boot by a systemd service; don't copy them here.Bill Nottingham2012-03-081-7/+0
|
* Use /run/initramfs instead of /dev/.initramfsWill Woods2012-03-081-1/+1
| | | | | | | | | | | Current dracut saves state to /run/initramfs, since /run is standard now. This patch makes rc.sysinit and fedora-readonly check for files in /run/initramfs/rwtab and /run/initramfs/state (which is where dracut writes them). It also makes ifup-eth look for lease files in /run/initramfs.
* Don't set primary before we enslave devices. (#747418, <agospoda@redhat.com>)Bill Nottingham2011-10-271-1/+1
|
* Add support for setting random bridge options via BRIDGING_OPTS. (#734045, ↵Bill Nottingham2011-08-311-0/+12
| | | | #665378)
* Allow non-'-s' options in ETHTOOL_OPTS, and allow multiple option types. ↵Bill Nottingham2011-06-281-15/+5
| | | | (#692410, #693583)
* Ensure DHCP_HOSTNAME is a short hostname, seed it from HOSTNAME if needed. ↵Bill Nottingham2011-05-311-2/+2
| | | | (#697877)
* Handle IPADDRx correctly for static addresses (#698738)Bill Nottingham2011-04-271-1/+1
|
* ifup/ifdown-eth: properly add and remove arp_ip_target'sHarald Hoyer2011-04-121-2/+8
| | | | | | | | | Only add arp_ip_target, if not yet present. Only remove arp_ip_target, if present in BONDING_OPTS, to prevent clash with module options. https://bugzilla.redhat.com/show_bug.cgi?id=604669
* Make sure the bond exists when we bring up the slaves. (#694501)Bill Nottingham2011-04-071-1/+2
|
* Add an error when setting gateway fails. (#672202)Bill Nottingham2011-03-301-2/+4
|
* ifup-eth: use /run/initramfs rather then /dev/.run/initramfsHarald Hoyer2011-03-301-1/+1
|