Wednesday, June 30, 2010

Viewing disks in AIX

#lsdev -Cc disk

Viewing disks in AIX

#lsdev -Cc disk

Viewing disks in solaris

bash-3.00# echo|format

multihomed host e.g muliple ips on same NIC

1-under
/etc/hosts

enter an entry as follows
192.168.10.10 myhost

2-under
/etc/netmasks

add an entry as follows
192.168.10.0 255.255.255.0

3-create a file point to your NIC for example
#touch /etc/hostname.e1000g0:1

add hostname for example
myhost

4-type the following command
#ifconfig e1000g0:1 plumb


5- assign ips
#ifconfig e1000g0:1 192.168.10.10 netmask 255.255.255.0 up

Add default route to sun solaris

You can add default route
by issuing the following command
#route add default 192.168.0.1

you can verify by viewing entries
$netstat -rn

Wednesday, June 23, 2010

lanscan Displays network interfaces, states, and MAC addresses in HP-UX

#lanscan

Displays network interfaces, states, and MAC addresses

List lan NIC's in HP-UX

List lan NIC's in HP-UX
#ioscan -funC lan