当前位置:网站首页>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)]
边栏推荐
- 《关于我写自定义cell这件事》
- CV2. Threshold(), CV2. Findcontours(), CV2. Findcontours image contour processing
- Crowdfunding platform system based on JSP & Servlet
- Developing rc522 module based on c8t6 chip to realize breathing lamp
- [735. Planetary collision]
- C#跨线程刷新前台UI
- Monotonous stack -- 42. Receiving rain -- a difficult problem that big factories must know
- Advanced Mathematics (Seventh Edition) Tongji University exercises 3-6 personal solutions
- Monotonic stack - 739. Daily temperature
- Slice切片
猜你喜欢

Linux - MySQL advanced (day19)

Experience sharing of automatic test for students with monthly salary of 28K

Advanced Mathematics (Seventh Edition) Tongji University exercises 3-5 personal solutions

Basic knowledge of day08 redis
![[image classification] 2021 MLP mixer nips](/img/fb/ca25da210c8da2b6b55f372a325a6c.png)
[image classification] 2021 MLP mixer nips
![[untitled]](/img/6c/df2ebb3e39d1e47b8dd74cfdddbb06.gif)
[untitled]

Cyber Nuwa, how to make digital people?

MySQL是怎么保证高可用的

【day03】流程控制语句

C language: find the number of 1 in binary stored in memory as an integer
随机推荐
H265/HEVC名词解释-- CTU,CTB,CU,CB,TU,PU,TB,PB,LCU,Slice,Tile,Chroma,Luma,I帧,B帧,P帧
Un7.27: common commands of redis database.
Leetcode 0141. circular linked list - three solutions
40: Chapter 4: Development File Service: 1:fastdfs: (1): introduction to fastdfs;
Advanced Mathematics (Seventh Edition) Tongji University exercises 3-4 personal solutions (the last 8 questions)
RT-Thread改变打印串口(在BSP的基础上添加其他功能)
How does MySQL ensure high availability
写给学生的一点建议-如何构建自己的知识体系?
Dynamic planning - 63. Different paths II
What is interface testing and its testing process
"Three no's and five requirements" principle of enterprise Digitalization Construction
Machine learning 06: Decision Tree Learning
I did these three things before the interview, and the result was actually direct
金仓数据库KingbaseES安全指南--6.1. 强身份验证简介
[735. Planetary collision]
Lightpicture - exquisite drawing bed system
[Luogu p4590] garden party (DP set DP)
Advanced Mathematics (Seventh Edition) Tongji University exercises 3-4 personal solutions (first 8 questions)
Skillfully use stack backtracking to help you quickly locate problems
Dynamic programming - 416. Segmentation and subsets