Secondary IP Addressing

secondary IP addressing. Secondary addressing uses multiple networks or subnets on the same data link. By using more than one subnet in the same Layer 2 broadcast domain, you increase the number of available IP addresses.

shows the ideas behind secondary addressing. Hosts A and B sit on the same LAN, in fact, in the same VLAN. So does R1. No trunking needs to occur, either. In fact, if you ignore the numbers, normally, A, B, and R1 would all be part of the same subnet.

TCP/IP Network with Secondary Addresses

Secondary addressing allows some hosts to have addresses in one IP subnet, others to have addresses

in a second IP subnet, and the router to have addresses in both. Both IP subnets would be in the same Layer 2 broadcast domain (VLAN). As a result, the router will have connected routes for both the subnets, so the router can route packets to both subnets and even between both subnets.

Note that the second ip address command must have the secondary keyword, implementing secondary addressing, which tells router to add this as an additional IP address. Without this keyword, the router would replace the other IP address.

Secondary addressing does have one negative: Traffic between hosts on the same VLAN, but in different subnets, requires a trip through the router. For example, in Figure 16-14, when host A in subnet 172.16.1.0 sends a packet to host B, in subnet 172.16.9.0, host A’s logic is to send the packet to its default gateway. So, the sending host sends the packet to the router, which then sends the packet to host B, which is in the other IP subnet but in the same Layer 2 VLAN.

最新文章

  1. JS函数和变量
  2. JS中的工厂模式
  3. JAVA基础知识之Collections工具类
  4. poj3525Most Distant Point from the Sea(半平面交)
  5. Topogun教学视频
  6. 获取用户ip接口
  7. bzoj3571: [Hnoi2014]画框 最小乘积匹配+最小乘积XX总结,
  8. docNet基础学完感想
  9. MSSQL Server 2008 数据库安装失败
  10. iOS基础 - iOS网络基础
  11. UNIX基础上
  12. jdk源码阅读笔记-LinkedHashMap
  13. RobotFramework - AppiumLibrary 之关键字Open Application使用
  14. scrapy 之自定义命令运行所有爬虫文件
  15. InstallShield-常用prq文件的下载地址
  16. How Xtuner E3 works for BMW 520d Diagnosis and initialization of CBS service
  17. nginx简单权限配置
  18. Java学习笔记——IO操作之以图片地址下载图片
  19. VMware vSphere 6.0 安装及管理手册
  20. swift - UIToolbar 的用法

热门文章

  1. 慕课网-安卓工程师初养成-2-12 如何在Java中使用注释
  2. Type-base dispatch
  3. HTTP协议——学习资料小结
  4. typedef 与define 的区别
  5. Windows API学习---用户方式中的线程同步
  6. C++: std::string 与 Unicode 结合
  7. js 打开PDF
  8. CLRS:master theory in complexity of algorithm
  9. Solaris引导和关闭
  10. 必须会的SQL语句(四)删除和更新