|
楼主 |
发表于 2006-5-10 14:50:09
|
显示全部楼层
路由设置
/ ip route
add dst-address=0.0.0.0/0 preferred-source=0.0.0.0 gateway=218.19.168.1 distance=1 comment="" disabled=no
add dst-address=210.38.32.191/32 preferred-source=0.0.0.0 gateway=192.168.70.1 distance=1 comment="" disabled=no
add dst-address=210.38.32.192/32 preferred-source=0.0.0.0 gateway=192.168.70.1 distance=1 comment="" disabled=no
add dst-address=202.116.41.230/32 preferred-source=0.0.0.0 gateway=192.168.70.1 distance=1 comment="" disabled=no
add dst-address=202.116.41.232/32 preferred-source=0.0.0.0 gateway=192.168.70.1 distance=1 comment="" disabled=no
add dst-address=172.16.0.0/24 preferred-source=0.0.0.0 gateway=192.168.70.1 distance=1 comment="" disabled=no
add dst-address=172.17.0.0/16 preferred-source=0.0.0.0 gateway=192.168.70.1 distance=1 comment="" disabled=no
add dst-address=192.168.43.0/24 preferred-source=0.0.0.0 gateway=192.168.70.1 distance=1 comment="" disabled=no
以下是接口设置
/ interface ethernet
set dlin_lan name="dlin_lan" mtu=1500 arp=enabled disable-running-check=yes auto-negotiation=yes full-duplex=yes \
cable-settings=default speed=100Mbps disabled=no
set up_adsl name="up_adsl" mtu=1500 arp=enabled disable-running-check=yes auto-negotiation=yes full-duplex=yes \
cable-settings=default speed=100Mbps disabled=no
set min_wan name="min_wan" mtu=1500 arp=enabled disable-running-check=yes auto-negotiation=yes full-duplex=yes \
cable-settings=default speed=100Mbps disabled=no
/ interface wireless align
set frame-size=300 active-mode=yes receive-all=no audio-monitor=00:00:00:00:00:00 filter-mac=00:00:00:00:00:00 \
ssid-all=no frames-per-second=25 audio-min=-100 audio-max=-20
/ interface pptp-server server
set enabled=no mtu=1460 mru=1460 authentication=mschap2,mschap1 keepalive-timeout=30 default-profile=default
/ interface pppoe-client
add name="pppoe-out" mtu=1480 mru=1480 interface=up_adsl user="gzDSL82373502" password="lnlib123" profile=default \
service-name="" ac-name="" add-default-route=no dial-on-demand=no use-peer-dns=no allow=mschap2,mschap1,chap,pap \
disabled=no
/ interface l2tp-server server
set enabled=no mtu=1460 mru=1460 authentication=mschap2,mschap1,chap,pap default-profile=default
/ interface bridge port
set dlin_lan bridge=none priority=128 path-cost=10
set up_adsl bridge=none priority=128 path-cost=10 |
|