Tom's Hardware > Forum > General Networking > Network General Discussions > Assign static IPs to port of a managed switch

Assign static IPs to port of a managed switch

Forum General Networking : Network General Discussions - Assign static IPs to port of a managed switch

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: comp.sys.ibm.pc.hardware.networking,comp.dcom.sys.cisco,comp.dcom.lans.ethernet (More info?)

 

Hallo group,

is the following scenario possible:

I want to connect 14 computer with GBit LAN via a GBit-Switch. Each of
the computers should get his IP via DHCP (the switch should act as DHCP
server). Every assigned IP address should depend on the port where the
computer is connected.

for example:
computer 1 is connected to port 1 of the switch and gets IP address
192.168.x.1,
computer 2 is connected to port 2 of the switch and gets IP address
192.168.x.2,
computer 3 is connected to port 3 of the switch and gets IP address
192.168.x.3,
....
computer 14 is connected to port 14 of the switch and gets IP address
192.168.x.14
via the DHCP Server running on the switch.

Is it possible to configure the DHCP server within the managed layer 2
or layer 3 switch to assign IPs depending on the connected port?
Is it possible use VLANs to get the same effect?

Thanks
Chris

Sponsored Links
Register or log in to remove.

Archived from groups: comp.sys.ibm.pc.hardware.networking,comp.dcom.sys.cisco,comp.dcom.lans.ethernet (More info?)

 

In article <42bbc782$0$14559$79720d31@newsreader.inode.at>,
Christian Neuner <cnnews@vexcel.co.at> wrote:
:I want to connect 14 computer with GBit LAN via a GBit-Switch. Each of
:the computers should get his IP via DHCP (the switch should act as DHCP
:server). Every assigned IP address should depend on the port where the
:computer is connected.

:Is it possible to configure the DHCP server within the managed layer 2
:or layer 3 switch to assign IPs depending on the connected port?

Most *switches* will not act as DHCP servers at all. Whether any
particular switch will allow not only DHCP but location-sensitive DHCP
would depend greatly on the switch model and software revision,
which you have not specified.

:Is it possible use VLANs to get the same effect?

Not usually.


If you want port-specific DHCP then you should use a switch that
supports DHCP Forwarding, with Interface Tracking (Option 82).

--
"No one has the right to destroy another person's belief by
demanding empirical evidence." -- Ann Landers

Reply to Anonymous
Tom's Hardware > Forum > General Networking > Network General Discussions > Assign static IPs to port of a managed switch
Go to:

There are 1344 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them