Community discussions

MikroTik App
 
ali_abbass85
just joined
Topic Author
Posts: 23
Joined: Wed Dec 27, 2006 8:28 pm

newbie help me plz

Tue Aug 28, 2007 5:13 pm

i am intending to by a level 6 license but i want to know how to configure my router
i have a 2mb broadband connection (pppoe) and i want to share it , using a pppoe sever
i created a pppoe client and pppoe server ,i want to know how to link them together
and how to limit the transfer rate for each pppoe user
and thx in advance
 
channingzou
Member Candidate
Member Candidate
Posts: 137
Joined: Sun Feb 25, 2007 7:57 am
Location: NC,USA

Re: newbie help me plz

Wed Aug 29, 2007 8:44 am

here is manual
https://www.mikrotik.com/testdocs/ros/2.9/
check Ebay there have cheaper ROS Price
 
ali_abbass85
just joined
Topic Author
Posts: 23
Joined: Wed Dec 27, 2006 8:28 pm

Re: newbie help me plz

Wed Aug 29, 2007 10:35 am

i have read alot in the manual and i knew how to make the pppoe server and client separately but i cant make the internet working
 
abab_rafiq
Member Candidate
Member Candidate
Posts: 118
Joined: Thu Aug 24, 2006 12:47 pm
Location: Dhaka

Re: newbie help me plz

Wed Aug 29, 2007 7:51 pm

1. Check out after connecting with your Wan link you can go outside from you MK box.
2. If you can .. check out your route.
3. Check out your firewall, if you are using PRIVATE IP in LAN you need to nat those with your WAN pppoe link.

plz more specific where you stuck.

Rafiq...
 
ali_abbass85
just joined
Topic Author
Posts: 23
Joined: Wed Dec 27, 2006 8:28 pm

Re: newbie help me plz

Wed Aug 29, 2007 10:23 pm

i will tell u what i have done so far
i have read lot in the manual and i understand lot of things but i cant link what i understand
first of all the mission is that i want to share my internet connection
i have a 1mb pppoe accout from my ISP
i want to make a pppoe server on my router and give each user a limited download and upload rate

what i have done so far is making a pppoe server and pppoe secrets
i also added a pppoe out interface

thx alot for helping
 
channingzou
Member Candidate
Member Candidate
Posts: 137
Joined: Sun Feb 25, 2007 7:57 am
Location: NC,USA

Re: newbie help me plz

Thu Aug 30, 2007 7:37 am

can you get link before PPPOE added?
it seems you miss basic router setup.
 
ali_abbass85
just joined
Topic Author
Posts: 23
Joined: Wed Dec 27, 2006 8:28 pm

Re: newbie help me plz

Thu Aug 30, 2007 9:28 am

basic router setup?
i just added an ip address to the local ether NIC
i am so confused now :? plz help me with the steps from beginning ,what should i do first ?
 
channingzou
Member Candidate
Member Candidate
Posts: 137
Joined: Sun Feb 25, 2007 7:57 am
Location: NC,USA

Re: newbie help me plz

Fri Aug 31, 2007 5:53 am

here is basic setup
[admin@MikroTik] ip address> add address 10.0.0.217/24 interface Public
[admin@MikroTik] ip address> add address 192.168.0.254/24 interface Local
[admin@MikroTik] ip address> print
Flags: X - disabled, I - invalid, D - dynamic
  #   ADDRESS            NETWORK         BROADCAST       INTERFACE
  0   10.0.0.217/24      10.0.0.217      10.0.0.255      Public
  1   192.168.0.254/24   192.168.0.0     192.168.0.255   Local
[admin@MikroTik] ip address>
[admin@MikroTik] ip firewall nat> add chain=srcnat action=masquerade out-interface=Public
[admin@MikroTik] ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
 0   chain=srcnat out-interface=Public action=masquerade
 
ali_abbass85
just joined
Topic Author
Posts: 23
Joined: Wed Dec 27, 2006 8:28 pm

Re: newbie help me plz

Fri Aug 31, 2007 1:41 pm

ok i have done the basic setup in addition for what i did before :
/interface pppoe-client add name=pppoe-user user=ali password=321 interface=public disabled=no



/ip pool add name="pppoe-pool" ranges=10.1.1.62-10.1.1.72

/ppp profile add name="pppoe-profile" local-address=10.1.1.1 remote-address=pppoe-pool


/ppp secret add name=aaa1 password=123 service=pppoe profile=pppoe-profile

/interface pppoe-server server add service-name=internet interface=local default-profile=pppoe-profile
but it still not working :?
 
channingzou
Member Candidate
Member Candidate
Posts: 137
Joined: Sun Feb 25, 2007 7:57 am
Location: NC,USA

Re: newbie help me plz

Sat Sep 01, 2007 7:02 am

ok i have done the basic setup in addition for what i did before :
/interface pppoe-client add name=pppoe-user user=ali password=321 interface=public disabled=no

/ip pool add name="pppoe-pool" ranges=10.1.1.62-10.1.1.72

/ppp profile add name="pppoe-profile" local-address=10.1.1.1 remote-address=pppoe-pool


/ppp secret add name=aaa1 password=123 service=pppoe profile=pppoe-profile

/interface pppoe-server server add service-name=internet interface=local default-profile=pppoe-profile
but it still not working :?
change interface=public to interface=local(which you want provide to user)
 
ali_abbass85
just joined
Topic Author
Posts: 23
Joined: Wed Dec 27, 2006 8:28 pm

Re: newbie help me plz

Sat Sep 01, 2007 9:20 am

man no not this way ,i will show u all what i have done so far:



this is the basic setup
ip address add address 10.0.0.217/24 interface Public
ip address add address 192.168.0.254/24 interface Local
ip firewall nat add chain=srcnat action=masquerade out-interface=Public
now the pppoe client provided for me from my isp (user: ali ,pass: 321)
interface pppoe-client add name=pppoe-user user=ali password=321 interface=public disabled=no
and now the pppoe server for me
/ip pool add name="pppoe-pool" ranges=10.1.1.62-10.1.1.72
/ppp profile add name="pppoe-profile" local-address=10.1.1.1 remote-address=pppoe-pool
/ppp secret add name=aaa1 password=123 service=pppoe profile=pppoe-profile
/interface pppoe-server server add service-name=internet interface=local default-profile=pppoe-profile

the server is working and i can connect from any pc on my local network
also my pppoe client form isp is connecting too ,but how to bond these two so that i can access internet from my local network
 
channingzou
Member Candidate
Member Candidate
Posts: 137
Joined: Sun Feb 25, 2007 7:57 am
Location: NC,USA

Re: newbie help me plz

Sun Sep 02, 2007 6:56 am

are you use DSL modem? check article about setup DSL modem with PPPOE .I'm use cable, I don't need command:
interface pppoe-client add name=pppoe-user user=ali password=321 interface=public disabled=no
I don't have problem like you.
 
ali_abbass85
just joined
Topic Author
Posts: 23
Joined: Wed Dec 27, 2006 8:28 pm

Re: newbie help me plz

Sun Sep 02, 2007 10:05 am

no it is not dsl it is a broadband connection with user "ali" and pass "321"