#lsdev -Cc disk
Articles hints,tips&tricks,howtos and guides related to UNIX System Administration
Wednesday, June 30, 2010
multihomed host e.g muliple ips on same NIC
1-under
enter an entry as follows
2-under
add an entry as follows
3-create a file point to your NIC for example
add hostname for example
4-type the following command
5- assign ips
/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
you can verify by viewing entries
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
Subscribe to:
Posts (Atom)