当前位置:网站首页>实践是成为网工最快的方法,网络工程师实战项目整理
实践是成为网工最快的方法,网络工程师实战项目整理
2022-06-26 08:40:00 【最铁头的网工】
静态IP分配的主机地址请自行配置
参考命令
实验目标:
1、为AR1的G0/0/0接口配置ip地址,地址为192.168.1.1,掩码为255.255.255.0
2、AR1开启DHCP服务,并且在G0/0/0接口开启DHCP功能,地址池选择接口模式
3、将两台PC配置为自动获取IP地址,然后通过ping命令测试二者连通性

AR1 :
dhcp enable
interface GigabitEthernet0/0/0
dhcp select interface
通过ipconfig看是否获取IP地址
DNS
实验目标:
1、按图示配置各设备的IP地址
2、DNS服务器已预配,包含域名www.baidu.com的IP信息,对应地址为192.168.1.200
3、添加所需的配置,实现PC1可以通过域名ping通PC2,并且DHCP服务器排除192.168.1.100和192.168.1.200两个特殊地址

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
静态路由
要求:
1.请根据图中所示配置主机以及路由器接口IP地址
2.配置正确的静态路由,实现PC机可以ping通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
- 如图,各节点ip地址已预配,且可以互相通信
2、通过vlan配置,实现pc1可以和pc2、pc5通信pc1不能和pc3、pc4通信

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间互联
实验需求
1、PC1和PC2的地址已预配
2、按图示完成两台交换机的vlan配置
3、在LSW1上配置各PC的网关地址,实现两台不同vlan的PC可以互相通信

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
边栏推荐
- [300+ continuous sharing of selected interview questions from large manufacturers] column on interview questions of big data operation and maintenance (I)
- What are the conditions for Mitsubishi PLC to realize Ethernet wireless communication?
- Convert verification code image to tfrecord file
- 【300+精选大厂面试题持续分享】大数据运维尖刀面试题专栏(一)
- 1.17 daily improvement of winter vacation learning (frequency school and Bayesian school) and maximum likelihood estimation
- 2021 software university ranking crawler program
- Matlab function foundation (directly abandon version)
- Summary of common instructions for arm assembly
- Sqoop merge usage
- 唯品会工作实践 : Json的deserialization应用
猜你喜欢
![[unity mirror] use of networkteam](/img/b8/93f55d11ea4ce2c86df01a9b03b7e7.png)
[unity mirror] use of networkteam

爬虫 对 Get/Post 请求时遇到编码问题的解决方案

Graduation thesis management system based on SSM

Matlab drawing checkerboard (camera calibration)

Data warehouse (3) star model and dimension modeling of data warehouse modeling

Euler function: find the number of numbers less than or equal to N and coprime with n

Playing card image segmentation

【MATLAB GUI】 键盘回调中按键识别符查找表

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

Install Anaconda + NVIDIA graphics card driver + pytorch under win10_ gpu
随机推荐
9. code generation
1.Intro_ Math (white board derivation and reprint of station B)
修复小程序富文本组件不支持video视频封面、autoplay、controls等属性问题
Detailed explanation of traditional image segmentation methods
在同花顺开户证券安全吗,
外部排序和大小堆相关知识
Autoregressive model of Lantern Festival
phpcms v9商城模块(修复自带支付宝接口bug)
[300+ continuous sharing of selected interview questions from large manufacturers] column on interview questions of big data operation and maintenance (I)
MPC learning notes (I): push MPC formula manually
Implementation code of interceptor and filter
1.25 suggestions and design of machine learning
Clion installation + MinGW configuration + opencv installation
phpcms手机站模块实现自定义伪静态设置
Backward usage
Nebula diagram_ Object detection and measurement_ nanyangjx
In automated testing, there are three commonly used waiting methods: sleep, implicitly\wait, and expected\u conditions
How to realize wireless Ethernet high-speed communication for multiple Mitsubishi PLCs?
Exploration of webots and ROS joint simulation (II): model import
1.27 pytorch learning