Community discussions

MikroTik App
 
abab_rafiq
Member Candidate
Member Candidate
Topic Author
Posts: 118
Joined: Thu Aug 24, 2006 12:47 pm
Location: Dhaka

Public IP through PPPoE

Thu Dec 28, 2006 2:05 pm

I wanna pass PUBLIC IP through PPPoE.
Where after login user get an PUBLIC IP and connect to INTERNET through that IP address.

Rafiq...
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Thu Dec 28, 2006 2:13 pm

You can assing public network to the local interface, when public IP addresses will be assigned to the users.
Another option to use FULL-NAT and translate public IP addresses for the specific clients.
 
User avatar
fatonk
Member
Member
Posts: 438
Joined: Tue Feb 22, 2005 11:06 am
Location: Mitrovica/Kosova

Thu Dec 28, 2006 2:57 pm

Hi

You can request a range of public IP's from your ISP, and request from them to route that subnet towards your WAN IP, so in that case you can use variety of solutions, as Sergejs mentionet configure LAN interface, use DST-NAT, also use that range to create a public pool for pppoe and alocate public IP's to your pppoe clients. But in all cases make sure that public subnet doesn't match in any NAT rules that you have previous configured, like NAT everything out WAN interface.

Regards.

Faton :)
 
abab_rafiq
Member Candidate
Member Candidate
Topic Author
Posts: 118
Joined: Thu Aug 24, 2006 12:47 pm
Location: Dhaka

Sat Dec 30, 2006 10:26 am

Dear
What will be the local address of my profile?
And according to local address what will be the route for public IP?
As example I assigned local address 192.168.100.15 and remote address comes from the pool [where pool defined from 192.168.100.16-192.168.100.30.
And the default gateway is 192.168.100.1.

How the operations will be success.

Please note that all private IP will be converted to public IP

rafiq...
 
ddlan
newbie
Posts: 28
Joined: Fri Jan 07, 2005 7:08 pm
Location: Dresden
Contact:

Sat Dec 30, 2006 3:20 pm

H(a)i,

use Proxy-ARP.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Tue Jan 02, 2007 11:08 am

Rafiq, give mor:)e details about the configuration scenario you have selected.
NAT, routing ?
Local-address is the address of the router from the private PPP server interface.

P.S.
Another method to achieve requested scenarion,
use 'arp-reply' and split the existing local subnet for public and local interfaces.
 
abab_rafiq
Member Candidate
Member Candidate
Topic Author
Posts: 118
Joined: Thu Aug 24, 2006 12:47 pm
Location: Dhaka

Mon Jan 08, 2007 8:59 am

I am running PPPoE server in my network with private IP. I wanna pass public IP through it.
What will be configuration for passing public IP thorough that server?
Like I got 202.148.56.XX/25 from my ISP and want to assign public IP to some of my client using that PPPoE server.
Please give me detailes for this scenario.
 
User avatar
maximan
Trainer
Trainer
Posts: 543
Joined: Sat May 29, 2004 12:10 am
Location: Rio Cuarto, Argentina
Contact:

Mon Jan 08, 2007 8:06 pm

you can add bridge interface. Then run pppoe server on this interface.
Make pool with public ips and create the profiles

Maxi
 
miahac
Long time Member
Long time Member
Posts: 516
Joined: Wed Dec 14, 2005 5:04 pm
Location: Wichita, KS

Tue Jan 09, 2007 2:01 am

you can add bridge interface. Then run pppoe server on this interface.
Make pool with public ips and create the profiles

Maxi
No need to make a bridge. If you are running nat on the same box, just add the pool of public IP's On the PPP profile the local address will be the current public address on the outside of your nat.
 
abab_rafiq
Member Candidate
Member Candidate
Topic Author
Posts: 118
Joined: Thu Aug 24, 2006 12:47 pm
Location: Dhaka

Tue Jan 09, 2007 12:27 pm

assigne dst-nat and got ping to profile local address. But can't ping to beyond Mikrotik.
There is a default route for ordinary PPPoE user.

Rafiq....
 
abab_rafiq
Member Candidate
Member Candidate
Topic Author
Posts: 118
Joined: Thu Aug 24, 2006 12:47 pm
Location: Dhaka

Most Easy SOlution

Fri Jan 12, 2007 6:50 am

Add IP pool of you public IPs.
Make profile with a public IP in the local address field.
Add a route of the whole network [that you added in IP pool]. For example

IP ADDRESS GATEWAY INTERFACE
X.X.X.X/X X.X.X.X Wan
Gateway will be
the next hope of your
current pppoe server

Now add another route at your next hope of your pppoe server as

IP ADDRESS GATEWAY INTERFACE
X.X.X.X/X X.X.X.X Lan
IP is the Wan int. IP
of PPPoE server


rafiq...
 
miahac
Long time Member
Long time Member
Posts: 516
Joined: Wed Dec 14, 2005 5:04 pm
Location: Wichita, KS

Fri Jan 12, 2007 3:39 pm

sorry I left out the details 8)

Who is online

Users browsing this forum: polz, sindy and 40 guests