Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bonding: warn if the ifup for slave device failed | Lukas Nykryn | 2015-06-08 | 1 | -1/+1 |
| | |||||
* | adjust LINKDELAY when STP is on | Laine Stump | 2014-11-12 | 1 | -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. | ||||
* | ifup: also set multicast_snooping after the bridge is up | Lukas Nykryn | 2014-09-16 | 1 | -1/+1 |
| | |||||
* | ifup-eth: some options for bridge can be applied after the bridge is up | Lukas Nykryn | 2014-09-16 | 1 | -0/+10 |
| | | | | | Conflicts: sysconfig/network-scripts/ifup-eth | ||||
* | bridging: add possibility to set prio and ageing | Lukas Nykryn | 2014-07-24 | 1 | -0/+2 |
| | |||||
* | network: add support for team devices | Jiri Pirko | 2014-07-24 | 1 | -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> | ||||
* | add configurable DEVTIMEOUT | Lukas Nykryn | 2014-04-02 | 1 | -1/+1 |
| | |||||
* | Delete IPX support. | Bill Nottingham | 2014-01-15 | 1 | -4/+0 |
| | | | | | | | Conflicts: rc.d/init.d/network sysconfig.txt sysconfig/network-scripts/ifup-ipx | ||||
* | consider IPV6INIT undefined as YES | Lukas Nykryn | 2013-08-19 | 1 | -1/+1 |
| | |||||
* | ifup-eth: print error only if arping is really called (#974603) | Václav Pavlín | 2013-06-17 | 1 | -5/+6 |
| | |||||
* | try dhcpv6 after v4 failed | Lukas Nykryn | 2013-04-12 | 1 | -2/+20 |
| | |||||
* | replace tunctl with ip tuntap (#947875) | Lukas Nykryn | 2013-04-09 | 1 | -7/+5 |
| | |||||
* | ifup-eth: ignore arping errors (#928379) | Lukas Nykryn | 2013-04-08 | 1 | -1/+2 |
| | |||||
* | bonding: set master up before slaves | Lukas Nykryn | 2013-04-02 | 1 | -1/+1 |
| | |||||
* | Fix greps to correctly handle comments and quotation | Lukas Nykryn | 2013-02-26 | 1 | -1/+1 |
| | |||||
* | Sets BONDING_OPTS before interface is brougth up | Lukas Nykryn | 2013-01-22 | 1 | -27/+4 |
| | |||||
* | Sync FSF address with GPL 2 text. | Ville Skyttä | 2013-01-20 | 1 | -1/+1 |
| | |||||
* | Also do firewall zone poking before ifup-ipv6, for DHCPv6 (#802415, modified ↵ | Bill Nottingham | 2012-12-07 | 1 | -0/+5 |
| | | | | from <jpopelka@redhat.com>) | ||||
* | Allow duplicate address dectection to be disabled | Benjamin Coddington | 2012-08-07 | 1 | -1/+1 |
| | |||||
* | Allow bridge names starting with a dash | Dan Kenigsberg | 2012-06-13 | 1 | -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 Nottingham | 2012-05-23 | 1 | -1/+1 |
| | |||||
* | Allow dhclient configuration files for DHCPv6 as well. (#815676) | Bill Nottingham | 2012-04-24 | 1 | -10/+3 |
| | |||||
* | Use NetworkManager-compatible lease file names by default. | Bill Nottingham | 2012-03-09 | 1 | -2/+4 |
| | |||||
* | Lease files are now copied at boot by a systemd service; don't copy them here. | Bill Nottingham | 2012-03-08 | 1 | -7/+0 |
| | |||||
* | Use /run/initramfs instead of /dev/.initramfs | Will Woods | 2012-03-08 | 1 | -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 Nottingham | 2011-10-27 | 1 | -1/+1 |
| | |||||
* | Add support for setting random bridge options via BRIDGING_OPTS. (#734045, ↵ | Bill Nottingham | 2011-08-31 | 1 | -0/+12 |
| | | | | #665378) | ||||
* | Allow non-'-s' options in ETHTOOL_OPTS, and allow multiple option types. ↵ | Bill Nottingham | 2011-06-28 | 1 | -15/+5 |
| | | | | (#692410, #693583) | ||||
* | Ensure DHCP_HOSTNAME is a short hostname, seed it from HOSTNAME if needed. ↵ | Bill Nottingham | 2011-05-31 | 1 | -2/+2 |
| | | | | (#697877) | ||||
* | Handle IPADDRx correctly for static addresses (#698738) | Bill Nottingham | 2011-04-27 | 1 | -1/+1 |
| | |||||
* | ifup/ifdown-eth: properly add and remove arp_ip_target's | Harald Hoyer | 2011-04-12 | 1 | -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 Nottingham | 2011-04-07 | 1 | -1/+2 |
| | |||||
* | Add an error when setting gateway fails. (#672202) | Bill Nottingham | 2011-03-30 | 1 | -2/+4 |
| | |||||
* | ifup-eth: use /run/initramfs rather then /dev/.run/initramfs | Harald Hoyer | 2011-03-30 | 1 | -1/+1 |
| | |||||
* | Use net_log where appropriate. | Bill Nottingham | 2011-03-25 | 1 | -8/+8 |
| | |||||
* | network-scripts/ifup-eth: fix cec3312 and close braces | Harald Hoyer | 2011-03-10 | 1 | -1/+1 |
| | |||||
* | network-scripts/ifup-eth: also check /dev/.run/initramfs | Harald Hoyer | 2011-03-10 | 1 | -1/+1 |
| | |||||
* | Handle 'MASTER' being quoted. (#651450, <gfidente@redhat.com>) | Bill Nottingham | 2011-01-12 | 1 | -1/+1 |
| | |||||
* | Frob device when calling sysctl, in case of vlans. (#665601, #667211, ↵ | Bill Nottingham | 2011-01-04 | 1 | -1/+1 |
| | | | | <ossman@cendio.se>) | ||||
* | Fix routing regression (#660363) | Bill Nottingham | 2010-12-06 | 1 | -1/+1 |
| | |||||
* | Support multiple IP addreses via IPADDRn, PREFIXn (or NETMASKn) (#633984) ↵ | Bill Nottingham | 2010-11-30 | 1 | -22/+31 |
| | | | | | | | | Adapted from <jklimes@redhat.com> In addition to legacy IP aliases, this commit adds a support for configuring mupliple IPs via single ifcfg file. It uses the same syntax and behaviour as NetworkManager. | ||||
* | Check for dhclient configuration in /etc/dhcp as well (#607764, #607766) | Bill Nottingham | 2010-06-24 | 1 | -1/+3 |
| | |||||
* | Remove 'BOOTP' config option. It was considered 'old' in 1997. (Seriously.) | Bill Nottingham | 2010-06-04 | 1 | -5/+0 |
| | |||||
* | Run dhclient -6 similar to dhclient -4. (#585047) | Bill Nottingham | 2010-04-23 | 1 | -1/+1 |
| | |||||
* | Quote need_config; needed when identifying configuration by NM's 'name'. | Bill Nottingham | 2010-03-01 | 1 | -1/+1 |
| | |||||
* | Don't leave the link down on link check for DHCP (#462013, #491009) | Bill Nottingham | 2010-01-19 | 1 | -1/+0 |
| | |||||
* | Eliminate bunch of unnecessary stat calls and command invocations. | Ville Skyttä | 2010-01-12 | 1 | -3/+3 |
| | |||||
* | Fix comment to reflect reality. | Bill Nottingham | 2010-01-11 | 1 | -1/+1 |
| | |||||
* | dhclient's got a send-hostname option, use that | Bill Nottingham | 2010-01-11 | 1 | -18/+2 |
| | | | | | It certainly makes more sense than relying on the writing of temporary config files in /etc. Use the same mechanism for IPv6 as well. | ||||
* | Run '/sbin/dhclient -6' instead of /sbin/dhcp6c (#553017, ↵ | Bill Nottingham | 2010-01-08 | 1 | -4/+2 |
| | | | | | | | | <dcantrell@redhat.com>) The ISC software is now used for DHCPv6 support, so run dhclient in DHCPv6 mode instead of the older /sbin/dhcp6c program. Still honor the same configuration variables. |