Wednesday, September 17, 2008

Solaris 10 modify the network configuration of a running zone

To add:
global# ifconfig bge0 addif 192.168.200.202 zone myzone
To remove:
global# ifconfig bge0 removeif 192.168.200.202

No comments:

UNIX: How to print column nicely using printf

[user@hostfwnms1-oam tmp]# cat b.sh printf "%-26s %-19s %-8s %-8s %-s %-s\n" HOSTNAME IP PING SNMPWALK 0-ok 1-fail for i in `cat n...