I have a next situation:
Have a 2 interface OUT and IN.
Out interface is connected to switch and setup a DHCP server with pool:10.10.10.1-10.10.10.9
The IP address of OUT interface is 10.10.10.10, and DHCP working very well.
Now, I have a extern AP wich is setup like a client and connected to my wifi ISP. That AP is conected to IN interface.
My wifi use a PPPOE protocol for connecting and have a DHCP server.
I made a DHCP client for IN interface and it give me a IP adress for IN interface. That is 192.168.20.1-192.168.20.x
What I want is that every PC from swich to be able to connect to a wifi ISP from PC with PPPOE.
My idea was to make a bridge interface. Then I added 2 interface on port and that is OUT and IN interface.
Now the PPPOE connection from every PC is working, what I wanted, but this IN interface take a control from my local DHCP and giving me a local address from wifi ISP and NOT from my DHCP pool1!
My question is: How to prevent this?
I know that the idea would be in firewall or in NAT bridge but I try lot of combination without success.
Thx.