当前位置:网站首页>Practice is the fastest way to become a network engineer
Practice is the fastest way to become a network engineer
2022-06-26 09:02:00 【The most iron headed net worker】
static state IP Please configure the assigned host address by yourself
Refer to the order
The goal of the experiment :
1、 by AR1 Of G0/0/0 Interface configuration ip Address , The address is 192.168.1.1, Mask as 255.255.255.0
2、AR1 Turn on DHCP service , And in G0/0/0 Interface on DHCP function , Address pool select interface mode
3、 Two of them PC Configured to automatically get IP Address , And then through ping Command to test the connectivity between the two
AR1 :
dhcp enable
interface GigabitEthernet0/0/0
dhcp select interface
adopt ipconfig See if you can get IP Address
DNS
The goal of the experiment :
1、 Configure the... Of each device as shown in the figure IP Address
2、DNS The server is pre configured , Contains domain names www.baidu.com Of IP Information , The corresponding address is 192.168.1.200
3、 Add the required configuration , Realization PC1 You can use the domain name ping through PC2, also DHCP Server exclusion 192.168.1.100 and 192.168.1.200 Two special addresses
AR1:ip add 192.168.1.1 24
dhcp enable
interface GigabitEthernet0/0/0
dhcp select interface
dhcp server dns-list 192.168.1.100
dhcp server excluded-ip-address 192.168.1.100
dhcp server excluded-ip-address 192.168.1.200
Static routing
requirement :
1. Please configure the host and router interface as shown in the figure IP Address
2. Configure the correct static route , Realization PC The machine can ping through server
AR1:ip route-static 192.168.3.0 24 192.168.2.2
ip route-static 192.168.4.0 24 192.168.2.2
AR2
ip route-static 192.168.1.0 255.255.255.0 192.168.2.1
ip route-static 192.168.4.0 255.255.255.0 192.168.3.2
AR3
ip route-static 192.168.1.0 255.255.255.0 192.168.3.1
ip route-static 192.168.2.0 255.255.255.0 192.168.3.1
VLAN
- Pictured , Each node ip The address is pre configured , And can communicate with each other
2、 adopt vlan To configure , Realization pc1 You can talk to pc2、pc5 signal communication pc1 Unable to join pc3、pc4 signal communication
Vlan 10
Vlan 20
interface GigabitEthernet0/0/1
port link-type access
port default vlan 10
interface GigabitEthernet0/0/2
port link-type access
port default vlan 10
interface GigabitEthernet0/0/3
port link-type access
port default vlan 20
interface GigabitEthernet0/0/4
port link-type trunk
port trunk allow-pass vlan 2 to 4094
LSW2
Vlan 10
Vlan 20
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
interface GigabitEthernet0/0/2
port link-type access
port default vlan 20
interface GigabitEthernet0/0/3
port link-type access
port default vlan 10
VLAN Inter connection
The experimental requirements
1、PC1 and PC2 The address of has been pre configured
2、 Complete the... Of the two switches as shown in the figure vlan To configure
3、 stay LSW1 Upper configuration PC Gateway address for , Realize two different vlan Of PC Can communicate with each other
LSW2:
Vlan 10
Vlan 20
interface GigabitEthernet0/0/1
port link-type access
port default vlan 10
interface GigabitEthernet0/0/2
port link-type access
port default vlan 20
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 2 to 4094
LSW1:
Vlan 10
Vlan 20
interface Vlanif10
ip address 192.168.10.254 255.255.255.0
interface Vlanif20
ip address 192.168.20.254 255.255.255.0
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
边栏推荐
- 1.26 pytorch learning
- Fourier transform of image
- The solution of positioning failure caused by framework jump
- Install Anaconda + NVIDIA graphics card driver + pytorch under win10_ gpu
- phpcms v9后台增加阅读量字段,可任意修改阅读量
- Exploration of webots and ROS joint simulation (II): model import
- Object extraction_ nanyangjx
- SQL learning experience (II): question brushing record
- [QNX Hypervisor 2.2用户手册]12.1 术语(一)
- Computer mall based on SSM
猜你喜欢
Corn image segmentation count_ nanyangjx
Euler function: find the number of numbers less than or equal to N and coprime with n
SRv6----IS-IS扩展
关于极客时间 | MySQL实战45讲的部分总结
实践是成为网工最快的方法,网络工程师实战项目整理
【云原生 | Kubernetes篇】深入万物基础-容器(五)
[300+ continuous sharing of selected interview questions from large manufacturers] column on interview questions of big data operation and maintenance (I)
Nebula diagram_ Object detection and measurement_ nanyangjx
【程序的编译和预处理】
Mongodb分片环境搭建和验证(redis期末大作业)
随机推荐
Regular Expression 正则表达式
1.21 study logistic regression and regularization
Degree of freedom analysis_ nanyangjx
SQL learning experience (II): question brushing record
Steps for ROS to introduce opencv (for cmakelist)
ImportError: ERROR: recursion is detected during loading of “cv2“ binary extensions. Check OpenCV in
ROS learning notes (6) -- function package encapsulated into Library and called
Yolov5 advanced zero environment rapid creation and testing
反爬之验证码识别登录 (OCR字符识别)
Checkerboard generation + camera calibration + stereo matching
cookie session 和 token
Drawing with MATLAB (2) -- color ring
phpcms小程序插件教程网站正式上线
远程工作的一些命令
读书笔记:SQL 查询中的SQL*Plus 替换变量(DEFINE变量)和参数
关于极客时间 | MySQL实战45讲的部分总结
基于SSM的电脑商城
Pytorch build progression
Fourier transform of image
Computer mall based on SSM