cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3363
Views
0
Helpful
8
Replies

pxe boot on a trunk port ?

rafise
Level 1
Level 1

Hello Guys,

 

 There’s anything special I need to do to get a bare-metal to pxe boot on a trunk port? I can’t get any machine to pxe boot, would appreciate your help if someone paste there configuration, although all server running flat vlan pxe boot fine with no issues. Thanks.

Hardware (Cisco N5K-C5596UP)

8 Replies 8

Mark Malone
VIP Alumni
VIP Alumni
Hi
all it needs on NX is the ip helper but its relay on NX
heres one of my PXE vlans , ips masked but the relay part is the PXE bit , thats all you setup on switch side


interface Vlan31
description xxxxxxxxxxxxx
no shutdown
no ip redirects
ip address 172.21.x.x/24
no ipv6 redirects
ip router eigrp 1
ip passive-interface eigrp 1
ip pim sparse-mode
hsrp 31
authentication text secret
preempt
priority 249
ip 172.21.x.x
ip dhcp relay address 172.21.x.x
ip dhcp relay address 172.21.x.x
ip dhcp relay address 172.21.x.x
ip dhcp relay address 172.21.x.x


Thanks for the reply but still not booting , I added---> ip dhcp relay address 10.200.210.4

Here's how my environment is setup

PXE server in trunk/port channel connected to a 5k and the client also is in trunk/port channel connected to the same 5k thanks all.

 

Server

interface Ethernet1/1
switchport mode trunk
switchport trunk native vlan 2610
channel-group 500 mode active

 

Client

interface Ethernet1/5
switchport mode trunk
switchport trunk native vlan 2610
channel-group 1 mode active

 

Hi
Thats all that's required in terms of config on the Cisco side so the DHCP will need to be debugged or caught in a pcap as its trying to initiate the boot to see if the DHCP offers and request are going and coming through the vlan interface to get to the PXE server , the only job for the switch is to forward the replay form broadcast to uni cast into the next vlan to the specifically set PXE server

To me doesn't make sense why the client in flat vlan work but if I set the trunk don't work, I'm not an expert in Cisco but I think this configuration to pxe boot over the network should be something standard and simple to do, no one in this day's use DVDs or CDs to do install over the network. I'm referring  to data center. I will keep trying different configurations

Hi

so it works on a flat network because its broadcasting , when you introduce another vlan a broadcast wont be sent through to prevent flooding by default , so the ip relay changes the broadcast to unicast packet and directs it specifically at the the PXE server IP address , thats how it connects

 

The fact you have done that config on switch side as its all that's required  and you know it works on flat vlan also rules out the server side , so the only part left to troubleshoot is whether the actual broadcast to unicast i happening as it crosses between vlans or if there is some irregular transfer of DHCP packets between source and destination when vlan is involved

 

Unfortunately the only way to check that is too see what is happening on the wire either by debug or by running a wire shark 

 

pxe should work fine on a trunk or an access port 

Checked with wire shark and Wireshark don't see any packets on a trunk port but I can see packets on a flat VLAN. All ports in the switch have this config not sure if the multicast should be blocked, tried to disable the multicast but the command doesn't do anything to the config after executing (no switchport block multicast) the config stays the same any suggestions thanks?

Name: Ethernet1/1
Switchport: Enabled
Switchport Monitor: Not enabled
Operational Mode: trunk
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Allowed: 1-4094
Pruning VLANs Enabled: 2-1001
Voice VLAN: none
Extended Trust State : not trusted [COS = 0]
Administrative private-vlan primary host-association: none
Administrative private-vlan secondary host-association: none
Administrative private-vlan primary mapping: none
Administrative private-vlan secondary mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Unknown unicast blocked: disabled
Unknown multicast blocked: enabled

Can't figure out how to disable Unknown multicast blocked, not sure if there's a feature or a global setting that I need to enable first would appreciate the help thanks.

Hey, Guys already fixed the issue turn out the firmware I was using had a bug n5000-uk9.7.3.7.N1.1.bin downgrade to n5000-uk9.7.3.5.N1.1.bin and started to work.

 

Review Cisco Networking products for a $25 gift card