Jump to content

Photo

multiple IP addresses on one physical interface througth dhcp

- - - - -

2 replies to this topic

#1
romikb

romikb

    Newbie

  • Members
  • Pip
  • 5 posts

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?



#2
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 345 posts

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.


www.funtoo.org

#3
nimbius

nimbius

    Newbie

  • Members
  • Pip
  • 5 posts

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.





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users