当前位置:网站首页>The simulation test disconnects the server from the public network
The simulation test disconnects the server from the public network
2022-07-28 04:08:00 【An operation and maintenance young man】
The simulation test disconnects the server from the public network
demand , Because the project environment of Party A needs to be configured in centos Inside the system , The company is equipped with one centos System server , Need to do LAN connectivity , Unable to access the public network environment
Step one : Normal access to the public network
wget https://www.baidu.com

Step two : adopt mac Address , Disable the Internet function of this server
Here you are prompted to make sure your network card configuration file , Is static ip
cat /sys/class/net/enp3s0/address

obtain mac Address

Step three : Login router settings disable this mac Address online
Our router is ,TP-LINK equipment , You can make strategies according to your router

Because of two mac The address format is different , Revise it yourself , Change lowercase to uppercase : Change to - You can search for
Be careful : Because the server is not downloading or surfing the Internet , I can't find it here mac Address , Download something from the server , Simulate surfing the Internet , Pull must be found on the router , Then join the blacklist
Simulate downloading things online
wget https://www.baidu.com

Step four : Return to the server to check whether you can surf the Internet
Unable to access the Internet , Configuration is successful

Go to the Internet , Configuration is successful
[ Outside the chain picture transfer in …(img-FRK1E2WY-1658903228106)]
边栏推荐
- Dynamic programming - 509. Fibonacci number
- test case management tool
- Detailed explanation of string + memory function (C language)
- How does MySQL ensure high availability
- Dynamic programming - 416. Segmentation and subsets
- openpose的一些个人理解
- Shell rental reptile
- I did these three things before the interview, and the result was actually direct
- Linux - MySQL advanced (day19)
- Advanced Mathematics (Seventh Edition) Tongji University exercises 3-4 personal solutions (the last 8 questions)
猜你喜欢

C language: realize the exchange of two numbers without creating temporary variables

Filters, interceptors, listeners

Monotonic stack - 739. Daily temperature

Appnium -- app automated test tool

MySQL是怎么保证高可用的

Linux - MySQL advanced (day19)

CV2. Threshold(), CV2. Findcontours(), CV2. Findcontours image contour processing

【图像分类】2021-MLP-Mixer NIPS

How does MySQL ensure high availability

Dynamic planning - 62. Different paths
随机推荐
Simple and easy-to-use performance testing tools recommended
RT-Thread改变打印串口(在BSP的基础上添加其他功能)
ftp服务器、nfs服务器的搭建和使用
STC timer is abnormal (how to modify the initial value, the timing time is 100ms)
XML file usage and parsing
LeetCode 0140. 单词拆分 II
Embedded development: tips and techniques -- the best practice of defensive programming with C
Error no matching function for call to 'std:: exception:: exception (const char [15])' problem solving
Filters, interceptors, listeners
《关于我写自定义cell这件事》
Developing rc522 module based on c8t6 chip to realize breathing lamp
离职前一定要做好这7件事情,少一件都很麻烦。
40: Chapter 4: Development File Service: 1:fastdfs: (1): introduction to fastdfs;
Lightpicture - exquisite drawing bed system
常用的接口测试工具
openpose的一些个人理解
C language: realize the exchange of two numbers without creating temporary variables
Network visualization: features of convolution kernel and CNN visualization (through the attention part of gradient visualization network)
un7.27:如何在idea中成功搭建若依框架项目?
What is interface testing and its testing process