Community discussions

MikroTik App
 
User avatar
cholegm
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Thu Jul 19, 2007 7:43 pm
Location: Gornji Milanovac, Serbia
Contact:

Problem with MAC address

Sun Oct 14, 2007 9:14 pm

Hi everybody,

I have a big problem!

My setup:
Image

USER >>>>> MT1 >>>>> MT2 >>>>> MT3

When user (00:00:00:00:00:11) wants internet he goes to mt1 then with EoIP tunnel goes to mt2 and from mt2 with Ethernet goes to mt3 where is Hotspot with MAC authorization.
Problem is in that user on hotspot (mt3) don’t have real Mac... He have Mac of mt2 (interface 5 )

And on host list on HotSpot I have hosts with same MAC (int.5) and deferent IP (real one)

I try IPIP... same problem... MikroTik lose real user mac and use last mikrotik interface mac :(
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Problem with MAC address

Mon Oct 15, 2007 2:13 pm

IPIP is IP tunnel over IP.

EoIP should be used for this case. In case correct interfaces are bridged for EoIP between HotSpot and end-client, there should be real MAC-address on the HotSpot router.
 
User avatar
cholegm
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Thu Jul 19, 2007 7:43 pm
Location: Gornji Milanovac, Serbia
Contact:

Re: Problem with MAC address

Mon Oct 15, 2007 6:50 pm

EoIP should be used for this case.
- I know... I'm using EoIP (between mt1 and mt2).
In case correct interfaces are bridged for EoIP between HotSpot and end-client
- MT1 is connected to MT2 with EoIP. On MT2 is address lists (traffic and flat) with mark routing ( users IPs in traffic goes to MT4, who is HotSpot with username/password auth. and users IPs in flat goes to MT3, who is HotSpot with MAC auth.). Same problem with MAC addreses is in MT4 but I don't need there (only I need username, password and IP).

Sergejs,
Do you known why host with IP and MAC address lose real host MAC and use some other interface MAC address?


Thanks,
Mladen