I simply can not figure out how can I acquire more than one DHCP address on a WAN interface.
On ether1, it works perfect… but I need two more public IP addresses (that is possible if I attach the switch directly to the modem).
My main approach was to create a bridge. Add ether1 and virtual interfaces and set dhcp-client on them.
The problem is that the vif interfaces are in status “stopped” and could not find any indication in the wiki how to bring them up.
..also when the ether1 is bridged the DHCP renewal does not work - seems my bridge filter forwards, however I have followed the documentation and forwarding is enabled. ARP (I tried enabled and proxy-arp as well).
Please, tell me what I am doing wrong.
Thank you in advance.
Regards,
Z
PS: I see that on the screenshot ether1 is not among bridged ports, because I have been forced to remove otherwise the DHCP renewal failed
I found a way to do this but it limits you to only two DHCP clients / obtainable IPs (one for the bridge, one for the physical interface), and the requests cannot come from the same MAC address.
Generate a fake MAC by creating an EoIP interface, copy the MAC address, then delete the interface.
thank you for the answer, unfortunately it does not work
The bridge interface can not get an IP address and what is worse the ether1 can not renew the IP as long it is listed among bridge ports.
Could it be something else?
Honestly, I still does not understand why my approach with bridged virtual interfaces does not work… also why the ether1 is not able to renew the lease as soon it is bridged.
Could somebody show me some documentation where I can learn to use about the virtual interface usage and bridges in ROS?
I have played with the virtual interfaces and meta routers… I have a feeling that it would work, because I was able to create up to 7 mr-s with 8M memory and each had assigned a vif.
In order to work all vif’-s and the ether1 need to be bridged… but as soon I add ether1 to the bridge it loose the connection
I thing I give up.
It sounds like an easy task, but seems there is no solution on a ROS
the switch isnt running dhcp, the clients are. you have to ask your ISP for a dhcp-lease using 5 different mac addresses, which is where you run into the problem. You can setup all 5 ports with a dhcp client, and then connect them all to a switch and get them that way. the next problem you will have is sending all the traffic back out the same IP that it came in on…