Community discussions

MikroTik App
 
yudigadget
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 60
Joined: Fri Mar 23, 2007 1:09 pm

About PPP-Client, how to route

Fri Nov 09, 2007 6:17 pm

I tried create a backup of internet access using dial-up with external modem - serial interface.

1st of all, please check my configuration below.. does what i did is correct? specially on ppp profile, i create 2.. but i'm not sure whether it's correct or not. I just follow guide from book at local book store here.

[admin@MikroTik] > /interface ppp-client add name="TelkomNet" max-mtu=1500 max-m
ru=1500 port=serial0 user="telkomnet@instan" password="telkom" profile=default p
hone="080989999" dial-command="ATDT" modem-init="" null-modem=no dial-on-demand=
no add-default-route=yes use-peer-dns=yes allow=pap disabled=no
[admin@MikroTik] > /ppp profile set default name="default" remote-address=0.0.0.
0 use-compression=default use-vj-compression=default use-encryption=default only
-one=default change-tcp-mss=yes comment=""
[admin@MikroTik] > /ppp profile set default-encryption name="default-encryption"
use-compression=default use-vj-compression=default use-encryption=yes only-one=
default change-tcp-mss=yes comment=""

Well, the connection is ok.. i can ping to the public IP (ex: ping http://www.google.com and got reply).

2nd question, how to make a route..
example, for anyone on LAN that want to connect to network/IP 203.x.x.x will route to internet connection that use PPP
and others will route to other (main) internet connection...

because our main internet connection sometime got problem to international link and i need to check whether to international link is ok or not.. i will check it by disable the route.

any idea how to route a network to that PPP connection.. because i don't know how to do that? there is no information about IP of PPP connection, so i don't know how to setup:
all connection from my lan to 203.x.x.x will route to PPP IP ????

Thanks a lot for help :)

Yudi
 
yudigadget
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 60
Joined: Fri Mar 23, 2007 1:09 pm

Re: About PPP-Client, how to route

Sat Nov 10, 2007 9:21 am

any help? please.. :)