--- Revision None +++ Revision 393330323063 @@ -0,0 +1,45 @@ +# REQUIRE: netif +# PROVIDE: netgraph +# BEFORE: routing + +. /etc/rc.subr + +name="netgraph" +start_cmd="${name}_start" +stop_cmd="${name}_stop" +HOST_IP="XXX::11/64" +ETHER_IF="ixl2" + +netgraph_start() { + # Ensure the kernel modules are loaded + kldload ng_bridge ng_eiface ng_ether + + # Create the graph + ngctl -f- <