• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/share/examples/netgraph/

Lines Matching refs:interface

21 # address of the physical interface will not be seen in the output.
30 # to define your real interface connected to the LAN. Virtual nodes
31 # will placed on the same physical network as this interface.
81 # Give the name of ethernet interface. Virtual nodes will be seen as
82 # local neighbours of this interface.
131 # interface names and jail names. All bridges, interfaces and jails
139 echo -n "Verifying ethernet interface existence..."
140 # Verify ethernet interface exist.
142 echo "Error: interface ${ETHER_INTF} does not exist"
153 # Create new ng_bridge(4) node and attach it to the ethernet interface.
157 echo "Creating bridge interface: ${BRIDGE_NAME}..."
163 # In the above code block two hooks are connected to bridge interface,
165 # hooks on the bridge interface.
169 # this name to shutdown bridge interface.
198 # links. After creating interface get its automatically
201 echo "Creating eiface interface for virtual node ${NODE_NAME}."
206 # Write name of the interface to temp file. Clean-up procedure
207 # will use this name to shutdown interface.
209 echo "interface ${EIFACE}" >> ${TEMP_FILE}
211 # Move virtual interface to virtual node. Note that Interface
213 # interface can be seen at the output of ifconfig command in
219 # Make lo0 interface localhost.
222 # Generate a random mac address for virtual interface. First
234 # Set the link address (mac address) of virtual interface in
249 # Set IP address of virtual interface in virtual node.
253 # Connect virtual interface to bridge interface. Syntax is :
278 echo -n "Shutdown bridge interface.."
286 OBJECTS=`cat ${TEMP_FILE} | grep interface | awk '{print $2}'`