08-05-2010 09:52 AM - edited 03-06-2019 12:20 PM
Can I configure DHCP Server on the Nexus 5010 ??
Solved! Go to Solution.
08-05-2010 01:33 PM
feature interface-vlan
interface vlan xx
Regards,
jerry
08-05-2010 01:42 PM
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
08-05-2010 02:19 PM
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
08-05-2010 04:01 PM
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
08-05-2010 05:24 PM
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
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: