Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Summary of HPUX network configuration

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

The customer requires that the customer replace a new IP for testing and keep the old IP. Problem description

The host to be operated is a virtual machine. Due to lack of experience, the network card information of the host is not checked first, but the network card of the virtual machine is checked directly, which leads to the failure of this operation.

During the operation, the first thing that comes to mind is to add a new network card and configure a new IP,lanscan on the new network card to check that there are two network cards on the host, lan0 and lan1,lan1 are not yet in use. So configure the new ip on lan1. As a result, after the network card is configured, it is found that the ip ping is not available.

The configuration file is modified as follows:

Start troubleshooting.

1, first check the configuration file (there is no problem).

2, so I wonder whether it is the problem of the host network card. (it is indeed a host network card problem)

Hpvmnet on the host computer to view the Nic information:

It turns out that the IP of the host vswitch901 network card is 95 network segment, I am equipped with a 94 network segment, of course it does not work.

3. After the problem is found, correct modification begins. The steps are as follows:

1) modify the / etc/rc.config.d/netconf configuration file to change the IP to the 95 IP address range.

2) modify / etc/hosts configuration file

3) restart network services

/ sbin/init.d/net stop

/ sbin/init.d/net start

4. After the operation, IP will be through.

Alas, rookies are inexperienced! A good memory is not as good as a bad pen. Write it down here.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report