当前位置:网站首页>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
边栏推荐
- Sqoop merge usage
- ROS learning notes (5) -- Exploration of customized messages
- dedecms小程序插件正式上线,一键安装无需任何php或sql基础
- [Matlab GUI] key ID lookup table in keyboard callback
- Yolov5进阶之四训练自己的数据集
- [IVI] 15.1.2 system stability optimization (lmkd Ⅱ) psi pressure stall information
- Clion installation + MinGW configuration + opencv installation
- Graduation thesis management system based on SSM
- Data warehouse (3) star model and dimension modeling of data warehouse modeling
- 什么是乐观锁,什么是悲观锁
猜你喜欢

Yolov5 advanced zero environment rapid creation and testing

Digital image processing learning (II): Gaussian low pass filter

Segmentation of structured light images using segmentation network

XSS 跨站脚本攻击

设置QCheckbox 样式的注意事项

关于极客时间 | MySQL实战45讲的部分总结

外部排序和大小堆相关知识

基于SSM的毕业论文管理系统

phpcms v9手机访问电脑站一对一跳转对应手机站页面插件
![[300+ continuous sharing of selected interview questions from large manufacturers] column on interview questions of big data operation and maintenance (I)](/img/cf/44b3983dd5d5f7b92d90d918215908.png)
[300+ continuous sharing of selected interview questions from large manufacturers] column on interview questions of big data operation and maintenance (I)
随机推荐
commonJS和ES6模块化的区别
自动化测试中,三种常用的等待方式,强制式(sleep) 、 隐式 ( implicitly_wait ) 、显式(expected_conditions)
SQL learning experience (II): question brushing record
【程序的编译和预处理】
小程序实现图片预加载(图片延迟加载)
Backward usage
[qnx hypervisor 2.2 user manual]12.2 terminology (II)
isinstance()函数用法
Machine learning (Part 1)
How to use the least money to quickly open the Taobao traffic portal?
[300+ continuous sharing of selected interview questions from large manufacturers] column on interview questions of big data operation and maintenance (I)
Stanford doggo source code study
Simulation of parallel structure using webots
关于小程序tabbar不支持传参的处理办法
远程工作的一些命令
浅谈一下Type-C接口发展历程
读书笔记:SQL 查询中的SQL*Plus 替换变量(DEFINE变量)和参数
爬虫 对 Get/Post 请求时遇到编码问题的解决方案
Speckle denoising method for ultrasonic image
隐藏式列表菜单以及窗口转换在Selenium 中的应用