大网数据广告活动
服务器运维问答

do routers route packets between two private subnets internally?

· 52CE 我爱测

i'm a beginner to networking and would like some clarification on this: suppose you have two private subnets (private IPs on both) on the same router from the inside (ie IT department subnet and Accounting department subnet), doe…

问题原文

原帖链接 · FOF1282 · CC BY-SA 4.0

i'm a beginner to networking and would like some clarification on this: suppose you have two private subnets (private IPs on both) on the same router from the inside (ie IT department subnet and Accounting department subnet), does the router route packets between these two internal private subnets or are the subnets isolated from one another and no communication can occur?

thanks in advance guys.

已采纳解答

原帖链接 · Tommiie · CC BY-SA 4.0

Private IP addresses are private because the community agreed that these are not to be routed on the public Internet. For a router there is no difference between these "private" IP addresses and "public" IP addresses; for a router they are both the same.

Thus to answer your question, yes, the router will route packets between these two internal networks. And that's another thing, a router doesn't know anything about "internal" or "external" networks. These are terms used in firewalls to differentiate between less and more secure regions.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2018-08-29)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。