winbox添加dhcp和nat

例子如上,wan连接外网,lan作为内网。

设置网卡ip

保证mac地址正确!

去到ip address里,设置两网卡的ip!

保证能ping通外网!

设置dhcp

ip pool添加池,192.168.102.2-192.168.102.254

ip dhcp server,设置name,interface,address pool

    切换到networks的tab下,设置address(192.168.102.0/24)和gateway(192.168.102.1)

设置nat

ip firewall nat,在general里设置为srcnat(默认),以及action里masquerade即可!!!

相关文章:

  • 2021-12-08
  • 2021-12-06
  • 2021-04-14
  • 2021-12-28
  • 2021-06-15
  • 2021-12-16
  • 2021-11-03
猜你喜欢
  • 2022-03-03
  • 2021-05-08
  • 2022-02-15
  • 2022-01-15
  • 2021-05-22
  • 2021-11-22
  • 2021-12-03
相关资源
相似解决方案