首页 > 其他分享 >连网技术与网络管理2023-03-25

连网技术与网络管理2023-03-25

时间:2023-03-25 13:13:01浏览次数:39  
标签:25 used network 03 连网 Packet broadcast address router

.255   mac地址全f, 是广播地址

192.168.1.255         ff-ff-ff-ff-ff-ff     static

 

 192.168.1.1           d4-9e-05-8f-1c-f6     dynamic  网关

 

路由器隔离广播域

In computer networking, a broadcast domain is a logical division of a computer network, in which all nodes can reach each other by broadcast at the data link layer. A broadcast domain can be within the same LAN segment or it can be bridged to other LAN segments.

Router is a device that operates at the network layer of the OSI model. It is used to connect different networks together and route packets between them. By default, routers do not forward broadcast packets between different networks, which means that they can be used to isolate broadcast domains.

To isolate broadcast domains using a router, you can create separate subnets for each broadcast domain and configure the router to route packets between them. This will prevent broadcast traffic from one subnet from being forwarded to another subnet, effectively isolating the broadcast domains.

arp广播报文,会被路由器隔离。

 

如果要起作用,需要添加网关。

192.168.1.1如果去找192.168.2.1,arp报文,会发给网关

电脑会定期发送自己ip和mac的arp广播,可以检测冲突

 

交换机通过mac地址来交换数据,交换机有mac_address_table

,路由器通过ip来交换数据。路由器有路由表,

ICMP (Internet Control Message Protocol) and ARP (Address Resolution Protocol) are both protocols used in networking. ICMP is a protocol used for exchanging error messages and operational information between network devices. It is mainly used to diagnose network connectivity issues by sending and receiving message packets, such as ping requests and replies, that maintain the status of the network.

ARP, on the other hand, is a protocol used to map a network address (such as an IP address) to a physical address (such as a MAC address) on a local network. ARP allows devices on the network to communicate with each other by identifying the hardware address of the destination device. In general, ICMP is used for diagnostic purposes related to network connectivity, while ARP is used for finding the physical address of a device on the network.

 

Cisco Packet Tracer is a powerful network simulation tool that allows users to create, configure, and troubleshoot networks. It is used by networking professionals and students to test and visualize network topologies, protocols, and configurations. Packet Tracer allows the creation of virtual network devices such as routers, switches, and PCs, and users can simulate network traffic and network routing protocols such as OSPF, EIGRP, and BGP. It also allows the visualization of the network traffic by using built-in tools such as the Packet Capture tool. Packet Tracer provides a comprehensive environment for network modeling and allows users to validate the design, configure and test the network before deploying it in the real world.

 

Here are the steps to use Router CLI in Cisco Packet Tracer:

1. Open Cisco Packet Tracer and select the router icon from the device list on the left-hand side.

2. Drag and drop the router into the workspace.

3. Double-click on the router to open the CLI console.

4. Enter the enable command to enter into privileged mode.

5. Enter the configure terminal command to enter the global configuration mode.

6. Use various commands to configure the router, such as setting up interfaces, configuring IP addresses, setting up routes, and much more.

7. Once you have finished configuring the router, use the write command to save the configuration to the startup configuration file.

8. Use the exit command to exit the global configuration mode.

9. Finally, use the show commands to check the status of the router and verify that the configuration has been applied correctly.

Note: The exact CLI commands may vary depending on the specific router model and version of Cisco Packet Tracer being used.

 

标签:25,used,network,03,连网,Packet,broadcast,address,router
From: https://www.cnblogs.com/chucklu/p/17254542.html

相关文章

  • 代码随想录 day 25 216.组合总和III | 17.电话号码的字母组合
    找出所有相加之和为n的k个数的组合。组合中只允许含有1-9的正整数,并且每种组合中不存在重复的数字。说明:所有数字都是正整数。解集不能包含重复的组合。示例......
  • day25 打卡216.组合总和III 17.电话号码的字母组合
    day25打卡216.组合总和III17.电话号码的字母组合216.组合总和III216题目链接classSolution{List<List<Integer>>result=newArrayList<>();LinkedList......
  • 程序员的思维修炼:开发认知潜能的9节课阅读笔记03
      主动学习瞄准SMART目标  使用SMART方法实现目标能够更加专注,在这里,SMART代表具体的、可度量的、可实现的、相关的和时间可控的(Specific,Measurable,Achievable......
  • 做题记录 // 230325
    我欲乘风归去,又恐天上下雨。高处不撑伞。B.最短路http://222.180.160.110:1024/contest/3459/problem/2非常直白的标题让我在点进去之前认为这是一个板子。我错了。如......
  • 程序设计应用 2023-03-25
    howmanytypessupportedinurlpathThereareseveraltypesthatcanbeusedinURLpatternsinDjango.Herearesomeofthemostcommonlyusedtypes:str:Ma......
  • 做题记录 230324 // 最小生成树
    为什么擦眼睛会痛因为拭目痛いA.JungleRoadshttp://222.180.160.110:1024/contest/3452/problem/1纯最小生成树,比较坑的点是因为向POJ远程提交,所以没办法用万能头,......
  • Python - difference between '../../' and '/../../' when they are concatenated to
    scnzzh:~/aaa>catzzh1.pyimportos.pathprint(os.path.dirname(__file__))abs_file_dir=os.path.abspath(os.path.dirname(__file__))print(abs_file_dir)a=......
  • 20230325 LCD1602
    关于模块式编程:模块化编程是一种编写代码的方法,将大型程序分解成小的、独立的模块,每个模块实现特定的功能,并且可以被其他程序调用和重复使用。这种方法可以提高代码的可维......
  • vue03 01.创建项目
    目录01.创建项目打包工具vite介绍安装命令启动项目浏览效果代码目录打包预览运行01.创建项目打包工具vite官网vite介绍Vite也是前端构建工具相较于webpack,vite采......
  • P1036 [NOIP2002 普及组] 选数
    [NOIP2002普及组]选数洛谷传送门点击查看题目题目描述已知n个整数x1,x2,.....,xn,以及1个整数k(k<n)。从n个整数中任选k个整数相加,可分别得到一系列的和。例......