Chapter Summary

   

A LAN adapter is recognized by the HP-UX kernel when it is physically installed in the system and its driver is built into the kernel. To list network drivers built into the kernel, the lsdev command is used. The lanscan or ioscan commands are used to list installed adapters. After physically installing an adapter, either SAM or command-line utilities can be used to configure it.

IP addresses, netmask , and broadcast addresses are assigned with the help of the ifconfig command. Logical instance numbers can be used to assign multiple IP addresses to a single physical network adapter. Configuration made by ifconfig is lost whenever you reboot the system. To make a configuration permanent, the configuration information is stored in the /etc/rc.config.d/ netconf file. This file is read by the /sbin/init.d/net script, and all adapters listed in this file are configured at boot time. If your network is connected to another LAN or to the Internet, the routing table must be created using the route command. The configured IP addresses and routing table can be displayed with the help of the netstat command. A default route is used to send data packets for which no route is available.

The SAM Networking and Communications area is used to configure network adapters. A list of available adapters is displayed when you go to this area. After selecting one of the listed adapters, you can use the Actions menu to configure it. During the configuration process, the IP address, netmask, and host name aliases are assigned to the network adapter.

If a network adapter is not working properly, it may be due to hardware or configuration problems. A broken cable or missing cable terminator are the most common physical problems. Common configuration problems are a bad netmask, duplicate or wrong IP address, and incorrect routing entry. A number of commands can be used for troubleshooting network problems, including lanscan , ping , netstat , and lanadmin . The ndd command can be used to configure TCP/IP protocol- related parameters.


   
Top


HP Certified
HP Certified: HP-UX System Administration
ISBN: 0130183741
EAN: 2147483647
Year: 2000
Pages: 390
Authors: Rafeeq Rehman

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net