Forum

Bildirimler
Hepsini Temizle

DHCP Sorunu

12 Yazılar
3 Üyeler
0 Reactions
2,710 Görüntüleme
(@FahrettinYilmaz)
Gönderiler: 6
Active Member
Konu başlatıcı
 

Merhaba,

 

Elimde 1 adet Cisco Catalyst 3650 24 Port Data 4x1G Uplink IP Base ve 2 adet Catalyst 2960-X 24 GigE, 4 x 1G SFP, LAN switch var. 3650 üzerinde DHCP server oluşturup LAN üzerindeki makinelere IP dağıtmak istiyorum ancak bir türlü IP dağıtamadım. Yaptığım configurasyonunda doğru olduğunu düşünüyorum. Ancak cihazlar üzerinde aşağıda belirttiğim tanımlardan farklı hiç bir config yapmadım.Bu konuda sorunun nereden kaynaklı olduğuna dair fikri olan var ise paylaşırsa çok sevinirim. Cisco Packet Tracer üzerinden aynı configleri çalıştırabiliyorum ancak reel networkde başarılı olamadım.

Bunun dışında IGMP Snooping enable olucak ancak defaultta enable geliyor sanırım.

Device> enable
Device# configure terminal
Device(config)# ip dhcp excluded-address 172.16.1.100 172.16.1.103
Device(config)# ip dhcp pool Test
Device(dhcp-config)# network 172.16.0.0 /16
Device(dhcp-config)# domain-name cisco.com
Device(dhcp-config)# dns server 172.16.1.103 172.16.2.103
Device(dhcp-config)# default-router 172.16.1.100
Device(dhcp-config)# lease 30
Device(dhcp-config)# end

 

EK

Ek

 
Gönderildi : 04/02/2016 11:39

(@vasviuysal)
Gönderiler: 7890
Üye
 

ortamda vlan yapısı varmı ?

sh run çıktısını buraya yazabilirmisiniz ?

 

 

iyi çalışmalar

 
Gönderildi : 04/02/2016 12:05

(@alperenselcuk)
Gönderiler: 284
Reputable Member
 

yaptığın tanımlar 172.16.0.0 için sen show ip dhcp pool yağınca 192.168.0.1 için tanım var. ben tam anlamadım açıkçası. 

"sh ip int brief" çıktısı ile yaptığın dhcp pool çıktısını yazarsan buraya. yardımcı olabilirim. 

 
Gönderildi : 04/02/2016 12:06

(@FahrettinYilmaz)
Gönderiler: 6
Active Member
Konu başlatıcı
 

Merhaba,

 

Ortamda herhangi bir vlan tanımı bulunmamaktadır. Yaptığım tanım 192.168.0.1 için doğrudur, yazdığım config örnek olması açısında belirttim. 

 
Gönderildi : 04/02/2016 12:09

(@alperenselcuk)
Gönderiler: 284
Reputable Member
 

tamam hocam dediğim çıktıları yazarsan sorunu çözeriz. PC lere IP dağıttıracaksan VLAN üzerinde yapman daha doğru aslında. komple "sh run" ı gömsende Vasvi Hocanın dediği gibi yardımcı olunur.

 
Gönderildi : 04/02/2016 12:13

(@FahrettinYilmaz)
Gönderiler: 6
Active Member
Konu başlatıcı
 

Merhaba,

 

Çalışan config aşağıdadır, incelediğimde 1-2 defa pool oluşturmuşum, DHCP'den Ip dağıtmayınca.

 

Switch#show running-config
Building configuration...

Current configuration : 4698 bytes
!
! Last configuration change at 13:14:29 UTC Wed Feb 3 2016 by cisco
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
!
vrf definition Mgmt-vrf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
enable secret level 1 5 $1$UMg1$4K2VseZv5B8Eeo8FVtb4i0
enable secret level 14 5 $1$uDs3$9I5aOM/HsueztiMjDwYns0
enable password xxxxxxxxx
!
username cisco password 0 xxxxxxxxxx
no aaa new-model
switch 1 provision ws-c3650-24ts
!
ip device tracking
ip dhcp excluded-address 192.168.0.195 192.168.0.200
ip dhcp excluded-address 192.168.0.190 192.168.0.200
!
ip dhcp pool Sosyalt
network 192.168.0.0 255.255.255.0
default-router 192.168.0.254
lease 300
!
ip dhcp pool TEST
default-router 192.168.0.1
dns-server 8.8.8.8
!
!
!
crypto pki trustpoint TP-self-signed-3080776025
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3080776025
revocation-check none
rsakeypair TP-self-signed-3080776025
!
!
crypto pki certificate chain TP-self-signed-3080776025
certificate self-signed 01
3082023E 308201A7 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33303830 37373630 3235301E 170D3136 30323033 31333034
33375A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 30383037
37363032 3530819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
81009A41 EE354065 B4C74A2E 10B1723F 151CCA6B 56C2C13D E4B1109A AC0AE8CA
9CCF2AC4 14E12D20 82AF10ED A734CEDF 392F32BB 315E1FC9 963D2D96 94FC6582
F718EBB4 18FA8EEC BE3C8A7B ED7A73F1 17108E62 11223B77 48F8A9AC B2FDB64C
76D7518C 531A885C 9B38C7BC D97B4F9F 1BB5E2F0 F26E8386 68035A38 8155BC14
503B0203 010001A3 66306430 0F060355 1D130101 FF040530 030101FF 30110603
551D1104 0A300882 06537769 74636830 1F060355 1D230418 30168014 8D5B16A0
735797EB 4BD110A2 42C76296 94DF533B 301D0603 551D0E04 1604148D 5B16A073
5797EB4B D110A242 C7629694 DF533B30 0D06092A 864886F7 0D010104 05000381
81000BA9 34A15C1D A0D299B8 87AE8350 F2ADEA67 9EA7A920 65B04BB7 88161157
E4937EA6 6E69A462 E34780EC FCD64A86 206119E6 61D3D708 4E126CC0 A45EE8ED
ADA705EF 285C3463 117A7346 8009F2C6 1DBBEEB2 807A317B 3A1EC3DE 643100DF
C651D67E 9C7FB80B 8476E863 7AD842C3 679DB9DB 9067026F 3C5D4570 001DDE3F 7985
quit
!
!
!
!
!
diagnostic bootup level minimal
spanning-tree mode pvst
spanning-tree extend system-id
!
redundancy
mode sso
!
!
!
class-map match-any non-client-nrt-class
match non-client-nrt
!
policy-map port_child_policy
class non-client-nrt-class
bandwidth remaining ratio 10
!
!
!
!
!
!
interface GigabitEthernet0/0
vrf forwarding Mgmt-vrf
ip address 192.168.0.1 255.255.255.0
negotiation auto
!
interface GigabitEthernet1/0/1
!
interface GigabitEthernet1/0/2
!
interface GigabitEthernet1/0/3
!
interface GigabitEthernet1/0/4
!
interface GigabitEthernet1/0/5
!
interface GigabitEthernet1/0/6
!
interface GigabitEthernet1/0/7
!
interface GigabitEthernet1/0/8
!
interface GigabitEthernet1/0/9
!
interface GigabitEthernet1/0/10
!
interface GigabitEthernet1/0/11
!
interface GigabitEthernet1/0/12
!
interface GigabitEthernet1/0/13
!
interface GigabitEthernet1/0/14
!
interface GigabitEthernet1/0/15
!
interface GigabitEthernet1/0/16
!
interface GigabitEthernet1/0/17
!
interface GigabitEthernet1/0/18
!
interface GigabitEthernet1/0/19
!
interface GigabitEthernet1/0/20
!
interface GigabitEthernet1/0/21
!
interface GigabitEthernet1/0/22
!
interface GigabitEthernet1/0/23
!
interface GigabitEthernet1/0/24
!
interface GigabitEthernet1/1/1
!
interface GigabitEthernet1/1/2
!
interface GigabitEthernet1/1/3
!
interface GigabitEthernet1/1/4
!
interface Vlan1
no ip address
shutdown
!
ip http server
ip http authentication local
ip http secure-server
!
!
!
!
privilege exec level 14 configure
!
line con 0
login local
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password xxxxxxxxx
login
line vty 5 9
password xxxxxxxxx
login
line vty 10
privilege level 15
password xxxxxxxxx
login
line vty 11 15
password xxxxxxxxx
login
!
wsma agent exec
profile httplistener
profile httpslistener
wsma agent config
profile httplistener
profile httpslistener
wsma agent filesys
profile httplistener
profile httpslistener
wsma agent notify
profile httplistener
profile httpslistener
!
wsma profile listener httplistener
transport http
!
wsma profile listener httpslistener
transport https
ap group default-group
end

 
Gönderildi : 04/02/2016 18:42

(@vasviuysal)
Gönderiler: 7890
Üye
 

cihazda vlan1 ip adresi yok

cihazda 2 ayrı dhcp pool tanımlanmış ve birbiri ile çakışıyor

service dhcp komutu yok

 

 
Gönderildi : 04/02/2016 19:00

(@FahrettinYilmaz)
Gönderiler: 6
Active Member
Konu başlatıcı
 

cihazda vlan1 ip adresi yok

cihazda 2 ayrı dhcp pool tanımlanmış ve birbiri ile çakışıyor

service dhcp komutu yok

 

Tekrar düzenledim ancak IP alamadım henüz. Çalışan Config.

 

Switch#sh ru
Building configuration...

Current configuration : 4651 bytes
!
! Last configuration change at 14:19:35 UTC Thu Feb 4 2016 by cisco
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
!
vrf definition Mgmt-vrf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
enable secret level 1 5 $1$UMg1$4K2VseZv5B8Eeo8FVtb4i0
enable secret level 14 5 $1$uDs3$9I5aOM/HsueztiMjDwYns0
enable password xxxxxxxxxx
!
username cisco password 0 xxxxxxxxx
no aaa new-model
switch 1 provision ws-c3650-24ts
!
ip device tracking
ip dhcp excluded-address 192.168.0.195 192.168.0.200
ip dhcp excluded-address 192.168.0.190 192.168.0.200
!
ip dhcp pool Sosyalt
network 192.168.0.0 255.255.255.0
default-router 192.168.0.254
lease 300
!
!
!
crypto pki trustpoint TP-self-signed-3080776025
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3080776025
revocation-check none
rsakeypair TP-self-signed-3080776025
!
!
crypto pki certificate chain TP-self-signed-3080776025
certificate self-signed 01
3082023E 308201A7 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33303830 37373630 3235301E 170D3136 30323033 31333034
33375A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 30383037
37363032 3530819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
81009A41 EE354065 B4C74A2E 10B1723F 151CCA6B 56C2C13D E4B1109A AC0AE8CA
9CCF2AC4 14E12D20 82AF10ED A734CEDF 392F32BB 315E1FC9 963D2D96 94FC6582
F718EBB4 18FA8EEC BE3C8A7B ED7A73F1 17108E62 11223B77 48F8A9AC B2FDB64C
76D7518C 531A885C 9B38C7BC D97B4F9F 1BB5E2F0 F26E8386 68035A38 8155BC14
503B0203 010001A3 66306430 0F060355 1D130101 FF040530 030101FF 30110603
551D1104 0A300882 06537769 74636830 1F060355 1D230418 30168014 8D5B16A0
735797EB 4BD110A2 42C76296 94DF533B 301D0603 551D0E04 1604148D 5B16A073
5797EB4B D110A242 C7629694 DF533B30 0D06092A 864886F7 0D010104 05000381
81000BA9 34A15C1D A0D299B8 87AE8350 F2ADEA67 9EA7A920 65B04BB7 88161157
E4937EA6 6E69A462 E34780EC FCD64A86 206119E6 61D3D708 4E126CC0 A45EE8ED
ADA705EF 285C3463 117A7346 8009F2C6 1DBBEEB2 807A317B 3A1EC3DE 643100DF
C651D67E 9C7FB80B 8476E863 7AD842C3 679DB9DB 9067026F 3C5D4570 001DDE3F 7985
quit
!
!
!
!
!
diagnostic bootup level minimal
spanning-tree mode pvst
spanning-tree extend system-id
!
redundancy
mode sso
!
!
!
class-map match-any non-client-nrt-class
match non-client-nrt
!
policy-map port_child_policy
class non-client-nrt-class
bandwidth remaining ratio 10
!
!
!
!
!
!
interface GigabitEthernet0/0
vrf forwarding Mgmt-vrf
ip address 192.168.0.1 255.255.255.0
negotiation auto
!
interface GigabitEthernet1/0/1
!
interface GigabitEthernet1/0/2
!
interface GigabitEthernet1/0/3
!
interface GigabitEthernet1/0/4
!
interface GigabitEthernet1/0/5
!
interface GigabitEthernet1/0/6
!
interface GigabitEthernet1/0/7
!
interface GigabitEthernet1/0/8
!
interface GigabitEthernet1/0/9
!
interface GigabitEthernet1/0/10
!
interface GigabitEthernet1/0/11
!
interface GigabitEthernet1/0/12
!
interface GigabitEthernet1/0/13
!
interface GigabitEthernet1/0/14
!
interface GigabitEthernet1/0/15
!
interface GigabitEthernet1/0/16
!
interface GigabitEthernet1/0/17
!
interface GigabitEthernet1/0/18
!
interface GigabitEthernet1/0/19
!
interface GigabitEthernet1/0/20
!
interface GigabitEthernet1/0/21
!
interface GigabitEthernet1/0/22
!
interface GigabitEthernet1/0/23
!
interface GigabitEthernet1/0/24
!
interface GigabitEthernet1/1/1
!
interface GigabitEthernet1/1/2
!
interface GigabitEthernet1/1/3
!
interface GigabitEthernet1/1/4
!
interface Vlan1
ip address 192.168.0.1 255.255.255.0
shutdown
!
ip http server
ip http authentication local
ip http secure-server
!
!
!
!
privilege exec level 14 configure
!
line con 0
login local
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password xxxxxxxxx
login
line vty 5 9
password xxxxxxxxxx
login
line vty 10
privilege level 15
password xxxxxxxx
login
line vty 11 15
password xxxxxxxxx
login
!
wsma agent exec
profile httplistener
profile httpslistener
wsma agent config
profile httplistener
profile httpslistener
wsma agent filesys
profile httplistener
profile httpslistener
wsma agent notify
profile httplistener
profile httpslistener
!
wsma profile listener httplistener
transport http
!
wsma profile listener httpslistener
transport https
ap group default-group
end

 

 

 

 
Gönderildi : 04/02/2016 19:24

(@vasviuysal)
Gönderiler: 7890
Üye
 

GigabitEthernet0/0 ile Vlan1 ip adresi çakışıyor ama Allahtan Vlan1 shutdown durumda

uzaktan erişiyorsanız cihaza sıkıntı çıkarabilir

service dhcp komutu hala yok gibi

 

 
Gönderildi : 04/02/2016 19:27

(@FahrettinYilmaz)
Gönderiler: 6
Active Member
Konu başlatıcı
 

Vlan1 192.168.0.200 Ip versem sorun olurmu. Service DHCP çalıştırdım, yapmam gereken farklı bşr şey var mı.

 

Switch#sh run
Building configuration...

Current configuration : 4643 bytes
!
! Last configuration change at 14:31:36 UTC Thu Feb 4 2016 by cisco
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
!
vrf definition Mgmt-vrf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
enable secret level 1 5 $1$UMg1$4K2VseZv5B8Eeo8FVtb4i0
enable secret level 14 5 $1$uDs3$9I5aOM/HsueztiMjDwYns0
enable password xxxxxxx
!
username cisco password 0 xxxxxxxx
no aaa new-model
switch 1 provision ws-c3650-24ts
!
ip device tracking
ip dhcp excluded-address 192.168.0.195 192.168.0.200
ip dhcp excluded-address 192.168.0.190 192.168.0.200
!
ip dhcp pool Sosyalt
network 192.168.0.0 255.255.255.0
default-router 192.168.0.254
lease 300
!
!
!
crypto pki trustpoint TP-self-signed-3080776025
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3080776025
revocation-check none
rsakeypair TP-self-signed-3080776025
!
!
crypto pki certificate chain TP-self-signed-3080776025
certificate self-signed 01
3082023E 308201A7 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33303830 37373630 3235301E 170D3136 30323033 31333034
33375A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 30383037
37363032 3530819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
81009A41 EE354065 B4C74A2E 10B1723F 151CCA6B 56C2C13D E4B1109A AC0AE8CA
9CCF2AC4 14E12D20 82AF10ED A734CEDF 392F32BB 315E1FC9 963D2D96 94FC6582
F718EBB4 18FA8EEC BE3C8A7B ED7A73F1 17108E62 11223B77 48F8A9AC B2FDB64C
76D7518C 531A885C 9B38C7BC D97B4F9F 1BB5E2F0 F26E8386 68035A38 8155BC14
503B0203 010001A3 66306430 0F060355 1D130101 FF040530 030101FF 30110603
551D1104 0A300882 06537769 74636830 1F060355 1D230418 30168014 8D5B16A0
735797EB 4BD110A2 42C76296 94DF533B 301D0603 551D0E04 1604148D 5B16A073
5797EB4B D110A242 C7629694 DF533B30 0D06092A 864886F7 0D010104 05000381
81000BA9 34A15C1D A0D299B8 87AE8350 F2ADEA67 9EA7A920 65B04BB7 88161157
E4937EA6 6E69A462 E34780EC FCD64A86 206119E6 61D3D708 4E126CC0 A45EE8ED
ADA705EF 285C3463 117A7346 8009F2C6 1DBBEEB2 807A317B 3A1EC3DE 643100DF
C651D67E 9C7FB80B 8476E863 7AD842C3 679DB9DB 9067026F 3C5D4570 001DDE3F 7985
quit
!
!
!
!
!
diagnostic bootup level minimal
spanning-tree mode pvst
spanning-tree extend system-id
!
redundancy
mode sso
!
!
!
class-map match-any non-client-nrt-class
match non-client-nrt
!
policy-map port_child_policy
class non-client-nrt-class
bandwidth remaining ratio 10
!
!
!
!
!
!
interface GigabitEthernet0/0
vrf forwarding Mgmt-vrf
ip address 192.168.0.1 255.255.255.0
negotiation auto
!
interface GigabitEthernet1/0/1
!
interface GigabitEthernet1/0/2
!
interface GigabitEthernet1/0/3
!
interface GigabitEthernet1/0/4
!
interface GigabitEthernet1/0/5
!
interface GigabitEthernet1/0/6
!
interface GigabitEthernet1/0/7
!
interface GigabitEthernet1/0/8
!
interface GigabitEthernet1/0/9
!
interface GigabitEthernet1/0/10
!
interface GigabitEthernet1/0/11
!
interface GigabitEthernet1/0/12
!
interface GigabitEthernet1/0/13
!
interface GigabitEthernet1/0/14
!
interface GigabitEthernet1/0/15
!
interface GigabitEthernet1/0/16
!
interface GigabitEthernet1/0/17
!
interface GigabitEthernet1/0/18
!
interface GigabitEthernet1/0/19
!
interface GigabitEthernet1/0/20
!
interface GigabitEthernet1/0/21
!
interface GigabitEthernet1/0/22
!
interface GigabitEthernet1/0/23
!
interface GigabitEthernet1/0/24
!
interface GigabitEthernet1/1/1
!
interface GigabitEthernet1/1/2
!
interface GigabitEthernet1/1/3
!
interface GigabitEthernet1/1/4
!
interface Vlan1
ip address 192.168.0.200 255.255.255.0
!
ip http server
ip http authentication local
ip http secure-server
!
!
!
!
privilege exec level 14 configure
!
line con 0
login local
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password xxxxxxxx
login
line vty 5 9
password xxxxxxxx
login
line vty 10
privilege level 15
password xxxxxxxx
login
line vty 11 15
password xxxxxxxx
login
!
wsma agent exec
profile httplistener
profile httpslistener
wsma agent config
profile httplistener
profile httpslistener
wsma agent filesys
profile httplistener
profile httpslistener
wsma agent notify
profile httplistener
profile httpslistener
!
wsma profile listener httplistener
transport http
!
wsma profile listener httpslistener
transport https
ap group default-group
end

 
Gönderildi : 04/02/2016 19:29

(@alperenselcuk)
Gönderiler: 284
Reputable Member
 

farketmez nerden verdiğiniz VRF kullanıyorsunuz mngmt da zaten görmez bibirini diye düşünüyorum.

bence farklı blok verin kafa karışmasın

aşağıdaki configle değiştiririp dener misiniz?

 

ip dhcp pool Sosyalt
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
lease 300

interface Vlan1
ip address 192.168.1.1 255.255.255.0

 

 
Gönderildi : 05/02/2016 12:01

(@FahrettinYilmaz)
Gönderiler: 6
Active Member
Konu başlatıcı
 

Tekrar Merhaba,

 

Öncelikle yardım ve paylaşılan bilgiler için teşekkür ederim. Cisco 3650 Router Ip dağıtmaya yavaşda olsa başladı. Bazı sorunlar devam ediyor öncelikle kendim çözümlemeye çalışacağım.

 
Gönderildi : 05/02/2016 13:34

Paylaş: