X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=rrqnet-ifupdown.sh.8.adoc;h=536cbc7a4cdd3fa2bbd479a1ce024b734bbf58a5;hb=4c653929cfc639c40cad6468305823305939307e;hp=98d1210093cacd2f69dd64114acf610530265cca;hpb=d81a3e0d5ea0ac44edc38d7430489ae4d372d21e;p=rrq%2Frrqnet.git diff --git a/rrqnet-ifupdown.sh.8.adoc b/rrqnet-ifupdown.sh.8.adoc index 98d1210..536cbc7 100644 --- a/rrqnet-ifupdown.sh.8.adoc +++ b/rrqnet-ifupdown.sh.8.adoc @@ -10,8 +10,9 @@ ifup and ifdown SYNOPSIS -------- - ln -s /etc/rrqnet/ifupdown.sh /etc/network/if-post-down.d/rrqnet - ln -s /etc/rrqnet/ifupdown.sh /etc/network/if-pre-up.d/rrqnet + for HOOKD in down post-down pre-up up ; do + ln -s /etc/rrqnet/ifupdown.sh /etc/network/if-$HOOKD.d/rrqnet + done DESCRIPTION ----------- @@ -78,6 +79,20 @@ made a "port" of the nominated preceding +bridge+ interface. The same things is achieved by including the +tap+ in the +bridge_ports+ list of the bridge, provided that the +tap+ is created before the bridge. +*rrqnet_dhcp* _method args_:: + +This IFACE option is used for attaching a DHCP client to the +interface. The +method+ identifies the DHCP client method, and +currently only the +dhclient+ method is defined, which is run as +follows: ++ +---- +dhclient -pf $PIDFILE $DHCPARGS -lf $LEASES $IFACE +---- ++ +The given +args+ if non-empty replaces +$DHCPARGS+, which by default +are "-4 -cf /dev/null". Refer to the +dhclient+ man page for details. + EXAMPLES -------- @@ -117,14 +132,20 @@ tunnel traffic. The tunnel packets will have a UDP header in addition to the orignal packet, which means that packets grow with some 28/48 (ipv4/6) bytes. + SEE ALSO -------- - *brctl(8)* - ethernet bridge administration - *daemon(1)* - turns other processes into daemons - *interfaces(5)* - network interface configuration for ifup and ifdown - *rrqnet(8)* - packet tunneling over UDP, multiple channels - +*brctl(8)* - ethernet bridge administration + +*daemon(1)* - turns other processes into daemons + +*dhclient(8)* - Dynamic Host Configuration Protocol Client + +*interfaces(5)* - network interface configuration for ifup and ifdown + +*rrqnet(8)* - packet tunneling over UDP, multiple channels + AUTHOR ------ Ralph Rönnquist