cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6245
Views
0
Helpful
19
Replies

Nexus 5010 Support DHCP Server ?

goransh_pc
Level 1
Level 1

Can I configure DHCP Server on the Nexus 5010 ??

19 Replies 19

feature interface-vlan

interface vlan xx

Regards,

jerry

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

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

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: