Results 1 to 2 of 2
Hi everyone. I am using a proprietary peice of hardware. This is running a special proprietary embedded version of linux. On this board there are several embedded 8 port ethernet ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-28-2011 #1
- Join Date
- Apr 2006
Question about DHCP.
On this board there are several embedded 8 port ethernet switches. One of these switches is connected to eth0 on linux.
I need to enable DHCP on eth0.
Tell me, is it possible to assigned Ports 0 and 1 on the switch that is connected to eth0 to use 192.168.100.1 and 192.168.100.2, and ports 2 - 7 ip addresses in the range of 192.168.200.1 - 192.168.200.6 using just DHCP?
Or is there something else I need to do?
- 07-02-2011 #2
If you are looking to use DHCP with such a limited range, then you will need to configure the switch to assign IP's only in that range.
Mind you, this means that there is no guarantee of which device will get which IP address. While your devices will request the IP that was previously assigned to it, and will most likely receive it, it's still a crap shoot to say the least.
You can still configure your switch to assign IP's to specific ports, provided that you are also assigning that IP to a specific MAC address.