当前位置:网站首页>网关的简单理解
网关的简单理解
2022-07-21 06:03:00 【永远爱小芝芝~】
一、网关的概念
首先要明白,网关(Gateway)本质上不是一个产品而是一个网络层的概念,网关(Gateway)就是一个网络连接到另一个网络的“关口”。 计算机本身不具备路由寻址能力,所以计算机要把所有的 IP 包发送到一个默认的中转地址上面进行转发,也就是默认网关。这个网关可以在路由器上,可以在三层交换机上,可以在防火墙上,可以在服务器上,所以和物理的设备无关。
网关实质上是一个网络通向其他网络的 IP 地址。
二、路由器的概念
所谓“路由”,是指把数据从一个地方传送到另一个地方的行为和动作,而路由器,正是执行这种行为动作的机器,它的英文名称为 Router,是一种连接多个网络或网段的网络设备,它能将不同网络或网段之间的数据信息进行“翻译”,以使它们能够相互 “读懂”对方的数据,从而构成一个更大的网络。
三、概念理解
当我们用交换机把多个计算机设备联通起来时,一般并不能称之为网络互连。因为这仅仅是把一个网络扩大了(通信设备数量的增多),则这仍然是同一个网络。
互联网都是指,用路由器进行互连的网络。
四、图例演示
如下图,当前内网有3台计算机设备,IP地址为 192.168.1.12,192.168.1.13,192.168.1.14。这3台计算机设备进行通信,只需要借助交换机 Switch0 即可。当内网计算机想要访问外网时,就必须把数据包通过网关 192.168.1.1,经由路由器Router0 转发到外部互联网。
边栏推荐
- BT.656 interface rate
- A simple way to get headers and cookies
- Script loads data into JSON file
- 丽华快餐订餐小程序
- C#/VB. Net to add multi line text watermark to word document
- International Accounting Standards IAS and IFRS
- Conversion module of three-phase differential encoder into pulse signal or open collector
- Centos安装Redis
- If else: is there a clock cycle difference between the judgment statement and the execution statement? Parallel execution? Is there a priority?
- Take the interface test in 2 hours - dark horse programmer, master the preparation of interface use cases, interface information analysis, interface information analysis through Oh packet capturing, a
猜你喜欢
Temperature signal measurement K-type thermocouple signal collector rs485/232 remote IO conversion module
mgre与ospf综合实验
20220719给AIO-3568J适配OpenHarmony-v3.1-beta
实行STEAM校本课程体系的策略
Draw the corresponding rectangular box on the picture according to the returned picture and coordinates
Low code tool revolution on the cusp of the storm
Interviewer: are you sure redis is a single threaded process?
OpenShift 4 - 配置OpenShift集群日志环境
Redis 官方可视化工具,高颜值,功能真心强大!
2022 Blue Bridge Cup provincial match group B supplementary questions [decimal to decimal], [shunzi date], [question brushing statistics], [pruning shrubs]
随机推荐
Take C language from 0 to 1 - program structure and use examples
ITSM and ITIL
温度信号测量K型热电偶信号采集器rs485/232远程IO转换模块
解读符合新时代主流的创客教育模式
从0到1 拿下C语言—程序结构及使用示例
攻防技术第二篇之-知己(防御手段)
visual studio引用外部庫的注意事項
DOM -- preloading and lazy loading
Bank compliance procedures KYC, CDD, AML and TM
Unity学习笔记-热更新相关
ITSM和ITIL
刷题:牛客-快速入门篇
if-else:if判断语句和执行语句之间相差1个时钟周期吗?并行执行吗?有优先级吗?
Based on tensorflow2.0+ use Bert to obtain Chinese word and sentence vectors and conduct similarity analysis
mysql dense_ Rank(), rank() function
CentOS install redis
mgre与ospf综合实验
If else: is there a clock cycle difference between the judgment statement and the execution statement? Parallel execution? Is there a priority?
<a>標簽跳轉到Servelet頁面並實現參數的傳遞
Is the Internet midlife crisis really that exaggerated when the same group of "elderly" employees are dismissed?