Community discussions

 
ilpastore
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 64
Joined: Sat Mar 24, 2007 1:08 am
Location: Italy

pppoe-client error

Fri Jun 14, 2019 6:11 pm

Hi guys,
simple question:

RB with 4 interface UP. eth1, eth2, eth3 and eth4

eth1 is a WAN for me, configured as PPPoE-Client with add default default route=no
eth2 is similiar, but with another carrier
eth3 is LAN1 192.168.1.1/24
eth4 is LAN2 192.168.2.1/24

i modify PPPoE distance, 10 for my WAN1, 20 for WAN2 (to stay safe)

dual mark-routing
chain prerouting src-address 192.168.1.0/24 action mark-routing lan1
chain prerouting src-address 192.168.2.0/24 action mark-routing lan2

and last i added 2 route
dst-addr=0.0.0.0 gateway=pppoe-out1 routing-mark=lan1
dst-addr=0.0.0.0 gateway=pppoe-out2 routing-mark=lan2

(all charapters "=/*" and other are not mentioned here.... wrote this post just as i remember)

my rules doesn't work... every connection, pass only on a single WAN


P.S. even in past i had some issue with PPPoE-client mode (instead using IP Addresses in all rules and routes)


how could I solve?

Who is online

Users browsing this forum: No registered users and 19 guests