cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1742
Views
1
Helpful
12
Replies

Tftp and dhcp problem between iventoy and cisco 2960x

a-g-elecompeng
Level 1
Level 1

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? 

1 Accepted Solution

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

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.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

12 Replies 12

@a-g-elecompeng 

 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.

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

 

Let me see the switch config. There is no such thing as cisco switch with no vlan.

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
------- --------- ----------------- ------------------------------------------

 

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

Hi again 

Unfortunattly "vlan 1 no shut" dosent work

I am testing ip helper-address but this addition config also dosent work

Im confusing and boared. 

Hello,

try and configure the ports wirh 'spanning-tree portfast'...

balaji.bandi
Hall of Fame
Hall of Fame

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.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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.

Hello,

just out of curiosity, how did you resolve this ?

Hi

just go to the solution that replied by balaji.bandi

a-g-elecompeng
Level 1
Level 1

thanks for all supports