Now put that profile in a place like /etc/network.d/staminus. Let's test it.

netcfg staminus

If you still have any network configuration in rc.conf, remove it. It's deprecated. Just add net-profiles in your daemons list. We can tell netcfg to use this profile by default, when the system boots. In /etc/conf.d/netcfg:

NETWORKS=(staminus)

Now append to your ethernet profile some POST_UP and PRE_DOWN commands as described earlier. Then stroke that glorious neckbeard.

Yeah, already did. But I was trying to avoid using netcfg is there any other way to do this in rc.conf it self ?
–
TuxJul 20 '12 at 7:59

Not that I know of, but I'm not an expert on archlinux. If you do find one, I'm sure they'd appreciate it if you update the wiki. It would have been very helpful if you included in your question that you'd already tried the recommended way - since you didn't, it looked as if you just didn't know it existed.
–
Jenny DJul 20 '12 at 8:04

So far I only found references to netcfg but I'm trying to find a simpler way of doing this =)
–
TuxJul 20 '12 at 8:19