Configuring IP Connectivity Module 4 H 3065 S

  • Slides: 11
Download presentation
Configuring IP Connectivity Module 4 H 3065 S F. 00 © 2005 Hewlett-Packard Development

Configuring IP Connectivity Module 4 H 3065 S F. 00 © 2005 Hewlett-Packard Development Company, L. P. The information contained herein is subject to change without notice

TCP/IP Configuration Overview Obtain an IP address and hostname from your IT department or

TCP/IP Configuration Overview Obtain an IP address and hostname from your IT department or ISP. Physically install the LAN card. Install the appropriate LAN software. Verify that the new card successfully autoconfigured. Configure link layer connectivity. Configure IP multiplexing (optional). H 3065 S F. 00 © 2005 Hewlett-Packard Development Company, L. P. 2

Installing LAN Software # swinstall Networking Kernel Networking Subsystem … LANIC Drivers … H

Installing LAN Software # swinstall Networking Kernel Networking Subsystem … LANIC Drivers … H 3065 S F. 00 © 2005 Hewlett-Packard Development Company, L. P. 3

Checking LANIC Autoconfiguration # ioscan -fn. C lan Class I H/W Path Driver S/W

Checking LANIC Autoconfiguration # ioscan -fn. C lan Class I H/W Path Driver S/W State H/W Type Description ================================ lan 0 8/16/6 lan 2 CLAIMED INTERFACE Built-in LAN dev/diag/lan 0 /dev/ether 0 /dev/lan 0 lan 1 8/20/5/1 btlan 0 CLAIMED INTERFACE EISA card INP 05 þ Is the “S/W State” “CLAIMED” ? (UNCLAIMED indicates missing drivers. ) þ Does the LAN card appear to have device files? (NOTE: Some EISA LAN cards do not require device files. ) H 3065 S F. 00 © 2005 Hewlett-Packard Development Company, L. P. 4

HP-UX Network Startup Files /sbin/init. d hostname /etc/rc. config. d/netconf hpbase 100 hpbaset hpeisabt

HP-UX Network Startup Files /sbin/init. d hostname /etc/rc. config. d/netconf hpbase 100 hpbaset hpeisabt hpether hpgsc 100 hpvgal hptoken /etc/rc. config. d/hpbase 100 conf /etc/rc. config. d/hpbasetconf /etc/rc. config. d/hpeisabtconf /etc/rc. config. d/hpetherconf /etc/rc. config. d/hpgsc 100 conf /etc/rc. config. d/hpvgalconf /etc/rc. config. d/hptokenconf net H 3065 S F. 00 /etc/rc. config. d/netconf © 2005 Hewlett-Packard Development Company, L. P. Host name configuration Link layer configuration IP configuration 5

Configuring Link Layer Connectivity /etc/rc. config. d/hpbase 100 conf HP_BASE 100_INTERFACE_NAME[0]=lan 0 HP_BASE 100_STATION_ADDRESS[0]=0

Configuring Link Layer Connectivity /etc/rc. config. d/hpbase 100 conf HP_BASE 100_INTERFACE_NAME[0]=lan 0 HP_BASE 100_STATION_ADDRESS[0]=0 x 080009000001 HP_BASE 100_SPEED[0]=100 FD /sbin/init. d/hpbase 100 start lanadmin -A 0 x 080009000001 0 lanadmin -X 100 FD 0 H 3065 S F. 00 © 2005 Hewlett-Packard Development Company, L. P. 6

Configuring IP Connectivity /etc/rc. config. d/netconf HOSTNAME=sanfran INTERFACE_NAME[0]=lan 0 IP_ADDRESS[0]=128. 1. 1. 1 SUBNET_MASK[0]=255.

Configuring IP Connectivity /etc/rc. config. d/netconf HOSTNAME=sanfran INTERFACE_NAME[0]=lan 0 IP_ADDRESS[0]=128. 1. 1. 1 SUBNET_MASK[0]=255. 0. 0 BROADCAST_ADDRESS[0]="" INTERFACE_STATE[0]="" DHCP_ENABLE[0]="0" /sbin/init. d/hostname start uname -S sanfran hostname sanfran /sbin/init. d/net start ifconfig lan 0 128. 1. 1. 1 netmask 255. 0. 0 up H 3065 S F. 00 © 2005 Hewlett-Packard Development Company, L. P. 7

Configuring IP Multiplexing /etc/rc. config. d/netconf INTERFACE_NAME[0]=lan 0: 0 IP_ADDRESS[0]=129. 1. 1. 1 SUBNET_MASK[0]=255.

Configuring IP Multiplexing /etc/rc. config. d/netconf INTERFACE_NAME[0]=lan 0: 0 IP_ADDRESS[0]=129. 1. 1. 1 SUBNET_MASK[0]=255. 0. 0 INTERFACE_NAME[1]=lan 0: 1 IP_ADDRESS[1]=129. 2. 1. 1 SUBNET_MASK[1]=255. 0. 0 Internet 129. 1. 1. 1 ijunk. com 129. 2. 1. 1 bigcorp. com 129. 3. 1. 1 estuff. com INTERFACE_NAME[2]=lan 0: 2 IP_ADDRESS[2]=129. 3. 1. 1 SUBNET_MASK[2]=255. 0. 0 /sbin/init. d/net start ifconfig lan 0: 0 129. 1. 1. 1 netmask 255. 0. 0 up ifconfig lan 0: 1 129. 2. 1. 1 netmask 255. 0. 0 up ifconfig lan 0: 2 129. 3. 1. 1 netmask 255. 0. 0 up H 3065 S F. 00 © 2005 Hewlett-Packard Development Company, L. P. 8

Configuring /etc/hosts # vi /etc/hosts 127. 0. 0. 1 localhost loopback # local net

Configuring /etc/hosts # vi /etc/hosts 127. 0. 0. 1 localhost loopback # local net 128. 1. 1. 1 128. 1. 1. 2 128. 1. 1. 3 hosts sanfran oakland la user 1 user 2 Use the /etc/hosts file to easily map hostnames to IP addresses. # other servers 129. 1. 1. 1 mailsvr 130. 1. 1. 1 filesvr IP Addresses H 3065 S F. 00 Hostnames Aliases © 2005 Hewlett-Packard Development Company, L. P. 9

Lab activity H 3065 S F. 00 © 2005 Hewlett-Packard Development Company, L. P.

Lab activity H 3065 S F. 00 © 2005 Hewlett-Packard Development Company, L. P. 10

H 3065 S F. 00 © 2005 Hewlett-Packard Development Company, L. P. 11

H 3065 S F. 00 © 2005 Hewlett-Packard Development Company, L. P. 11