romikb Posted October 5, 2016 Report Share Posted October 5, 2016 I have a funtoo server connected to router by ethernet cable. Router IP is 192.168.11.1 and it have dhcp server running. How can I configure my network on funtoo server to have multiply IP on my ethernet interface given by dhcp? Link to comment Share on other sites More sharing options...
0 Oleg Vinichenko Posted October 6, 2016 Report Share Posted October 6, 2016 i don't think it's possible in a normal way. you could probably create a virtual interface on your physical interface with different mac's assigned. Link to comment Share on other sites More sharing options...
0 nimbius Posted November 26, 2016 Report Share Posted November 26, 2016 dhcpcd would need the ability to solicit multiple lease requests from the dhcp server, which im not sure is something its capable of. the dhcp server would also need the ability to track multiple leases, not just renewals, from a single mac. presently the only way to do this is through static range assignments in dhcpd, but it still doesnt solve the problem of a client that can solicit N+1 requests. youll need to assign the IP's as static in gentoo. if you have a number of servers to do this on, and wanted to use DHCP as an automation tool, you may want to consider chef, ansible, or salt to help. Link to comment Share on other sites More sharing options...
0 palica Posted December 22, 2017 Report Share Posted December 22, 2017 Try this please: ip link add link eth0 address 00:11:11:11:11:11 eth0.1 type macvlan ip link add link eth0 address 00:22:22:22:22:22 eth0.2 type macvlan Link to comment Share on other sites More sharing options...
Question
romikb
I have a funtoo server connected to router by ethernet cable.
Router IP is 192.168.11.1 and it have dhcp server running.
How can I configure my network on funtoo server to have multiply IP on my ethernet interface given by dhcp?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts