i have some problem, when i enable two default route with connection marks and pppoe server, then my internet don’t work
there are routes:
ip route add add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=10.1.0.1 routing-mark=free_zona scope=30 target-scope=10
ip route add add comment="" disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=92.36.128.1 routing-mark=another scope=255 target-scope=10
free zona - a list of address which are in provider free zona. there i can use resources for free
another - negation of free zona list.
10.1.0.1 - providers gateway for free zona - first pppoe connection to provider
92.26.128.1 - providers gateway for internet zona - second pppoe connection to provider.
my internet is working, when i use gateway (mikrotik ip address), but don’t working when i connect over pppoe.
there are another information:
/interface pppoe-server export
# sep/05/2009 02:58:31 by RouterOS 3.13
#
/interface pppoe-server
add comment="" disabled=no name=pppoe_Server service=MikroTik user=kolinsb
/interface pppoe-server server
add authentication=pap,chap,mschap1,mschap2 default-profile=brze disabled=no interface=lan keepalive-timeout=5 max-mru=1480 max-mtu=1480 max-sessions=0 mrru=disabled \
one-session-per-host=yes service-name=pppoe_Server
[kolinsb@Jaaa] > ppp profile export
# sep/05/2009 02:59:04 by RouterOS 3.13
#
/ppp profile
set default change-tcp-mss=yes comment="" name=default only-one=default use-compression=default use-encryption=yes use-vj-compression=default
add change-tcp-mss=yes comment="" dns-server=208.67.222.222,208.67.220.220,192.168.0.1 local-address=local_address name=brze only-one=yes remote-address=remote_address \
use-compression=default use-encryption=yes use-vj-compression=default
set default-encryption change-tcp-mss=yes comment="" name=default-encryption only-one=default use-compression=default use-encryption=yes use-vj-compression=default
[kolinsb@Jaaa] > ip pool export
# sep/05/2009 02:59:35 by RouterOS 3.13
#
/ip pool
add name=lan ranges=192.168.0.1-192.168.0.2
add name=local_address ranges=192.168.2.1-192.168.2.254
add name=remote_address ranges=192.168.50.2-192.168.50.20
and route table:
[kolinsb@Jaaa] > ip route export
# sep/05/2009 03:17:47 by RouterOS 3.13
#
/ip route
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=10.1.0.1 \
routing-mark=free_zona scope=30 target-scope=10
add comment="default routa za wireless" disabled=no distance=1 dst-address=\
0.0.0.0/0 gateway=192.168.100.252 routing-mark=another scope=255 \
target-scope=10
add comment="" disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=\
92.36.128.1 routing-mark=ostalo scope=255 target-scope=10
add comment=dns disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=\
kolins_adsl routing-mark=dns
add comment="" disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=\
10.0.0.1,lan scope=30 target-scope=10
add comment="" disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=\
192.168.100.252 scope=255 target-scope=10
add comment="" disabled=yes distance=1 dst-address=10.10.0.1/32 gateway=lan
add comment="" disabled=yes distance=1 dst-address=10.100.37.0/26 gateway=\
10.1.0.1 scope=30 target-scope=10
add comment="" disabled=yes distance=1 dst-address=10.105.3.0/24 gateway=\
192.168.100.252 scope=30 target-scope=10
thaks for any help.