两条ADSL+pppOE拨号上网问题
两条ADSL外线对应两个WAN.内网IP192.168.1.1
做了NAT和MANGLE,可以通过两个WAN上网!
问题:我现在需要在内网上做个PPPOE拨入服务,可是拨入后的用户无法上网,那个高手给指点下,以下是我的配置:
> interface
interface> print
Flags: X - disabled, D - dynamic, R - running
# NAME TYPE RX-RATE
0R lan ether 0
1R wan1 ether 0
2R wan2 ether 0
3R pppoe-out1 pppoe-out 0
4R pppoe-out2 pppoe-out 0
5 pppoe-in1 pppoe-in 0
ppp> profile print
Flags: * - default
0 * name="default" use-compression=default use-vj-compression=
use-encryption=default only-one=default change-tcp-mss=yes
1 name="pppoe profile" local-address=nei remote-address=nei
use-vj-compression=default use-encryption=default only-one
change-tcp-mss=default dns-server=61.134.1.4,218.30.19.40
2 * name="default-encryption" use-compression=default use-vj-c
use-encryption=yes only-one=default change-tcp-mss=yes
ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; 2
chain=srcnat connection-mark=2 action=src-nat to-addresses
to-ports=0-65535
1 ;;; 1
chain=srcnat connection-mark=1 action=src-nat to-addresses
to-ports=0-65535
ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=prerouting in-interface=lan connection-state=new nth
action=mark-connection new-connection-mark=1 passthrough=y
1 chain=prerouting in-interface=lan connection-mark=1 action
new-routing-mark=1 passthrough=no
2 chain=prerouting in-interface=lan connection-state=new nth
action=mark-connection new-connection-mark=2 passthrough=y
3 chain=prerouting in-interface=lan connection-mark=2 action
new-routing-mark=2 passthrough=no
ip route> print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DIS
0 ADC 125.76.202.1/32 125.76.203.205
1DC 125.76.202.1/32 125.76.203.209
2 ADC 125.76.203.205/32125.76.203.205
3 ADC 125.76.203.209/32125.76.203.209
4 ADC 192.168.1.0/24 192.168.1.1
5 A S ;;; 2
0.0.0.0/0 r 125.76.203.209
6 A S ;;; 1
0.0.0.0/0 r 125.76.203.205
7 AD0.0.0.0/0 r 125.76.202.1 1
8D0.0.0.0/0 r 125.76.202.1 1
地址
ip address> printFlags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 ;;; added by setup
192.168.1.1/24 192.168.1.0 192.168.1.255 lan
1 ;;; 1
125.76.203.205/32125.76.203.205125.76.203.205pppoe-out1
2 ;;; 2
125.76.203.209/32125.76.203.209125.76.203.209pppoe-out2
3 D 125.76.203.205/32125.76.202.1 0.0.0.0 pppoe-out1
4 D 125.76.203.209/32125.76.202.1 0.0.0.0 pppoe-out2
那位高手给指点下啊
上图吧,朋友!内外网均是PPPOE吧!
页:
[1]