当前位置:网站首页>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
边栏推荐
- Which software is safer to open an account on
- Matlab drawing checkerboard (camera calibration)
- 【微积分】拉格朗日乘子法
- 读书笔记:SQL 查询中的SQL*Plus 替换变量(DEFINE变量)和参数
- 1.Intro_ Math (white board derivation and reprint of station B)
- Object extraction_ nanyangjx
- Yolov5进阶之五GPU环境搭建
- SQL learning experience (II): question brushing record
- Section IV HQL execution process
- cookie session 和 token
猜你喜欢

pgsql_ UDF01_ jx

隐藏式列表菜单以及窗口转换在Selenium 中的应用

基于SSM的电脑商城

Uniapp uses uparse to parse the content of the background rich text editor and modify the uparse style

The solution of positioning failure caused by framework jump

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

Exploration of webots and ROS joint simulation (I): software installation

Detailed explanation of traditional image segmentation methods

反爬之验证码识别登录 (OCR字符识别)

Live review | smardaten lihongfei interprets the Research Report on China's low / no code industry: the wind direction has changed
随机推荐
The solution of positioning failure caused by framework jump
微信小程序如何转换成百度小程序
20220623 getting started with Adobe Illustrator
Polka lines code recurrence
Isinstance() function usage
Speckle denoising method for ultrasonic image
Slider verification - personal test (JD)
SRv6----IS-IS扩展
How to set the shelves and windows, and what to pay attention to in the optimization process
Pandas vs. SQL 1_ nanyangjx
Machine learning (Part 2)
Using MySQL and Qt5 to develop takeout management system (I): environment configuration
[program compilation and pretreatment]
基于SSM的毕业论文管理系统
小程序首页加载之前加载其他相关资源或配置(小程序的promise应用)
Data warehouse (1) what is data warehouse and what are the characteristics of data warehouse
Leetcode: array fast and slow pointer method
自动化测试中,三种常用的等待方式,强制式(sleep) 、 隐式 ( implicitly_wait ) 、显式(expected_conditions)
1.17 daily improvement of winter vacation learning (frequency school and Bayesian school) and maximum likelihood estimation
uniapp用uParse实现解析后台的富文本编辑器的内容及修改uParse样式