cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1400
Views
0
Helpful
6
Replies

dhcp status are not received on sg300-20

ldnnet001
Level 1
Level 1

Hello,

I am configuring vlan on sg300-20 in dhcp mode.
One  vlan (5) that is directed connected to the adsl router get ip address and when I connect host to the ports in this vlan they also receive ip address and can go on internet.

The other four vlans  dhcp status are not received
Kindly help me check this. Thanks

switch4ba497#sh running-config

config-file-header

switch4ba497

v1.2.9.44 / R750_NIK_1_2_584_002

CLI v1.0

file SSD indicator encrypted

@

ssd-control-start

ssd config

ssd file passphrase control unrestricted

no ssd file integrity control

ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0

!

vlan database

vlan 5,10,20,30,40

exit

voice vlan oui-table add 0001e3 Siemens_AG_phone________

voice vlan oui-table add 00036b Cisco_phone_____________

voice vlan oui-table add 00096e Avaya___________________

voice vlan oui-table add 000fe2 H3C_Aolynk______________

voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone

voice vlan oui-table add 00d01e Pingtel_phone___________

voice vlan oui-table add 00e075 Polycom/Veritel_phone___

voice vlan oui-table add 00e0bb 3Com_phone______________

ip dhcp relay address 192.168.3.1

ip dhcp information option

no boot host auto-config

bonjour interface range vlan 1

hostname switch4ba497

line telnet

exec-timeout 0

exit

no passwords complexity enable

username cisco password encrypted 7af78c911d5b48bea1dc2449d9d89513abeb4be5 privilege

15

ip http timeout-policy 0 http-only

ip name-server  192.168.1.1 192.168.3.1

ip telnet server

!

interface vlan 1

ip address 192.168.2.254 255.255.255.0

no ip address dhcp

!

interface vlan 5

name WAN

ip address dhcp

!

interface vlan 10

name Studio

ip address dhcp

!

interface vlan 20

name Service

ip address dhcp

!

interface vlan 30

name Admin

ip address dhcp

!

interface vlan 40

name Data

ip address dhcp

!

interface gigabitethernet1

switchport mode access

!

interface gigabitethernet2

switchport mode access

switchport access vlan 10

!

interface gigabitethernet3

switchport mode access

switchport access vlan 10

!

interface gigabitethernet4

switchport mode access

switchport access vlan 10

!

interface gigabitethernet5

switchport mode access

switchport access vlan 10

!

interface gigabitethernet6

switchport mode access

switchport access vlan 10

!

interface gigabitethernet7

switchport mode access

switchport access vlan 10

!

interface gigabitethernet8

switchport mode access

!

interface gigabitethernet9

switchport mode access

switchport access vlan 20

!

interface gigabitethernet10

switchport mode access

switchport access vlan 20

!

interface gigabitethernet11

switchport mode access

switchport access vlan 20

!

interface gigabitethernet12

switchport mode access

switchport access vlan 20

!

interface gigabitethernet13

switchport mode access

switchport access vlan 30

!

interface gigabitethernet14

switchport mode access

switchport access vlan 30

!

interface gigabitethernet15

switchport mode access

switchport access vlan 30

!

interface gigabitethernet16

switchport mode access

switchport access vlan 30

!

interface gigabitethernet17

switchport mode access

!

interface gigabitethernet18

switchport trunk native vlan 40

!

interface gigabitethernet19

switchport mode access

switchport access vlan 5

!

interface gigabitethernet20

switchport trunk native vlan 5

!

switch4ba497#sh ip int

    IP Address         I/F       Type     Directed   Precedence   Status

                                          Broadcast

------------------- --------- ----------- ---------- ---------- -----------

0.0.0.0/32          vlan 10   DHCP        disable    No         Not

                                                                received

0.0.0.0/32          vlan 20   DHCP        disable    No         Not

                                                                received

0.0.0.0/32          vlan 30   DHCP        disable    No         Not

                                                                received

0.0.0.0/32          vlan 40   DHCP        disable    No         Not

                                                                received

192.168.2.254/24    vlan 1    Static      disable    No         Valid

192.168.3.102/24    vlan 5    DHCP        disable    No         Valid

switch4ba497#

I also do not understand why the ip address is 0.0.0.0/32.

Becuase the dhcp address 192.168.3.1/24

Thanks.

6 Replies 6

Tom Watts
VIP Alumni
VIP Alumni

Hi Audio, looks like you're probably missing some static routes on your router or if the router supports it, 802.1q vlans and a trunk connection.

-Tom
Please mark answered for helpful posts

-Tom Please mark answered for helpful posts http://blogs.cisco.com/smallbusiness/

Hi Tom,

You mentioned i am missing some static routes on the router.

If you do not mind to point it out to me exactly what to correct.

Thanks.

Hi Audio, from what I can tell, you have your vlan interfaces set up to receive DHCP from something. The vlan interfaces have not received DHCP or have a configured IP on them. If this is your intention, your DHCP server does not have any method to assign those interfaces an IP address.

If this is not your intention, what is it? Are you trying to get the switch to assign IP addresses to connected clients on a vlan?

-Tom
Please mark answered for helpful posts

-Tom Please mark answered for helpful posts http://blogs.cisco.com/smallbusiness/

Hello Tom,

Yes i can feel you taking me toward the solution.

Actually I have an ADSL router that has DHCP capability and my vlan interfaces are to receive ip address from it.

The adsl router Ip address is 192.168.3.1

Vlan 5 WAN which is directly connected to the adsl router get Ip address while the other vlan do not.

When I assign port from other vlan to vlan 5 and I attach host to the port they get ip address and go on internet. The strange thing is that the other vlan do not get ip address. Thanks.

Hello Audio,

I do not see the address pool for other vlans. Please create separate address pool. Also associated those address pool to the VLANs.

Please feel free to contact me if you have any queries.

Thanks and regards,

Siva

I am not sure I get you correctly, where do I need to create the address pool?
In the router or in the switch?
Do I need to create it for each vlan?
Kindly explain. Thanks