当前位置:网站首页>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
边栏推荐
- 20220623 Adobe Illustrator入门
- phpcms v9商城模块(修复自带支付宝接口bug)
- Efficiency thesis Reading 1
- torch. fft
- Programming training 7- date conversion problem
- 力扣399【除法求值】【并查集】
- [Matlab GUI] key ID lookup table in keyboard callback
- Pytorch build progression
- 【300+精选大厂面试题持续分享】大数据运维尖刀面试题专栏(一)
- 1.20 study univariate linear regression
猜你喜欢

isinstance()函数用法

Graduation thesis management system based on SSM

Partial summary of 45 lectures on geek time MySQL

20220623 Adobe Illustrator入门

Playing card image segmentation

QT_ AI
![[Matlab GUI] key ID lookup table in keyboard callback](/img/b6/8f62ff4ffe09a5320493cb5d834ff5.png)
[Matlab GUI] key ID lookup table in keyboard callback

Drawing with MATLAB (1)

Autoregressive model of Lantern Festival

【云原生 | Kubernetes篇】深入万物基础-容器(五)
随机推荐
1.25 suggestions and design of machine learning
Speckle denoising method for ultrasonic image
Section IV HQL execution process
设置QCheckbox 样式的注意事项
【程序的编译和预处理】
Google Chrome collection
Yolov5进阶之二安装labelImg
实践是成为网工最快的方法,网络工程师实战项目整理
Yolov5进阶之一摄像头实时采集识别
How to use leetcode
ThreadLocal
cookie session 和 token
Nebula diagram_ Object detection and measurement_ nanyangjx
Clion installation + MinGW configuration + opencv installation
In automated testing, there are three commonly used waiting methods: sleep, implicitly\wait, and expected\u conditions
SQL learning experience (II): question brushing record
phpcms小程序插件4.0版正式上线
phpcms v9手机访问电脑站一对一跳转对应手机站页面插件
Programming training 7- date conversion problem
20220623 getting started with Adobe Illustrator