12-21-2010 05:14 AM - edited 03-06-2019 02:38 PM
Good morning,
I just installed a new Cisco SGE2010p in a ship where we have 2 DHCP servers ..
1 DHCP gives all the normal PC's ip adresses and the other gives ip adresses to all Navigation pc's
I want to connect all pc's to 1 SGE2010p .. what is the easiest way to make sure that the 2 DHCP server are not giving ip adresses to the wrong pc's?
the normal pc's and the Navigation pc's should still be able to "see" each other or the shared IP cameras connected to the same switch.
I have tried configuring 2 VLANs but I cant get the 2 vlans to "talk" to each other ..
Any advice?
12-21-2010 07:20 AM
Andre,
You are on the right track by creating 2 VLANs. However I don't believe the SGE2010 switch is a layer 3 switch. You will need a router to pass traffic between the two VLANs or at least a layer 3 switch.
The L3 device will have an interface and IP (physical or virtual) on each VLAN. Each interface will have a different ip-helper command referencing the different DHCP servers.
The command for DHCP relay for each interface is...
ip helper-address
That should get you working.
12-21-2010 07:46 AM
Thanks for your quick response!
I changed the switch to Layer 3 in the terminal. But I have not figured out how to give commands yet, or have found the options to router between the 2 vlans.. I'm new to Cisco but learning.
Thanks
12-21-2010 07:52 AM
Andre,
I am not very familiar with the SGE2010 but if you are configuring it via command line using typical IOS the commands would be similar to this.
interface vlan 10
ip address 10.10.x.x 255.255.255.0
ip helper-address
no shut
interface vlan 20
ip address 10.20.x.x 255.255.255.0
ip helper-address
no shut
Of course your VLAN IDs, IP addresses and subnet mask will have to be modified according to your layout but that should get you started.
12-21-2010 07:53 AM
Correction
interface vlan 20
ip address 10.20.x.x 255.255.255.0
ip helper-address <dhcp-server2-ip>
no shut
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide