Community discussions

MikroTik App
 
captainproton
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Sat Jan 12, 2008 3:01 pm

using public IP Addresses

Mon Oct 05, 2009 1:30 pm

Hey,

I want to use public IPs for my network:

I have a mikrotik router connected to a adsl Modem on eth1.
There is a pppoe client connecting dialing up to my ISP.
A gateway and public IP address is being automatically assigned.

Now my ISP is routing a xxx.xxx.xxx.0/26 public IP range to my ADSL connection.

I can add one of these public addresses on my mikrotik router and it can be pinged from another computer over the Internet.

What I would like to have is: all computers from my private network (connected to eth2 on MT) should get one of the public IPs. I do not want to use address mapping to map the public net to my private.

Any Idea?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7190
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: using public IP Addresses

Mon Oct 05, 2009 1:39 pm

You can bridge public interface with ether2.
 
captainproton
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Sat Jan 12, 2008 3:01 pm

Re: using public IP Addresses

Mon Oct 05, 2009 1:57 pm

I created a new bridge. under 'ports' I added eth2 to the brigde but the PPPoE-Client Interface is not 'selectable' as another port. When also adding eth1 to the bridge, the PPPoE connection is terminated.
 
captainproton
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Sat Jan 12, 2008 3:01 pm

Re: using public IP Addresses

Tue Oct 06, 2009 11:30 am

anyone knows how to do that?
 
captainproton
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Sat Jan 12, 2008 3:01 pm

Re: using public IP Addresses

Tue Oct 06, 2009 1:38 pm

Ok, I found out how to do it.

The hint from mrz was working finally.

so here is how I did it:

- eth1 on DSL Modem
- PPPoE Client on eth1 with ISP username/password
- from my /26 subnet I added x.x.x.1/26 to eth1
- building a bridge and adding eth1 and eth2 to it.
- a users PC is given the address x.x.x.2 - Subnet Mask 255.255.255.192 - Gateway/DNS x.x.x.1

Works fine.

In addition I have added the bridge-filter
--> chain: forward , in-interf.: eth2 , MAC-Protocol-nr: PPPoE-Discovery , action: drop
to prevent users to build PPPoE connections accross the Mikrotik Router on my DSL Modem.

Who is online

Users browsing this forum: cneg1485 and 46 guests