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.

-- 
James Carlson, KISS Network                    <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to