Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Nexus 5010 Support DHCP Server ?

Can I configure DHCP Server on the Nexus 5010 ??

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Nexus 5010 Support DHCP Server ?

Seriously, I will not call the N5K as a core since it will not route traffic. IMO, I will use a switch which is capable to do 10G switching like a C6500 or N7K.

For DHCP request, on the C6K, in the interface vlan xx, add the ip helper-address x.x.x.x, where x.x.x.x is the DHCP server's IP address.

Regards,

jerry

19 REPLIES
Cisco Employee

Re: Nexus 5010 Support DHCP Server ?

Hi,

No 5010 does not support DHCP server yet. It does support DNS as of now.

JayaKrishna

New Member

Re: Nexus 5010 Support DHCP Server ?

So I have to configure dhcp relay on the inerface with the ip helper-address command (IOS) for a dhcp scope on the server for all VLan that I have ??

On the Nexus work ??

Cisco Employee

Re: Nexus 5010 Support DHCP Server ?

Not on the N5K. It is a L2 switch. You need to configure that on the L3 SVI (which ever is your N5K's uplink).

Regards,

jerry

New Member

Re: Nexus 5010 Support DHCP Server ?

Hello thank you for your feedback.

Sorry but I dont understand, The Nexus 5000 is a Layer 2 Switch ??

So I can not use the Nexus 5000 to Forward traffic between VLANs such as a Switch Layer 3 ??

Thank you.

Cisco Employee

Re: Nexus 5010 Support DHCP Server ?

That is correct, N5K is L2 only. Please take a look at the data sheet, under Product Specifications, you will not be able to find any L3 features such as routing.

http://www.cisco.com/en/US/prod/collateral/switches/ps9441/ps9670/data_sheet_c78-461802.html

Regards,

jerry

New Member

Re: Nexus 5010 Support DHCP Server ?

Thank you so much Jeye for your Help,

So if I need route traffic between VLANs I need to configure a router to do this task.

And why the nexus 5010 has route table and ip route command is permit on it.

thank you

Cisco Employee

Re: Nexus 5010 Support DHCP Server ?

Hi

5K does not support routing protocols but it does support inter vlan routing.

JayaKrishna

New Member

Re: Nexus 5010 Support DHCP Server ?

So is a Layer 3 Switch, and it can be configure to forward DHCP request ?? such as an IOS ip helper-address ???

Cisco Employee

Re: Nexus 5010 Support DHCP Server ?

The ip route command in the N5K is only for management traffic.

For the SVI in the N5K, you can create SVIs on the 5K, but these SVI can only be used to communicate with devices in the same VLAN. The N5K has no capability to route between the VLANs.

JayaKrishna, you need to show me how N5K will do inter-VLAN routing.

Regards,

jerry

New Member

Re: Nexus 5010 Support DHCP Server ?

So refer to the Jeye said, I need to configure a router o another L3 Switch to router between VLANs.

And what about with the DHCP traffic ?? How I can configure DHCP on a network with N5K Switch in the middle ??

Thank you so much !!!

Cisco Employee

Re: Nexus 5010 Support DHCP Server ?

The ip helper-address will be on your L3 switch's SVI (the same switch will route to the rest of your network).

Regards,

jerry

New Member

Re: Nexus 5010 Support DHCP Server ?

I think that the N5K do not permit create Virtual Interface because just has

interface ethernet command

interface mgmt command

interface port-channel command

Or is different that the IOS VI create command ??

Cisco Employee

Re: Nexus 5010 Support DHCP Server ?

I am not sure I understand your quetion. In IOS, you can create L3 SVI with interface vlan xx command. Of course, the VLAN needs to be in the vlan database first.

Regards,

jerry

New Member

Re: Nexus 5010 Support DHCP Server ?

Yes in IOS is interface vlan xx and that its but in Nexu N5K dont permit interface vlan command just

when you type

swicth(config)# interface ?

ethernet

mgmt

port-channel

How I create the vlan interface on N5K ??

Cisco Employee

Re: Nexus 5010 Support DHCP Server ?

feature interface-vlan

interface vlan xx

Regards,

jerry

New Member

Re: Nexus 5010 Support DHCP Server ?

Thank you Jeye for all your help

So what is the best way to create and route vlan with the N5K as a core switch ?

will be connect to the another router or another L3 switch ? and what kind of connection ? fiber ??

An how I can handled the DHCP request ??

thank you again

Cisco Employee

Re: Nexus 5010 Support DHCP Server ?

Seriously, I will not call the N5K as a core since it will not route traffic. IMO, I will use a switch which is capable to do 10G switching like a C6500 or N7K.

For DHCP request, on the C6K, in the interface vlan xx, add the ip helper-address x.x.x.x, where x.x.x.x is the DHCP server's IP address.

Regards,

jerry

Cisco Employee

Re: Nexus 5010 Support DHCP Server ?

N5K1# ping 4.4.4.4 source 20.20.20.20
PING 4.4.4.4 (4.4.4.4) from 20.20.20.20: 56 data bytes
64 bytes from 4.4.4.4: icmp_seq=0 ttl=255 time=0.904 ms
64 bytes from 4.4.4.4: icmp_seq=1 ttl=255 time=0.422 ms
64 bytes from 4.4.4.4: icmp_seq=2 ttl=255 time=0.371 ms
64 bytes from 4.4.4.4: icmp_seq=3 ttl=255 time=0.405 ms
64 bytes from 4.4.4.4: icmp_seq=4 ttl=255 time=0.368 ms

not sure if this is working because its on the same switch but if its not doing inter vlan routing I would not expect that to work and it should not allow me to create multiple vlans.

N5K1# sh ip int br
IP Interface Status for VRF "default"(1)
Interface            IP Address      Interface Status
Vlan1                4.4.4.4         protocol-up/link-up/admin-up      
Vlan20               20.20.20.20     protocol-up/link-up/admin-up      
N5K1#

JayaKrishna

Cisco Employee

Re: Nexus 5010 Support DHCP Server ?

Hi JayaKrishna,

I do agree on the behavior you are posting an I did a similar test but the set up is a bit different. Please take a look and you will understand what I mean

C6K_Global (10.10.10.2) <-> (VL10 10.10.10.1) N5K (VL20 10.10.20.1) <-> (10.10.20.2) C6K_VRF_RED

The C6K is a same switch but I am using VRF to seperating the routing table. From the C6K global routing table

denmark#sh ip route static
S*   0.0.0.0/0 [1/0] via 10.10.10.1
denmark#ping 10.10.10.1 sour 10.10.10.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.1, timeout is 2 seconds:
Packet sent with a source address of 10.10.10.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
denmark#ping 10.10.20.1 sour 10.10.10.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.20.1, timeout is 2 seconds:
Packet sent with a source address of 10.10.10.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
denmark#ping 10.10.20.2 sour 10.10.10.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.20.2, timeout is 2 seconds:
Packet sent with a source address of 10.10.10.2
.....
Success rate is 0 percent (0/5)

From VRF RED

denmark#sh ip route vrf red static
S*   0.0.0.0/0 [1/0] via 10.10.20.1
denmark#

denmark#ping vrf red 10.10.20.1 sour 10.10.20.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.20.1, timeout is 2 seconds:
Packet sent with a source address of 10.10.20.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
denmark#ping vrf red 10.10.10.1 sour 10.10.20.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.1, timeout is 2 seconds:
Packet sent with a source address of 10.10.20.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
denmark#ping vrf red 10.10.10.2 sour 10.10.20.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.2, timeout is 2 seconds:
Packet sent with a source address of 10.10.20.2
.....
Success rate is 0 percent (0/5)

For whatever reason, it is doing the inter-vlan routing like you said but host from VLAN 10 is not able to ping host on VLAN 20. This behavior is very weird for a L2 switch.

Regards,

jerry

4893
Views
0
Helpful
19
Replies
CreatePlease to create content