[ZT]ADSL上网用RouterOS架设DHCP服务器

来源:互联网 发布:连江房产网络备案查询 编辑:程序博客网 时间:2024/06/05 01:18

 

实例:网卡8139C连接局域网,NE2000 ISAIO300 IRQ10)连接ADSL Modem,路由器地址192.168.0.1,接入宽带ADSL(下载2m上传512K),网内一PC地址192.168.0.8(限制下载256K上传64K),开启Upnp,开启DHCP服务。

 

RouteOS安装好后设置8139C地址为192.168.0.1,然后用winbox设置。

 

1.Drivers---“+”---NE2000 IO=300 IRQ=5

2.Interfaces---点灰色的NE2000网卡---点“勾”启用

 

  PPPoe:

3.Interfaces---“+”---PPPoe Client---

  name=ADSL MTU=1492 MRU=1492 Interface=NE2000 Service=ADSL User=xxxxxxxx Password=xxxxxxxx UsePeerDns=yes

 在查看status页中查看ADSL有没有连上

4.IP---Firewall---Source NAT---"+"

  Action=masquerade

5.IP---Firewall---Mangle---"+"

  Protocol=TCP TcpOptions=sync Actions accept=TCP MSS=1448

  DNS cache:

6.IP---DNS cache Settings

  PrimaryDnsServer=202.96.209.6 Enabled=yes

  DHCP Server:

7.IP---pool---"+"

  name=123 Addresser=192.168.0.2-192.168.0.99

8.IP---DhcpServer---"+"

  name="" Interface=8139C Addpool=123 netmask=24 gatway=192.168.0.1  

  dnsServer=192.168.0.1

 

Upnp:

9.IP---Upnp---"+"

  Interface=8139C Type=internal

10.IP---Upnp---"+"

  Interface=ADSL Type=external Enabled=yes

11.Terminal---键入 ip upnp interface (enter)

  enable 0,1 (enter)

.. set enabled=yes (enter)

 

Queues:

12.下载带宽 IP---Simple Queues---"+"

  Name=down SrcAddress=0.0.0.0/0 DstAddress=192.168.0.8/32 terface=8139C maxlimit=256000

13.上传带宽 IP---Firewall---Mangle---"+"

  SrcAddress=192.168.0.8/32 InInterface=8139C DstAddress=0.0.0.0/0 Protocol=all Action=accept FlowMark=UP

14.Queues---QueuesTree---"+"

  Name=UP Parent=ADSL Flow=UP MaxLimit=64000

  

阅读(870) | 评论(0) | 转发(0) |
0

上一篇:[ZT]ROUTEOS实用小技巧

下一篇:[ZT]RouterOS实战ADSL拔号

相关热门文章
  • IP Sec VPN与NAT破镜重圆
  • 网站导航
  • UT2.0正式版下载
  • tomcat6.0配置(含配置视频下载...
  • Gomez中国网站用户体验排行榜(...
  • IBM DS3400 盘阵怎么查看是单...
  • 启动auditd时,报错如下,怎么...
  • CGSL系统中root密码正确,但无...
  • 在CGSL系统中,如何为不同的用...
  • CGSL系统如何设置交换分区的大...
给主人留下些什么吧!~~
原创粉丝点击