ā10-07-2024 03:17 AM
Hi
Recently I am testing iventoy software in my office for boot iso files from pxe
At first I set up small lab with one iventoy server(windows 11 that install iventoy on it) and one client that connected to a non-managable switch, after that iso files easely boot from iventoy with internal DHCP
After that I replaced non-managble switch with one cisco 2960x and testing again
But in this order, after booting from pxe, I cant get ip from dhcp and tftp iso boot files.
whats happen when changing switches?
Solved! Go to Solution.
ā10-08-2024 11:59 PM - edited ā10-09-2024 12:00 AM
You mentioned that Cisco switch 29XX and the configuration showing switch 1 provision c1000-24t-4g-l
which one correct, can you post show version.
we have done many Layer 2 PXE boot, if this switch just acting as Layer 2 switch no configuraiton of Layer 3
below configuration should work for you : (thinking all in VLAN1)
Switch(config)#interface range GigabitEthernet1/0/1-24
Switch(config-if)#switchport
Switch(config-if)# switchport mode access
Switch(config-if)# Spanning-tree Portfast
Switch(config-if)#no shutdown
Switch(config-if)#end
@Georg Pauwen - Looked later, also suggested before me as same.
ā10-07-2024 03:55 AM
Hard to say only with this information but one possibility is the 2960 to be configured with vlans and the interface you are connecting the server is not on the same vlan you are connecting the client. On-manageble switch have only one vlan and that“s why you did not have problems.
you can paste the switch config here.
ā10-07-2024 04:44 AM - edited ā10-07-2024 04:52 AM
Thanks for reply
I am using 2960 with no configuration, it has raw config because I reset factory my switch then it is a raw switch with no added config by me
Note: both of my cleints in same subnet without any vlan,
iventoy server: 192.168.10.100
Subnet:255.255.255.0
iventoy config:DHCP internal mode
ā10-07-2024 05:39 AM
Let me see the switch config. There is no such thing as cisco switch with no vlan.
ā10-07-2024 09:30 PM
This is my raw config
hostname Switch
boot-start-marker
boot-end-marker
no aaa new-model
switch 1 provision c1000-24t-4g-l
system mtu routing 1500
spanning-tree mode rapid-pvst
spanning-tree extend system-id
vlan internal allocation policy ascending
interface GigabitEthernet1/0/1-24
interface GigabitEthernet1/0/25
interface GigabitEthernet1/0/26
interface Vlan1
no ip address
shutdown
ip http server
ip http secure-server
line con 0
line vty 5 15
end
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi1/0/1, Gi1/0/2, Gi1/0/3
Gi1/0/4, Gi1/0/5, Gi1/0/6
Gi1/0/7, Gi1/0/8, Gi1/0/9
Gi1/0/10, Gi1/0/11, Gi1/0/12
Gi1/0/13, Gi1/0/14, Gi1/0/15
Gi1/0/16, Gi1/0/17, Gi1/0/18
Gi1/0/19, Gi1/0/20, Gi1/0/21
Gi1/0/22, Gi1/0/23, Gi1/0/24
Gi1/0/25, Gi1/0/26, Gi1/0/27
Gi1/0/28
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
ā10-08-2024 04:45 AM
Right, all the ports is on vlan 1, which is ok if you are connecting server and client on the same switch.
What you can try is hit "no shutdown" on vlan 1.
From your config:
interface Vlan1
no ip address
shutdown
Try this:
int vlan 1
no shutdown
ā10-08-2024 09:40 PM
ā10-08-2024 11:14 PM
Hello,
try and configure the ports wirh 'spanning-tree portfast'...
ā10-08-2024 11:59 PM - edited ā10-09-2024 12:00 AM
You mentioned that Cisco switch 29XX and the configuration showing switch 1 provision c1000-24t-4g-l
which one correct, can you post show version.
we have done many Layer 2 PXE boot, if this switch just acting as Layer 2 switch no configuraiton of Layer 3
below configuration should work for you : (thinking all in VLAN1)
Switch(config)#interface range GigabitEthernet1/0/1-24
Switch(config-if)#switchport
Switch(config-if)# switchport mode access
Switch(config-if)# Spanning-tree Portfast
Switch(config-if)#no shutdown
Switch(config-if)#end
@Georg Pauwen - Looked later, also suggested before me as same.
ā10-10-2024 01:33 AM
Thanks for your great solution
For more explanation,
I should say that I have two different generations of switches
in my office, both 2960 and 1000 series.
I had no problem with 1000 series,
but the problem with 2960 was the same as I mentioned. There was a mistake in the file name with 1000 saved and sent,
for that I apologize.
ā10-12-2024 03:40 AM
Hello,
just out of curiosity, how did you resolve this ?
ā10-12-2024 04:17 AM
Hi
just go to the solution that replied by balaji.bandi
ā10-12-2024 03:25 AM - edited ā10-12-2024 04:40 AM
thanks for all supports
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