On Fri, 2008-12-19 at 17:58 -0800, Tony Nguyen wrote: > Peter Memishian wrote: > > > validate_interface could just do 'dladm show-dev $1 > /dev/null > > > 2>&1' and test the result. > > > > With the caveat that show-dev disappeared in build 105 (but it probably > > wasn't what validate_interface was looking for anyway, given that it keyed > > off of device names, not datalinks or IP interfaces). I'd need to know > > what validate_interface is trying to do to suggest an alternative approach. > > > > Hi Meem, > > Given an interface name, validate_interface verifies it's a valid > physical interface on the system. Looks like 'dladm show-phys' is what I > need. Let me know if there's better alternative.
Why "physical interface"? The firewall doesn't work on aggregations nor VLANs? -Seb _______________________________________________ networking-discuss mailing list [email protected]
