|
楼主 |
发表于 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 编辑 ] |
|