Bob Hall wrote: >I use > onet=`ifconfig rl0 | grep "inet " | awk '{print $6}'` >where rl0 is the outward facing NIC on this gateway. > > Thanks. But I think I like a method which allows me to get the device names also, to allow a 'hands-off' configuring of the fw. I'll keep your code for future reference, tho.