ether6 and ether8 are 2 WAN's Both are 10MB down 1 MB up. giga-bridge is my LAN and also my PPPOE server. Before i added the PPPOE server PCC was working fine. now for some reason all pppoe traffic is going to WAN2 on ether8 and PCC is only working for NON PPPOE lan connections.
I need to PCC both Local and PPPOE traffic
mangle.
1 chain=input action=mark-connection new-connection-mark=ether8_conn
in-interface=ether8
2 chain=input action=mark-connection new-connection-mark=ether6_conn
in-interface=ether6
3 chain=output action=mark-routing new-routing-mark=to_ether8
connection-mark=ether8_conn
4 chain=output action=mark-routing new-routing-mark=to_ether6
connection-mark=ether6_conn
5 chain=prerouting action=accept dst-address=10.0.2.0/24
in-interface=giga-bridge log=no log-prefix=""
6 chain=prerouting action=accept dst-address=10.0.3.0/24
in-interface=giga-bridge log=no log-prefix=""
7 chain=prerouting action=mark-connection new-connection-mark=ether8_conn
passthrough=yes dst-address-type=!local in-interface=giga-bridge
per-connection-classifier=both-addresses-and-ports:2/0 log=no
log-prefix=""
8 chain=prerouting action=mark-connection new-connection-mark=ether6_conn
passthrough=yes dst-address-type=!local in-interface=giga-bridge
per-connection-classifier=both-addresses-and-ports:2/1 log=no
log-prefix=""
9 chain=prerouting action=mark-routing new-routing-mark=to_ether8
passthrough=no connection-mark=ether8_conn in-interface=giga-bridge
log=no log-prefix=""
10 chain=prerouting action=mark-routing new-routing-mark=to_ether6
passthrough=no connection-mark=ether6_conn in-interface=giga-bridge
log=no log-prefix=""
ROUTES
DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 10.0.2.1 1
1 A S 0.0.0.0/0 10.0.2.1 1
2 A S 0.0.0.0/0 10.0.3.1 1
3 A S 0.0.0.0/0 10.0.2.1 1
4 S 0.0.0.0/0 10.0.3.1 2
5 X S ;;; Wascar ADSL
0.0.0.0/0 10.0.2.1 1
6 X S ;;; my adsl wan
0.0.0.0/0 10.0.3.1 1
7 ADC 10.0.0.0/24 10.0.0.1 giga-bridge 0
8 ADC 10.0.2.0/24 10.0.2.3 ether8 0
9 ADC 10.0.3.0/24 10.0.3.3 ether6 0
10 ADC 192.168.54.2/32 192.168.54.1 <pppoe-Cliente1... 0
11 ADC 192.168.55.2/32 192.168.55.1 <pppoe-Cliente1... 0
12 ADC 192.168.55.3/32 192.168.55.1 <pppoe-Cliente1... 0
13 ADC 192.168.55.4/32 192.168.55.1 <pppoe-Cliente1... 0
14 ADC 192.168.55.5/32 192.168.55.1 <pppoe-Cliente1... 0
15 ADC 192.168.55.6/32 192.168.55.1 <pppoe-Cliente1... 0
16 ADC 192.168.66.0/24 192.168.66.1 wlan1 0