Deleted Added
full compact
ether.bridge (156313) ether.bridge (222179)
1#!/bin/sh
1#!/bin/sh
2# $FreeBSD: head/share/examples/netgraph/ether.bridge 156313 2006-03-05 15:53:07Z schweikh $
2# $FreeBSD: head/share/examples/netgraph/ether.bridge 222179 2011-05-22 14:23:48Z uqs $
3# This script sets up an Ethernet bridging network across multiple
4# Ethernet interfaces using the ng_bridge(4) and ng_ether(4) netgraph
5# node types.
6#
7# To use this script:
8#
9# 0. Make your own copy of this example script.
10#

--- 24 unchanged lines hidden (view full) ---

35
36BRIDGE_NAME="bnet0"
37
38# List the names of the interfaces that you want to bridge across
39# here in ${BRIDGE_IFACES}. If you want to include the local host
40# machine as well then set ${LOCAL_IFACES} as well (they may also be
41# listed in ${BRIDGE_IFACES}). Of course, any ${LOCAL_IFACE} must
42# be ifconfig(8)ured separately. If you don't want a ${LOCAL_IFACE}
3# This script sets up an Ethernet bridging network across multiple
4# Ethernet interfaces using the ng_bridge(4) and ng_ether(4) netgraph
5# node types.
6#
7# To use this script:
8#
9# 0. Make your own copy of this example script.
10#

--- 24 unchanged lines hidden (view full) ---

35
36BRIDGE_NAME="bnet0"
37
38# List the names of the interfaces that you want to bridge across
39# here in ${BRIDGE_IFACES}. If you want to include the local host
40# machine as well then set ${LOCAL_IFACES} as well (they may also be
41# listed in ${BRIDGE_IFACES}). Of course, any ${LOCAL_IFACE} must
42# be ifconfig(8)ured separately. If you don't want a ${LOCAL_IFACE}
43# then assign it the emtpy string.
43# then assign it the empty string.
44
45BRIDGE_IFACES="de0 fxp0 fxp1"
46LOCAL_IFACES="fxp0 fxp1"
47
48#####################################################################
49#### Everything below this point should not need to be modified. ####
50#####################################################################
51

--- 119 unchanged lines hidden ---
44
45BRIDGE_IFACES="de0 fxp0 fxp1"
46LOCAL_IFACES="fxp0 fxp1"
47
48#####################################################################
49#### Everything below this point should not need to be modified. ####
50#####################################################################
51

--- 119 unchanged lines hidden ---