找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 6840|回复: 21

[其它] 那位兄弟写下ROS2.9.2 ADSL共享的设置!

[复制链接]
发表于 2005-10-9 23:39:10 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
我设置了好久!ADSL 动态拨号正常也取的了IP!但是就是NAT不起来!在NAT那里也加了语句!
chain=srcnat out-interface=Public action=masquerade
但下面的机子就是不能上网!但能访问ros的页面!那位兄弟说下!
routeros
lishinian 该用户已被删除
发表于 2005-10-10 00:10:15 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
routeros
回复

使用道具 举报

 楼主| 发表于 2005-10-10 00:13:34 | 显示全部楼层
我这个没掉线!就是NAT不起作用!郁闷啊!
routeros
回复

使用道具 举报

lishinian 该用户已被删除
发表于 2005-10-10 00:17:50 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
routeros
回复

使用道具 举报

发表于 2005-10-10 01:06:02 | 显示全部楼层
晕..设置个ADSL还好像不能公开那类!!又不是什么商业秘密!
routeros
回复

使用道具 举报

lishinian 该用户已被删除
发表于 2005-10-10 01:17:28 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
routeros
回复

使用道具 举报

发表于 2005-10-10 01:56:53 | 显示全部楼层
找我呀,地球人都知道,我可以帮助你们
routeros
回复

使用道具 举报

发表于 2005-10-10 02:10:41 | 显示全部楼层
俺等有2.9.5的出来再动手
routeros
回复

使用道具 举报

 楼主| 发表于 2005-10-10 02:30:43 | 显示全部楼层
暂时还是不成功!成功的高手说下啊!
routeros
回复

使用道具 举报

 楼主| 发表于 2005-10-10 05:31:11 | 显示全部楼层
终于成功了!原来是默认网关的问题!设置默认网关为空白!
也就是setup设置时!只要设置
[admin@MikroTik] > setup
  Setup uses Safe Mode. It means that all changes that are made during setup
are reverted in case of error, or if Ctrl-C is used to abort setup. To keep
changes exit setup using the 'x' key.

[Safe Mode taken]
  Choose options by pressing one of the letters in the left column, before
dash. Pressing 'x' will exit current menu, pressing Enter key will select the
entry that is marked by an '*'. You can abort setup at any time by pressing
Ctrl-C.
Entries marked by '+' are already configured.
Entries marked by '-' cannot be used yet.
Entries marked by 'X' cannot be used without installing additional packages.
   r - reset all router configuration
+ l - load interface driver
* a - configure ip address and gateway
   d - setup dhcp client
   s - setup dhcp server
   p - setup pppoe client
   t - setup pptp client
   x - exit menu
your choice [press Enter to configure ip address and gateway]: a
* a - add ip address
- g - setup default gateway
   x - exit menu
your choice [press Enter to add ip address]: a
enable interface: ether2
ip address/netmask: 192.168.1.1/255.255.255.0
#Enabling interface
/interface enable ether2
#Adding IP address
/ip address add address=192.168.1.1/24 interface=ether2 comment="added by \
/ip address add address=192.168.1.1/24 interface=ether2 comment="added by \
+ a - add ip address
* g - setup default gateway
   x - exit menu
your choice [press Enter to setup default gateway]: x
   r - reset all router configuration
+ l - load interface driver
* a - configure ip address and gateway
   d - setup dhcp client
   s - setup dhcp server
   p - setup pppoe client
   t - setup pptp client
   x - exit menu
your choice [press Enter to configure ip address and gateway]: x

[Safe Mode released]

Setup completed successfully.
Following commands were executed during this setup:
#Enabling interface
/interface enable ether2
#Adding IP address
/ip address add address=192.168.1.1/24 interface=ether2 comment="added by \
    setup"
[admin@MikroTik] >

[ 本帖最后由 jxlyang 于 2005-10-10 05:36 编辑 ]
routeros
回复

使用道具 举报

 楼主| 发表于 2005-10-10 05:39:23 | 显示全部楼层
非常感谢lishinian
回头写个详细的带图片!
routeros
回复

使用道具 举报

lishinian 该用户已被删除
发表于 2005-10-10 18:50:01 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
routeros
回复

使用道具 举报

发表于 2005-10-10 19:15:25 | 显示全部楼层
!!!!!

[ 本帖最后由 75122889 于 2005-10-10 19:18 编辑 ]
00.JPG
11.JPG
22.JPG
33.JPG
routeros
回复

使用道具 举报

lishinian 该用户已被删除
发表于 2005-10-10 19:22:12 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
routeros
回复

使用道具 举报

发表于 2005-10-10 19:28:03 | 显示全部楼层
/ ip firewall nat
add chain=srcnat action=masquerade
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-5 16:42 , Processed in 0.103266 second(s), 7 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表