Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5379989
  • 博文数量: 890
  • 博客积分: 12876
  • 博客等级: 上将
  • 技术积分: 10760
  • 用 户 组: 普通用户
  • 注册时间: 2004-10-04 14:18
个人简介

猝然临之而不惊,无故加之而不怒。

文章分类

全部博文(890)

文章存档

2016年(1)

2014年(18)

2013年(41)

2012年(48)

2011年(65)

2010年(84)

2009年(121)

2008年(101)

2007年(129)

2006年(95)

2005年(118)

2004年(69)

分类: 系统运维

2010-09-07 16:46:41

 

实例:网卡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

  

阅读(2039) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~