Find the answer to your Linux question:
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.
  1. #1
    Just Joined!
    Join Date
    Apr 2006
    Posts
    17

    Question about DHCP.


    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 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?

    thanks

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    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.
    Last edited by jayd512; 07-02-2011 at 11:51 AM. Reason: spelling typo
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •