Question
February 4, 2008 at 12:08 PM
devdevil85

3560 & 2 VLANs (DHCP issue)

by devdevil85 . Updated 18 years, 2 months ago

I have (1) Cisco 3560 and I am wanting to create (2) port-based VLANs. IP addresses will be obtained via an external Windows 2003 DHCP Server. Port 22 is the only port in VLAN10 at the moment, while the others are in VLAN1.

DHCP Server = 192.168.1.1
Kentrox Router = 192.168.1.15

Here is my configuration thus far:

version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Cisco_POE
!
enable secret 5
!
ip subnet-zero
ip routing
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 192.168.1.7 255.255.254.0
ip helper-address 192.168.1.1
!
interface Vlan10
ip address 192.168.10.1 255.255.254.0
ip helper-address 192.168.1.1
!
router rip
version 2
network 192.168.10.0
!
ip classless
ip default-network 192.168.1.0
ip route 0.0.0.0 0.0.0.0 192.168.1.15
ip http server
!
!
control-plane
!
!
!
end

Devices on VLAN1 are being issued IP addresses correctly, yet when I connect my laptop to port 22 (VLAN10) it is not obtaining an address and I am given an error.

I have created an address range (scope) for VLAN10 on the DHCP server, yet the laptop is unable to obtain an IP address via DHCP on port 22 (VLAN10). I am left unable to test whether I can get communication between the VLANs.

I am able to ping VLAN1 but not VLAN10 (if that helps).

Is there something that I am missing/doing wrong?

This discussion is locked

All Comments