Chapter 29. Configuring LAN Interface Adapters

   

Chapter Syllabus

29.1 Configuring LAN Adapters

29.2Configuring an IP Address to a LAN Adapter

29.3 Adding Routes

29.4 Using SAM to Configure a LAN Adapter

29.5 Troubleshooting LAN Connectivity

Configuring a LAN adapter is the first step toward connecting any HP-UX system to a network. There may be one or more LAN adapters installed in a system. HP-UX recognizes an adapter with a name of the form lan x where x is an integer. Many device drivers for LAN adapters are built into the HP-UX kernel. However, you may have to install additional device drivers for some LAN adapters. HP-UX provides commands to list installed adapters in your system. After physical installation, the next step is to configure one or more of these adapters by assigning IP addresses. If network cables are connected, your system can communicate on the network after getting an IP address.

A network adapter may be configured using command-line utilities or SAM. If you are using command-line utilities, you should also configure the IP addresses to be assigned to adapters at boot time. If you use SAM, it automatically updates system files so that all configured network adapters get their address at boot time. After assigning IP addresses to each adapter, you have to add routing entries. If your LAN consists of only one network, there is no need to add any additional routing. However, if there are multiple networks or the LAN is connected to the Internet, you need to add additional routing table entries. If you use a router, you can assign a default route to that router so that any packet with a destination address not on the local network is forwarded to the router. It is then the responsibility of the router to forward this packet to the destination address or another router.

In this chapter, we will start with the configuration of a LAN adapter. You will find information about the adapter-naming convention used for LAN adapters. Commands will be used to list installed network adapters. You will also learn some commands to view and set properties of these adapters. The next part is to assign IP addresses to the adapters. Here you will use command-line utilities. You will also learn how to configure IP addresses so that these are assigned to network adapters at system boot time. After configuration you will learn how to add and remove network routes. A default routing entry will be set that will point to the gateway machine used to connect the LAN to the outside world. SAM will also be used to configure network adapters. Sometimes things don't go smoothly and you may have to do some troubleshooting. The last part of the chapter is devoted to this. Here some commands will be presented that are useful for LAN troubleshooting.


   
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