summaryrefslogtreecommitdiff
path: root/sbin/ifconfig/ifconfig.8
AgeCommit message (Collapse)Author
2019-03-29point readers to individual driver pages for notes on powersave; ok stspJason McIntyre
2019-03-27comment out the optional "duration" argument to powersave:Jason McIntyre
only two older cards currently attempt to set this, and it should not be neccessary anyway; i've added in a some (commented) info to explain this; discussed with and ok stsp
2019-03-26note that powersave is disabled by default (i.e. no need to explicitlyJason McIntyre
disable this), and provide a little more info on "duration"; some driver-specific notes hopefully to follow... help/ok stsp
2019-03-11sort the mpls options; ok dlgJason McIntyre
2019-03-11tweak previous;Jason McIntyre
2019-03-11fix the documentation for mpls interfacesDavid Gwynne
instead of an mpe and mpw section, have an MPLS section that talks about mpe, mpw, and mpip.
2019-01-18let users automatically use join to connect to any open wifi network.Peter Hessler
if a known network is visible, always prefer that instead. requested by many, OK stsp@
2018-11-16sort previous;Jason McIntyre
2018-11-16vlan uses txprio tooDavid Gwynne
2018-11-16document txprioDavid Gwynne
2018-11-16gre has a few siblings nowDavid Gwynne
2018-11-10Fix vnetid rangekn
0 and 4095 are reserved IDs as per 802.1Q and vlan(4), setting them will fail. OK denis
2018-09-08Enforce that "join" and "nwid" may not be used at the same time.Peter Hessler
OK stsp@
2018-08-29Better description for inet6 eui64, plus consistency tweaksJeremie Courreges-Anglas
from Callum R. Davies, ok jmc@
2018-08-13consistent macros;Jason McIntyre
2018-08-12Add administrative options to LACP trunk implementation.ccardenas
The trunk driver now has a new ioctl (SIOCxTRUNKOPTS), which for now only has options for LACP: * Mode - Active or Passive (default Active) * Timeout - Fast or Slow (default Slow) * System Priority - 1(high) to 65535(low) (default 32768/0x8000) * Port Priority - 1(high) to 65535(low) (default 32768/0x8000) * IFQ Priority - 0 to NUM_QUEUES (default 6) At the moment, ifconfig only has options for lacpmode and lacptimeout plumbed as those are the immediate need. The approach taken for the options was to make them on a "trunk" vs a "port" as what's typically seen on various NOSes (JunOS, NXOS, etc...) as it's uncommon for a host to have one link "Passive" and the other "Active" in a given trunk. Just like on a NOS, when applying lacpmode or lacptimeout, the settings are immediately applied to all existing ports in the trunk and to all future ports brought into the trunk. Tested by many on a plethora of NIC drivers and switches. Ok remi@
2018-08-12add missing markup;Jason McIntyre
2018-08-11Fix problems ofthe ifconfig argument parser with "ifconfig <if> join".Sebastian Benoit
Due to the way the parsing works, you cannot have an option that accepts strings as argument or no argument, without side effects: for example "join <nwid>" could only join networks that did not have a nwid identical to another ifconfig option, i.e. "join mtu" or "join join" would not work. Solve this by making join always require an nwid. Listing all the configured nwids for auto-join is moved to the new option "joinlist". Removing _all_ auto-join configuration is moved to "-joinlist". deraadt@ likes it and ok phessler@ stsp@
2018-08-03document that wpakey needs a preceeding nwid OR join specificationAlexander Hall
ok phessler@
2018-07-19i found a nicer way to describe -join;Jason McIntyre
2018-07-13Use "rtable" not "tableid" as argument name for rtablekn
Make rtable(4) usage documentation consistent with other programs. This is to have `man -k ar~rtable' show the full list without having to look for other variations of the same argument type. OK bluhm
2018-07-13- differentiate between join and nwidJason McIntyre
- remove some duplication between them - document -join - sort ok phessler
2018-07-11Introduce 'auto-join' to the wifi 802.11 stack.Peter Hessler
This allows a system to remember which ESSIDs it wants to connect to, any relevant security configuration, and switch to it when the network we are currently connected to is no longer available. Works when connecting and switching between WPA2/WPA1/WEP/clear encryptions. example hostname.if: join home wpakey password join work wpakey mekmitasdigoat join open-lounge join cafe wpakey cafe2018 join "wepnetwork" nwkey "12345" dhcp inet6 autoconf up OK stsp@ reyk@ and enthusiasm from every hackroom I've been in for the last 3 years
2018-05-05document unit value for pltime and vltime;Jason McIntyre
from paul de weerd ok kn
2018-04-26Do not try getnetbyname(3) if gethostbyname(3) returns no result.Ingo Schwarze
This is part of the project to delete /etc/networks support. OK deraadt@
2018-04-26Add a '-tunneldomain' ifconfig(8) option as shorthand for 'tunneldomain 0'akoshibe
to be consistent with the '-rdomain' option. Suggested by dlg OK benno, jca, kn, phessler, jmc
2018-03-16clarify what the route priority does and what defaults are used.Sebastian Benoit
with suggestions from jmc and ok mpi@
2018-02-23Add unsetrdomain() and option -rdomain to return an interface to routingakoshibe
domain 0. OK phessler, henning, deraadt, stsp, benno
2018-02-20tweak previous, with some help from dlg;Jason McIntyre
2018-02-20add support for toggling partitioning a vnetid into a netid and flowidDavid Gwynne
"vnetflowid" enables it on an interface, and "-vnetflowid" disables it. a vnetid will be suffixed with + on the encap line if it an interface reports that it is enabled.
2018-02-19tweak previous;Jason McIntyre
2018-02-19add support for setting and displaying whether a tunnel allows fragmentationDavid Gwynne
ifconfig will output "nodf" or "df" on tunnel interfaces that support the ioctl., and accepts "tunneldf" and "-tunneldf" as options to try and configure it.
2018-02-15update tunnelttl to talk about the "copy" argumentDavid Gwynne
2018-02-10ifconfig can be used to to set interface flag to not do RFC 7217.Florian Obser
OK naddy, sthen man page bits input & OK jmc
2018-02-09Improve documentation of protected domains.Martin Pieuchot
Required by and ok otto@, ok jmc@
2018-02-08tweak previous;Jason McIntyre
2018-02-08Add a new '-protected' option for bridge members.Martin Pieuchot
Bridge members that are part of the same protected domain, refered by a number between 1 and 31, cannot talk to each others. This is useful to isolate VMs or untrusted networks at layer 2. Members can be part of multiple protected domain making it possible to create complex protected setups. ok ccardenas@, claudio@, dlg@, henning@
2018-02-05tweak previous;Jason McIntyre
2018-02-05implement an arp filterHenning Brauer
allows arp (and rarp) requests and replies to be matched, including matching based on the source and target host and protocol adresses, and thus control over arp traffic and learning. written for medical x-ray machines, but useful in many spread out L2 networks ok claudio benno
2018-01-16Recycle IFF_NOTRAILERS into IFF_STATICARP and document ownerhsipMartin Pieuchot
of IFF* flags. inputs from jmc@, ok bluhm@, visa@
2017-11-30use the same macro consistently for the various carp balancing modes;Jason McIntyre
2017-11-30no more arp mode for carp; from martin rettbergJason McIntyre
2017-11-17replace the deletetunnel option with -tunnelSebastian Benoit
ok bluhm@
2017-09-14clarify what inet6 autoconf does, mention and link to slaacd(8)Sebastian Benoit
ok/feedback sthen@ jmc@
2017-06-09turns out the case of 802.1 suffixes is significant. fix up 802.1X and Q.David Gwynne
pointed out by jsg@
2017-06-08remove the timeslot code, it was only for now deleted T1 devices.Ted Unangst
ok sthen
2017-06-08consistently use lowercase suffixes for 802.1 things.David Gwynne
eg, 802.1x, 802.1q, and 802.1ad
2017-06-07use the same formatting for vlan as the rest of the page; ok dlgJason McIntyre
2017-06-07update the VLAN doco.David Gwynne
the parameters are parent and vnetid, not vlandev and vlan. svlan(4) is also a thing. ok jmc@
2017-05-12Make the markup of negative parameters consistently use .Cm;Ingo Schwarze
those are command modifiers, not flags. Inconsistency noticed and patch sent in by Anton dot Lindqvist at gmail dot com.