cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1469
Views
0
Helpful
15
Replies

Regarding DHCP configuration

Dear Gurus,

I have one cisco catalyst 3560 switch. I configured 5 vlans in the switch.

All vlans are communicating fine. Here  i like to use one DHCP server.

I placed my DHCP(windows 2008) server in vlan-1  and all my hosts are placed in different vlans.

If all my hosts are trying to get ip address from DHCP servers, but they are unable to get it.

Hosts in vlan-1 are getting dhcp ip address from DHCP server.

For doing basic trouble shooting, i assingned static ip to the hosts in different vlan. then host is communicating to the DHCP sever.

Will you post me configuration for this scenario.

And also i am sending configuration for your reference:

10.91.89.10-----> is the DHCP server IP


Current configuration : 3352 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname CISCO-3750
!
enable password nipun
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
ip routing
!
ip dhcp-server 10.91.89.10
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface GigabitEthernet0/5
!
interface GigabitEthernet0/6
!
interface GigabitEthernet0/7
!
interface GigabitEthernet0/8
!
interface GigabitEthernet0/9
!
interface GigabitEthernet0/10
!
interface GigabitEthernet0/11
!
interface GigabitEthernet0/12
!
interface GigabitEthernet0/13
description Connectivity to MANAGEMENT vlan
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet0/14
description Connectivity to MANAGEMENT vlan
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet0/15
description Connectivity to CAD vlan
switchport access vlan 11
switchport mode access
!
interface GigabitEthernet0/16
description Connectivity to CAD vlan
switchport access vlan 11
switchport mode access
!
interface GigabitEthernet0/17
description Connectivity to GAS vlan
switchport access vlan 12
switchport mode access
!
interface GigabitEthernet0/18
description Connectivity to GAS vlan
switchport access vlan 12
switchport mode access
!
interface GigabitEthernet0/19
description Connectivity to ACCOUNTS/HR vlan
switchport access vlan 13
switchport mode access
!
interface GigabitEthernet0/20
description Connectivity to ACCOUNTS/HR vlan
switchport access vlan 13
switchport mode access
!
interface GigabitEthernet0/21
description Connectivity to WI-FI vlan
switchport access vlan 14
switchport mode access
!
interface GigabitEthernet0/22
description Connectivity to WI-FI vlan
switchport access vlan 14
switchport mode access
!
interface GigabitEthernet0/23
description Conncetivity to Virtual Machine Vlan
switchport access vlan 15
switchport mode access
!
interface GigabitEthernet0/24
description Conncetivity to Virtual Machine Vlan
switchport access vlan 15
switchport mode access
!
interface GigabitEthernet0/25
!
interface GigabitEthernet0/26
!
interface GigabitEthernet0/27
!
interface GigabitEthernet0/28
!
interface Vlan1
ip address 10.91.89.5 255.255.255.0
!
interface Vlan10
description MANAGEMENT vlan interface
ip address 10.91.90.1 255.255.255.0
ip helper-address 10.91.89.10
!
interface Vlan11
description CAD vlan interface
ip address 10.91.91.1 255.255.255.0
ip helper-address 10.91.89.10
!
interface Vlan12
description GAS vlan interface
ip address 10.91.92.1 255.255.255.0
!
interface Vlan13
description ACCOUNTS/HR vlan interface
ip address 10.91.93.1 255.255.255.0
ip helper-address 10.91.89.10
!
interface Vlan14
description WI-FI vlan interface
ip address 10.91.94.1 255.255.255.0
!
interface Vlan15
description Virtual Machines vlan interface
ip address 192.168.3.1 255.255.255.0
!
ip default-gateway 10.91.89.4
ip classless
ip route 0.0.0.0 0.0.0.0 10.91.89.4
ip route 0.0.0.0 0.0.0.0 Vlan1
ip http server
!
!
control-plane
!
!
line con 0
password nipun
line vty 0 4
password nipun
login
line vty 5 15
login
!
end

Looking for your help.....

Regards,

Janardhan

15 Replies 15

Hi Alian,

     You're absolutely right. I just want to make sure that we should enable "dhcp service"on the switch. In case, ip default-gateway I just want to tell him that there is no need to use it. It's not related in this problem.

Toshi