那位兄弟写下ROS2.9.2 ADSL共享的设置!
我设置了好久!ADSL 动态拨号正常也取的了IP!但是就是NAT不起来!在NAT那里也加了语句!chain=srcnat out-interface=Public action=masquerade
但下面的机子就是不能上网!但能访问ROS的页面!那位兄弟说下! 我这个没掉线!就是NAT不起作用!郁闷啊! 晕..设置个ADSL还好像不能公开那类!!又不是什么商业秘密! 找我呀,地球人都知道,我可以帮助你们 俺等有2.9.5的出来再动手 暂时还是不成功!成功的高手说下啊! 终于成功了!原来是默认网关的问题!设置默认网关为空白!
也就是setup设置时!只要设置
> 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.
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 : a
* a - add ip address
- g - setup default gateway
x - exit menu
your choice : 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 : 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 : x
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"
>
[ 本帖最后由 jxlyang 于 2005-10-10 05:36 编辑 ] 非常感谢lishinian
回头写个详细的带图片! !!!!!
[ 本帖最后由 75122889 于 2005-10-10 19:18 编辑 ] / ip firewall nat
add chain=srcnat action=masquerade
页:
[1]
2