File /etc/nsswitch.conf Configuring a domain name resolution method.
Lanscan -a lists the MAC address of the NIC
ioscan -func LAN lists the third layer information
NIC installation
1 Software: Swlist -l Product | More
Need to have NetConfig ... LANLINK software
2 driver
ioscan -func lan
If the network card is displayed as "Unclaimed", use the SAM to generate a driver
KERNEL Configuration -> Drivers
KERNEL Configuration -> Subsystems
3 Reconstruction device files
CD / CDV
INSF-EC LAN
-C Class
-E EXISTING DEVICE
4 reconstruction diagnostic files
CD / DEV
INSF -D DLPI -E
Routing adjustment
Route Add Deflaut 192.6.1.6 1
Route Add Net 192.6.30 192.6.36.3 1
Route Delete Net 192.6.3
Route Add Default 192.6.12.3 1 - Add Default Routing -
Network profile /etc/rc.config.d/netconf
Configure IP addresses to LAN0
IFCONFIG LAN0 192.6.12.34 Netmask 255.255.255.224 UP
View LAN0IP address
Ifconfig lan0
Check IP by Hostname
NSLOOP UP
Hostname
Check the network card MAC address
Lanscan
Test 1-2 layer state
Linkloop Mac_Address
Lanadmin
Manage IP-> MAC mapping
ARP command
View routing table
Netstat -Rn
-A Display All Connections and Listening Port
-N Dot-Decimal Format
-i network interface status
-r routing table
-RS routing statistics
/ etc / networks network address to the name mapping
/ etc / hosts network address to the host name mapping
-------------------------------------------
How to change HP-UX IP?
: Should be changed with SAM, or change the configuration file /etc/rc.config.d/netconf: ifconfig is just a temporary change? When the master is changed, you can use ifconfig to change or change /tc/rc.config .d / netconf. But don't forget to change the / etc / hosts file. If this file is not changed, it will cause the CDE interface to start normally. At the same time, there are other commands such as Swlist swinstall can't use it.