X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=rrqnet-ifupdown.sh.8.adoc;h=536cbc7a4cdd3fa2bbd479a1ce024b734bbf58a5;hb=refs%2Ftags%2F1.4;hp=b0301c966fbd98446b56dd77b82e9d2292b57855;hpb=c62437ec9a40277bb95357cdfc148ad43d7cc974;p=rrq%2Frrqnet.git diff --git a/rrqnet-ifupdown.sh.8.adoc b/rrqnet-ifupdown.sh.8.adoc index b0301c9..536cbc7 100644 --- a/rrqnet-ifupdown.sh.8.adoc +++ b/rrqnet-ifupdown.sh.8.adoc @@ -6,12 +6,13 @@ rrqnet-ifupdown.sh(8) NAME ---- rrqnet-ifupdown.sh - script for managing rrqnet virtual cables with -iup and ifdown +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