Hello everyone.
Im trying to implement the layout shown in the picture attached.
The problem im facing right now is the following:
My isp offers 4 dynamic DHCP addresses.
I want the routerboard to use 1 of them for the LAN where i got my clients and use NAT.
i want my 2 servers witch is connected on different ports on the routerboard to be able to get one ip each from the external DHCP server.
My current configuration is a DHCP client on eter0 (wan) and a bridge between ports 1 --> 5 (where the lan is located) and this works fine.
I have tryed to change the dhcp client to the "bridge" interface but then it wont pickup an ip from the external dhcp server.
Can anyone give me any clue on what i need to do?
I can also add that it dosn't matter if i have to setup an dhcpserver for the servers (on the 2 other interfaces) just as long as im able to have the ipaddresses separated from the lan.
I also want to know if its possible to set firewall rules with dynamic ipadresses lets say from WAN (eter1) to server1 (eter2) i want to allow ssh, can i then make a rule that trafic to port 22 from wan(eter1) to eter2 on the routerboard should be forwarded?
Will be thankful for any advice
//Calle
Ps made the pic using http://draw.labs.autodesk.com/ADDraw/draw.html just wanted to give them the cred for the tool.