2 computers sharing same IP address. 1st come, 1st served. 2nd come, what are my options?
-
Hello Everyone:
Regarding the Netgate 1100, 2100, AND 4200:
I would like to setup Static DHCP Mappings (with static ARP entries) as below.
DHCP Static Mappings
192.168.1.5 01:02:03:04:05:06 computerA
192.168.1.5 01:02:03:04:05:07 computerBQ1.
I assume with this setup that the first computer that is booted up (and asks for an IP address from the DHCP server) will get IP address 192.168.1.5. Is this correct?Q2.
And, the second computer that is booted up gets nothing/no IP Address.
Is this correct?Q3.
What are my other options for getting the 2nd booted-up computer an IP address that is NOT 192.168.1.5? Is there a failover option? Will the 2nd computer get an IP address from the Primary Address Pool?Thank you!
-
@Joe0x7F what OS? Windows has:
https://stackoverflow.com/questions/66171984/how-can-i-enable-tcp-ipv4-alternate-configuration-with-power-shell-on-win10
-
@SteveITS: Good one, Steve.
Sigh. But, computerA will probably be a Netgate 1100 and computerB will be an embedded device with an older Linux kernel on it, perhaps 2.6 or 4.4.
Thanks.
-
@Joe0x7F If I do that with two Debian clients the second one get's an IP from the DHCP range.
What DHCP server are you using, ISC DHCP or KEA?
-
@patient0: KEA
-
@patient0 said in 2 computers sharing same IP address. 1st come, 1st served. 2nd come, what are my options?:
@Joe0x7F If I do that with two Debian clients the second one get's an IP from the DHCP range.
Oh, Oh! That is excellent!
What DHCP server are you using, ISC DHCP or KEA?
KEA
-
@Joe0x7F said in 2 computers sharing same IP address. 1st come, 1st served. 2nd come, what are my options?:
I would like to setup Static DHCP Mappings (with static ARP entries)
Are you sure you want static ARP entries rather than just DHCP Mappings.
In my experience that causes cryptic failures. See https://forum.netgate.com/post/1216320The alternative is just set the DHCP Mappings and let pfsense determine the ARP entries.
-
Are you sure you want static ARP entries rather than just DHCP Mappings.
In my experience that causes cryptic failures.No. I am not. Thanks for your experience! I will do what you suggest then.
Thanks!
-
@Joe0x7F said in 2 computers sharing same IP address. 1st come, 1st served. 2nd come, what are my options?:
will do what you suggest
Actually I'm no expert but stephenw10 is very clear in the above linked post.
-
@Joe0x7F oh, I just see you wrote about static ARP entries. Ignore my reply, I did static DHCP mapping.
-
Wow! Yall have been most helpful. Thanks!