On Thu, 2006-10-19 at 16:14 -0400, James Carlson wrote: > Andrew Wenlang Zhu writes: > > 1. comment out pfil.ap for that interface type - bge in this case. > > 2. create a simple script using ifconfig to insert pfil into the > > interface "bge1" stack. the script can be put somewhere under /etc/rc2.d > > Ah, yes. If you manipulate the autopush entries on the fly (using > /usr/sbin/autopush itself might be simpler), then you can add a > match-everthing entry (bge -1 0 pfil), plumb the interface that needs > pfil, and then remove the autopush entry. > > It assumes that interface plumbing is single-threaded (just one > administrator running one script plumbing up one interface at a time). > > > Or a safer way: > > > > Still use pfil.ap to load pfil to all in interfaces, then use a startup > > script to unload pfil from the stack of the interface you do not want - > > bge0 in this case. > > With ifconfig modremove? Yes, you could do that. I wouldn't > recommend it, as modremove is a bit on the hackish side.
Yes, use ifconfig modinsert to load pfil and modremove to unload it. I agree with you that to use these commands, a user needs to be clear what he is doing. > _______________________________________________ networking-discuss mailing list [email protected]
