不同VLan之间进行通信需要通过Router进行VLan的Label的交换,而每个Router的interface进行抽象出多个子接口,对子接口进行encapsulation dot1q vlan_id的配置,同时每个子接口都各自的网段.


packet tracer学习小结(不同VLan之间通信 DHCP中继)

基本配置命令:

interface fa0/0.1  //进行子接口

encapsulation dot1q 10 //该接口封装的VLan

ip address 192.168.1.1 255.255.255.0 //设置子接口ip

no shutdown //启动.



DHCP中继:

    主机与DHCP服务器处理不同的网段,同时通过多个路由器相连.

packet tracer学习小结(不同VLan之间通信 DHCP中继)


    ip helper-address w.x.y.z //在interface fa0/0下设置 通过该接口的dhcp服务地址,w.x.y.z代表DHCP服务器地址.


    










转载于:https://blog.51cto.com/enjoyunknow/1423336

相关文章:

  • 2021-09-01
  • 2021-06-30
  • 2021-07-30
  • 2021-12-23
  • 2021-11-30
  • 2021-07-06
  • 2021-10-16
  • 2021-07-28
猜你喜欢
  • 2022-01-02
  • 2021-10-06
  • 2021-09-10
  • 2021-12-14
  • 2021-04-09
  • 2021-05-17
  • 2021-12-12
相关资源
相似解决方案