Community discussions

MikroTik App
 
Basil
just joined
Topic Author
Posts: 21
Joined: Tue Nov 20, 2007 10:35 am

pppoe client bridging (route between 2 pppoe clients)

Tue Nov 20, 2007 11:12 am

Quick run down - I have a typical setup - internet - 2 X adsl modem - mikrotik (acting as NAT, pppoe server and ap-bridge) - wireless clients.

From the internet I can access services running on a certain pppoe client using dst-nat and making sure the pppoe client always gets the same address, works well. but can't access the pppoe client from another pppoe client. EG I can vnc into the client pc, but I can't vnc the client from another client.

How can I forward packets between 2 pppoe clients, anyway to bridge the two? I have many pppoe clients so I don't want to enable forwarding on the AP which probably wouldnt work anyway or would it? just curious.

I also don't want to have an ip address on the local interface as its not recommended with a pppoe server so I can't use a PPTP server, though I heard that might solve the problem.

pppoe client a = 10.10.10.11 routing mark = bobhouse
pppoe client b = 10.10.10.12 routing mark = boboffice

I only use routing marks to route out through a specific adsl line

How can I set it that I can "ping" client a from client b. any ideas?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: pppoe client bridging (route between 2 pppoe clients)

Tue Nov 20, 2007 3:34 pm

proxy-arp?..
 
Basil
just joined
Topic Author
Posts: 21
Joined: Tue Nov 20, 2007 10:35 am

Re: pppoe client bridging (route between 2 pppoe clients)

Tue Nov 20, 2007 8:39 pm

I don't understand proxy arp, had a look and it mentioned something about vlan's. Well, a vlan is sort of what I want to create between the two pppoe clients. I need more help than just the suggestion though, how would I implement it?

I need some way of bridging the two pppoe clients, this must be possible hey?

Please any help would be great.

Basil
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: pppoe client bridging (route between 2 pppoe clients)

Tue Nov 20, 2007 11:21 pm

 
Basil
just joined
Topic Author
Posts: 21
Joined: Tue Nov 20, 2007 10:35 am

Re: pppoe client bridging (route between 2 pppoe clients)

Wed Nov 21, 2007 12:23 am

Thanks, but I have gone through that link, and the manual for mikrotik about proxy-arp. i have enabled proxy arp on the interface that is the pppoe server, I have also tried entering in arp values manually for both ip addresses - but I can still not access pppoe client A from pppoe client B, but it still works from the internet.

Please guys, its not like I haven't tried, but I can't figure this one out.
 
Basil
just joined
Topic Author
Posts: 21
Joined: Tue Nov 20, 2007 10:35 am

Re: pppoe client bridging (route between 2 pppoe clients)

Wed Nov 21, 2007 9:32 am

Alright, so after removing the routing marks my problem is solved. It works even if ARP on the pppoe interface (ether1) is set to enabled or proxy-arp, doesn't seem to make a difference. I can now access the web site running on one pppoe client's pc from another pppoe client - so my new question is:


How do I get it to work now that I know the problem is the routing marks that are being added? Should I leave the routing marks off and add static routes if I want to decide which gateway (ether2 or ether3) the pppoe client should route out on.

Can I use a route entry to do the same as what the routing marks did? Basically under ip route - I added a entry that packets with a certain mark go out through a certain gateway.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: pppoe client bridging (route between 2 pppoe clients)

Wed Nov 21, 2007 1:51 pm

please post your mangle rules and routes where routing mark is used
 
User avatar
GWISA
Member
Member
Posts: 389
Joined: Tue Jan 31, 2006 2:37 pm
Location: Johannesburg, South Africa

Re: pppoe client bridging (route between 2 pppoe clients)

Thu Nov 22, 2007 3:18 pm

add a jump rule before your routing mark rule that says:

src-addr=<pppoe1> dst-addr=<pppoe2> action=jump chain=bypass-mark

Thereby bypassing the routing mark rule for local traffic.

OR

In your routing mark rule, make the dst-address=!<local address list>
 
hasankaheil
just joined
Posts: 1
Joined: Sun Mar 25, 2018 6:01 am

Re: pppoe client bridging (route between 2 pppoe clients)

Sun Mar 25, 2018 6:04 am

hello,

I have the same problem,
i cant access my pppoe clients from other clients.

i am running a Mikrotik PPPOE server,
and i am using PCC.

any help?
thanks

Who is online

Users browsing this forum: No registered users and 41 guests