02-09-2021 09:26 AM
Hey all,
I off loaded DHCP to my switch a few days ago and I expected some lease issues naturally, however a few of my endpoints refuse to obtain an IP. This is what debugging tells me, im not sure what client changed subnet is but every assignment fail is for that reason. Requesting a new lease on endpoints dose not resolve the issue. Any suggestions would be greatly appreciated.
: DHCPD: DHCPREQUEST received from client 0180.14a8.1b89.7b.
*Apr 1 17:00:14.496: DHCPD: client has moved to a new subnet.
*Apr 1 17:00:17.516: DHCPD: Sending notification of ASSIGNMENT FAILURE:
*Apr 1 17:00:17.516: DHCPD: htype 1 chaddr 8014.a81b.897b
*Apr 1 17:00:17.516: DHCPD: remote id 020a00000a0a29050a000000
*Apr 1 17:00:17.516: DHCPD: interface = Vlan410
*Apr 1 17:00:17.516: DHCPD: class id 756468637020312e32332e32
*Apr 1 17:00:17.516: DHCPD: out_vlan_id 0
*Apr 1 17:00:17.516: DHCPD: Sending notification of ASSIGNMENT_FAILURE:
*Apr 1 17:00:17.516: DHCPD: due to: CLIENT CHANGED SUBNET
02-09-2021 09:31 AM - edited 02-09-2021 09:31 AM
DHCPD: client has moved to a new subnet.
Looking at above, i am in guess that, have to correctly configured DHCP scopes respected vlan.
how many VLAN you have on switch.
make sure the device in respected VLAN and scope.
if possible post switch config - clear DHCP leases (or check you remove totaly DHCP config?)
however a few of my endpoints refuse to obtain an IP.
what vlan is this ? is the issue may be after lease expired ? or is this static IP address assignments ?
02-09-2021 11:03 AM
I have 4 VLANs only two are in use, admin and office. all endpoints with issues are on office VLAN. All ips are DHCP, I had to give the problematic endpoints static ips so that they could connect. Since i switched from windows to the switch for doing DHCP I would assume that all endpoints would get new leases after a day. But that hasnt been the case. Let me know if you need anything else.
vtp mode transparent
no ip domain-lookup
ip domain-name gbz.com
ip dhcp relay information trust-all
ip dhcp excluded-address 192.168.40.1 192.168.40.100
ip dhcp excluded-address 192.168.40.200 192.168.40.255
ip dhcp excluded-address 10.10.41.1 10.10.41.20
ip dhcp excluded-address 10.10.41.220 10.10.41.255
ip dhcp excluded-address 192.168.40.201 192.168.40.255
!
ip dhcp pool office
network 10.10.41.0 255.255.255.0
default-router 10.10.41.1
option 150 ip 10.10.41.1
dns-server 10.10.41.253 8.8.8.8
!
ip dhcp pool admin
network 192.168.40.0 255.255.255.0
default-router 192.168.40.1
option 150 ip 192.168.40.1
dns-server 192.168.40.253 8.8.8.8
02-09-2021 02:58 PM
what VLAN config you have on this switch ( what switch here )
can you post vlan information for office and admin. along with vlan interface config
if possible post-show run (full config for us to each understand)
02-09-2021 08:04 PM
aaa new-model
!
!
!
!
!
aaa session-id common
system mtu routing 1500
vtp mode transparent
no ip domain-lookup
ip domain-name
ip dhcp relay information trust-all
ip dhcp excluded-address 192.168.40.1 192.168.40.100
ip dhcp excluded-address 192.168.40.200 192.168.40.255
ip dhcp excluded-address 10.10.41.1 10.10.41.20
ip dhcp excluded-address 10.10.41.220 10.10.41.255
ip dhcp excluded-address 192.168.40.201 192.168.40.255
!
ip dhcp pool office
network 10.10.41.0 255.255.255.0
default-router 10.10.41.1
option 150 ip 10.10.41.1
dns-server 10.10.41.253 8.8.8.8
!
ip dhcp pool admin
network 192.168.40.0 255.255.255.0
default-router 192.168.40.1
option 150 ip 192.168.40.1
dns-server 192.168.40.253 8.8.8.8
!
!
!
!
crypto pki trustpoint TP-self-signed-816277120
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-816277120
revocation-check none
rsakeypair TP-self-signed-816277120
!
!
crypto pki certificate chain TP-self-signed-816277120
certificate self-signed 01
30820252 308201BB A0030201 02020101 300D0609 2A864886 F70D0101 04050030
30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 38313632 37373132 30301E17 0D393330 33303130 30303235
325A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F
532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3831 36323737
31323030 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100
B2B9827D 67D06C81 72DF1A5C FBACC8C3 DB097B1E E5A4874B C51E2DE2 9A4A485C
8E2117E7 B02F52B3 28C3CC85 159B3D5D E0D3A10E 0DA77A23 CA2A5459 F8FC9BDF
958DB049 460566FB FF667BEB D3EC1789 11F7ED97 4D7430ED A100CC4D 348A93B6
834F0D52 6436C672 1E002840 18A7667D A14EAC44 EF4288DF C52DE549 5DA8F091
02030100 01A37C30 7A300F06 03551D13 0101FF04 05300301 01FF3027 0603551D
11042030 1E821C67 7265656E 5F62726F 7A5F7377 69746368 5F30312E 67627A2E
636F6D30 1F060355 1D230418 30168014 A7F7FC30 AB1DEDBD CCAFD618 CA603B86
ABEA3CD2 301D0603 551D0E04 160414A7 F7FC30AB 1DEDBDCC AFD618CA 603B86AB
EA3CD230 0D06092A 864886F7 0D010104 05000381 81005821 69682CE2 6C5EF2F5
E25EFD01 56511F30 1C2FB856 FFEB5452 99FD9EF0 D4757FB3 10715E3B 3F76B583
2B49E67D 3B425278 39CF3CD6 C81533EE 9EADEF26 8FEF357B 1DEFFE22 58C6DED4
606B8C44 92E1251F 8BCBE489 A54ED199 BF357BFD 6B32C88B 10A53B7A 1078C543
9F73DFF9 E8F70245 24E0F596 E77741D4 7589516C F561
quit
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
vlan 10,18
!
vlan 100
name WAN
!
vlan 200
name LAB
!
vlan 400,405,410,444
!
vlan 4050
name lab
!
!
!
!
interface Port-channel1
!
interface GigabitEthernet0/1
description ***ACCESS-PORT***
switchport access vlan 410
switchport trunk encapsulation dot1q
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/2
description ***ACCESS-PORT***
switchport access vlan 410
switchport trunk encapsulation dot1q
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/3
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/4
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/5
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/6
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/7
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/8
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/9
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/10
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/11
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/12
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/13
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/14
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/15
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/16
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/17
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/18
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/19
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/20
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/21
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/22
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/23
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/24
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/25
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/26
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/27
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/28
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/29
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/30
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/31
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/32
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/33
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/34
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/35
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/36
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/37
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/38
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/39
description ***ACCESS-PORT***
switchport access vlan 4050
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/40
description ***ACCESS-PORT***
switchport access vlan 410
switchport trunk encapsulation dot1q
switchport trunk native vlan 400
switchport mode trunk
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/41
switchport access vlan 4050
switchport trunk encapsulation dot1q
switchport trunk native vlan 400
switchport mode access
!
interface GigabitEthernet0/42
switchport access vlan 4050
switchport trunk encapsulation dot1q
switchport trunk native vlan 400
switchport mode access
!
interface GigabitEthernet0/43
switchport trunk encapsulation dot1q
switchport trunk native vlan 400
switchport mode trunk
!
interface GigabitEthernet0/44
switchport trunk encapsulation dot1q
switchport trunk native vlan 400
switchport mode trunk
!
interface GigabitEthernet0/45
switchport access vlan 100
switchport trunk encapsulation dot1q
switchport trunk native vlan 400
switchport mode trunk
!
interface GigabitEthernet0/46
switchport access vlan 100
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/47
switchport access vlan 18
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/48
switchport access vlan 18
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/49
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/50
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode on
!
interface GigabitEthernet0/51
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/52
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Vlan1
ip address 10.37.177.254 255.255.255.0
!
interface Vlan10
ip address 192.168.10.33 255.255.255.0
!
interface Vlan18
ip address 192.168.18.65 255.255.255.0
!
interface Vlan400
ip address 192.168.40.5 255.255.255.0
!
interface Vlan410
ip address 10.10.41.5 255.255.255.0
!
ip default-gateway 10.37.177.1
ip classless
ip http server
ip http secure-server
!
!
!
!
vstack
!
line con 0
line vty 0 4
transport input ssh
line vty 5 15
!
ntp source Vlan400
end
02-10-2021 03:20 AM
ip dhcp pool office network 10.10.41.0 255.255.255.0 default-router 10.10.41.1 option 150 ip 10.10.41.1 dns-server 10.10.41.253 8.8.8.8 ! ip dhcp pool admin network 192.168.40.0 255.255.255.0 default-router 192.168.40.1 option 150 ip 192.168.40.1 dns-server 192.168.40.253 8.8.8.8 interface Vlan400 ip address 192.168.40.5 255.255.255.0 ! interface Vlan410 ip address 10.10.41.5 255.255.255.0
as per the above information you have VLAN Interface configured .5 address for the respected vlan in Switch
can you please clarify where is .1 address configured ? (192.168.41.1) , you do not have route to reach to .1
or you need to configure 192.168.41.1 (is the different switch, then you need to configure ip helper address to this switch to serve for DHCP Request.
Like to know how is your network, do you have any small network diagram for us to undw
02-10-2021 10:42 AM
02-10-2021 01:57 PM
where is 192.168.41.1 ? configured.
02-10-2021 02:11 PM
That IP isnt configured. 192.168.41.xxx isnt a subnet
02-10-2021 02:35 PM
there is a small correction - I mean 10.10.41.1 (Not192.168.41.1 in the whole context of conversation)
02-11-2021 11:15 AM
Sorry for the delay but it doesn't seem to be configured at all.
02-11-2021 01:13 PM
you need to configure that IP or do as below so switch act as gatewa, then you need to do ip routing other task ?
ip dhcp pool office network 10.10.41.0 255.255.255.0 default-router 10.10.41.5 option 150 ip 10.10.41.1 dns-server 10.10.41.253 8.8.8.8 !
or you can add a secondary interface on FW if you like - different options available based on the requirement.
02-11-2021 03:54 PM
Thank you for the reply ill update on how it goes
02-11-2021 02:09 PM
Hello,
make the changes marked in bold to your switch configuration:
aaa new-model
!
aaa session-id common
system mtu routing 1500
vtp mode transparent
no ip domain-lookup
ip domain-name
--> ip routing
ip dhcp relay information trust-all
ip dhcp excluded-address 192.168.40.1 192.168.40.100
ip dhcp excluded-address 192.168.40.200 192.168.40.255
ip dhcp excluded-address 10.10.41.1 10.10.41.20
ip dhcp excluded-address 10.10.41.220 10.10.41.255
ip dhcp excluded-address 192.168.40.201 192.168.40.255
!
ip dhcp pool office
network 10.10.41.0 255.255.255.0
--> default-router 10.10.41.5
--> option 150 ip 10.10.41.5
dns-server 10.10.41.253 8.8.8.8
!
ip dhcp pool admin
network 192.168.40.0 255.255.255.0
--> default-router 192.168.40.5
--> option 150 ip 192.168.40.5
dns-server 192.168.40.253 8.8.8.8
!
crypto pki trustpoint TP-self-signed-816277120
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-816277120
revocation-check none
rsakeypair TP-self-signed-816277120
!
crypto pki certificate chain TP-self-signed-816277120
certificate self-signed 01
30820252 308201BB A0030201 02020101 300D0609 2A864886 F70D0101 04050030
30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 38313632 37373132 30301E17 0D393330 33303130 30303235
325A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F
532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3831 36323737
31323030 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100
B2B9827D 67D06C81 72DF1A5C FBACC8C3 DB097B1E E5A4874B C51E2DE2 9A4A485C
8E2117E7 B02F52B3 28C3CC85 159B3D5D E0D3A10E 0DA77A23 CA2A5459 F8FC9BDF
958DB049 460566FB FF667BEB D3EC1789 11F7ED97 4D7430ED A100CC4D 348A93B6
834F0D52 6436C672 1E002840 18A7667D A14EAC44 EF4288DF C52DE549 5DA8F091
02030100 01A37C30 7A300F06 03551D13 0101FF04 05300301 01FF3027 0603551D
11042030 1E821C67 7265656E 5F62726F 7A5F7377 69746368 5F30312E 67627A2E
636F6D30 1F060355 1D230418 30168014 A7F7FC30 AB1DEDBD CCAFD618 CA603B86
ABEA3CD2 301D0603 551D0E04 160414A7 F7FC30AB 1DEDBDCC AFD618CA 603B86AB
EA3CD230 0D06092A 864886F7 0D010104 05000381 81005821 69682CE2 6C5EF2F5
E25EFD01 56511F30 1C2FB856 FFEB5452 99FD9EF0 D4757FB3 10715E3B 3F76B583
2B49E67D 3B425278 39CF3CD6 C81533EE 9EADEF26 8FEF357B 1DEFFE22 58C6DED4
606B8C44 92E1251F 8BCBE489 A54ED199 BF357BFD 6B32C88B 10A53B7A 1078C543
9F73DFF9 E8F70245 24E0F596 E77741D4 7589516C F561
quit
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
vlan 10,18
!
vlan 100
name WAN
!
vlan 200
name LAB
!
vlan 400,405,410,444
!
vlan 4050
name lab
!
interface Port-channel1
!
interface GigabitEthernet0/1
description ***ACCESS-PORT***
switchport access vlan 410
switchport trunk encapsulation dot1q
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/2
description ***ACCESS-PORT***
switchport access vlan 410
switchport trunk encapsulation dot1q
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/3
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/4
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/5
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/6
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/7
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/8
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/9
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/10
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/11
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/12
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/13
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/14
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/15
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/16
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/17
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/18
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/19
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/20
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/21
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/22
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/23
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/24
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/25
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/26
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/27
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/28
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/29
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/30
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/31
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/32
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/33
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/34
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/35
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/36
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/37
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/38
description ***ACCESS-PORT***
switchport access vlan 410
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/39
description ***ACCESS-PORT***
switchport access vlan 4050
switchport mode access
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/40
description ***ACCESS-PORT***
switchport access vlan 410
switchport trunk encapsulation dot1q
switchport trunk native vlan 400
switchport mode trunk
switchport voice vlan 405
spanning-tree portfast
!
interface GigabitEthernet0/41
switchport access vlan 4050
switchport trunk encapsulation dot1q
switchport trunk native vlan 400
switchport mode access
!
interface GigabitEthernet0/42
switchport access vlan 4050
switchport trunk encapsulation dot1q
switchport trunk native vlan 400
switchport mode access
!
interface GigabitEthernet0/43
switchport trunk encapsulation dot1q
switchport trunk native vlan 400
switchport mode trunk
!
interface GigabitEthernet0/44
switchport trunk encapsulation dot1q
switchport trunk native vlan 400
switchport mode trunk
!
interface GigabitEthernet0/45
switchport access vlan 100
switchport trunk encapsulation dot1q
switchport trunk native vlan 400
switchport mode trunk
!
interface GigabitEthernet0/46
switchport access vlan 100
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/47
switchport access vlan 18
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/48
switchport access vlan 18
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/49
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/50
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode on
!
interface GigabitEthernet0/51
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/52
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Vlan1
ip address 10.37.177.254 255.255.255.0
!
interface Vlan10
ip address 192.168.10.33 255.255.255.0
!
interface Vlan18
ip address 192.168.18.65 255.255.255.0
!
interface Vlan400
ip address 192.168.40.5 255.255.255.0
!
interface Vlan410
ip address 10.10.41.5 255.255.255.0
!
--> no ip default-gateway 10.37.177.1
--> ip route 0.0.0.0 0.0.0.0 192.168.40.1
!
ip classless
ip http server
ip http secure-server
!
vstack
!
line con 0
line vty 0 4
transport input ssh
line vty 5 15
!
ntp source Vlan400
end
02-11-2021 04:36 PM
what does the no ip default-gateway 10.37.177.1 line do, and where did you get 10.37.177.1 from? excuse my massive lack of understanding and thank you for your time.
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