当前位置:网站首页>Cisco - Small Network Topology (DNS, DHCP, Web Server, Wireless Router)
Cisco - Small Network Topology (DNS, DHCP, Web Server, Wireless Router)
2022-08-04 14:36:00 【Jump without a tiger】
Small network topologyDNS、DHCP、网站服务器、无线路由器
==路由器
定义:连接两个或多个网络的硬件设备
作用:路由寻址[传送门]
DHCP服务器
定义:动态主机配置协议(Dynamic Host Configuration Protocol)[传输门]
作用;主要作用是集中地管理、分配IP地址,使网络环境中的主机动态的获得IP地址、Gateway地址、DNS服务器地址等信息.
工作原理:DHCPThe server will create an address pool(地址仓库),If required by the computer connected to the current serverip地址,It will be given in the form of leaseip地址,The default rental period is one day(serve at homeDHCPThe server is usually a router),If the rental time is up,It will detect if the computer continues to connect,如果没有就回收,In this connection will be preferredip.
DNS服务器
定义:域名解析系统(Domain Name System,缩写:DNS)
===作用:
①存储域名&IP地址信息
www.baidu.com <—> 14.215.177.38
②解析(翻译)域名和ip地址
正向解析(The general website only does forward parsing)
www.baidu.com →14.215.177.38
反向解析
14.215.177.38 →www.baidu.com
DNSis a public service
①:DNSThe service that provides analysis is provided by some Internet companies(百度,阿里巴巴,114平台)
②:Each computer has its own recordsDNS的文件
C:\Windows\System32\drivers\etc\hosts

常见公共DNS服务器
常用公共DNS服务器地址
How to set which one the computer usesDNS服务器
CiscoRouter operating mode

Small network topology

需求:
①:Configure the above equipment reasonablyIPThe address implements the function of each device(网站服务器、dns服务器、DHCP服务器、台式电脑、无线路由器、无线笔记本)
②:The above devices are configured to achieve communication.
建立网络拓扑

配置路由器
配置路由器两端口,Make the left segment192.168.100.Right network segment8.8.8..
①:f0/0 端口 192.168.100.254
②:f0/1 端口 8.8.8.254
Router>en
Router#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#in f0/0
Router(config-if)#ip add 192.168.100.254 255.255.255.0
Router(config-if)#no shut
Router(config-if)#in f0/1
Router(config-if)#ip add 8.8.8.254 255.0.0.0
Router(config-if)#no shut

配置网站服务器
配置如下IP地址,子网掩码,默认网关.
开启http服务,Test for local access.

配置DNS服务器

配置DHCP服务器
配置如下ip地址,子网掩码,网关
配置DHCP服务
Test whether and DNS,Web server communication
Let the hosts in the LAN obtain it automaticallyIP配置
DHCP服务器配置完成后,Hosts in the local area network can be automatically obtainedip配置,No need to get it manually.

Test whether the host can access the website
使用主机1通过IPThe address to access the web server page8.8.8.9
使用主机1Access web server web pages through a domain namewww.web.com
测试通信
使用IP地址访问网站
Use the domain address to access the website
测试结果成功
无线路由器配置

设定网关地址192.168.1.254 255.255.255.0
Wireless router hasDHCP服务功能,勾选启用DHCP服务器功能
无线路由器具有ip地址,192.168.100.5 255.255.255.0
Devices connected to the wireless router form a local area network192.168.1.* 24
And can communicate with the outside normally


边栏推荐
猜你喜欢
随机推荐
leetcode:259. 较小的三数之和
ACL 2022 | 社会科学理论驱动的言论建模
【剑指offer59】队列的最大值
Crawler - basic use of selenium, no interface browser, other uses of selenium, cookies of selenium, crawler cases
手搓一个“七夕限定”,用3D Engine 5分钟实现烟花绽放效果
记录都有哪些_js常用方法总结
1375. 二进制字符串前缀一致的次数-前序遍历法
[LeetCode] 38. Appearance sequence
用于X射线聚焦的复合折射透镜
爬虫——selenium基本使用、无界面浏览器、selenium的其他用法、selenium的cookie、爬虫案例
[Opportunity Enlightenment-60]: "Soldiers, Stupid Ways"-1- Opening: "Death" and "Life" are the way of heaven
Crawler - action chain, xpath, coding platform use
考研上岸又转行软件测试,从5k到13k完美逆袭,杭州校区小哥哥拒绝平庸终圆梦!
【Today in History】August 4: First female Turing Award winner; NVIDIA acquires MediaQ; first Cybersecurity Challenge completed
实际工作中的高级技术(训练加速、推理加速、深度学习自适应、对抗神经网络)
Android Sqlite3基本命令
广告电商系统开发功能只订单处理
Almost all known protein structures in the world are open sourced by DeepMind
《中国综合算力指数》《中国算力白皮书》《中国存力白皮书》《中国运力白皮书》在首届算力大会上重磅发出
解题-->在线OJ(十八)









