cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
1117
Views
0
Helpful
4
Replies

vlans dhcp status are not received

ldnnet001
Level 1
Level 1

Hello,

I am configuring vlan on sg300-20 in dhcp mode.

One  vlan 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

Below is the config log:

Untitled.png

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#

Also i do not understand why the ip address is 0.0.0.0/32 because the dhcp server ip address is 192.168.3.1

4 Replies 4

jeffrrod
Level 4
Level 4

Dear Customer,

Thank you for reaching Small Business Support Community.

In Layer 2 system mode, only the management VLAN can be configured with a static or dynamic IP address. In Layer 3 system mode, all the interface types (ports,LAGs, and/or VLANs) on the device can be configured with a static or dynamic IP. Configuring the device to work in either mode is performed in the Administration >System Settings page

When a DCHP Client starts a discovery process, it assigns a dummy IP address 0.0.0.0 before the real address is obtained. This dummy address has the status of “Not Received”.

Pretty much your problem should be solved by changing to Layer3 system mode.  Please let me know if anything comes up and/or if there is any further assistance I may help you with.

Kind regards,

Jeffrey Rodriguez S. .:|:.:|:.
Cisco Customer Support Engineer

*Please rate the Post so other will know when an answer has been found.

Jeffrey Rodriguez S. .:|:.:|:. Cisco Customer Support Engineer *Please rate the Post so other will know when an answer has been found.

Thanks for taking time to look into this issue.

The switch is already changed to layer 3 mode before creating the vlans.

If I may ask, will it make any diiference if I use dhcp auto config option or not. Thanks

Dear Customer,

Notice that switching from one system mode to another requires a mandatory reboot, and the startup configuration of the device is then deleted.

By default, the device is enabled as a DHCP client when the Auto Configuration feature is enabled so I would then suggest you to disable it, particularly if you do not have to download configuration files from a TFTP/SCP server.

I'll be looking forward to hear from you and thank you for your time on this matter.

Kind regards,

Jeffrey Rodriguez S. .:|:.:|:.
Cisco Customer Support Engineer

*Please rate the Post so other will know when an answer has been found.

Jeffrey Rodriguez S. .:|:.:|:. Cisco Customer Support Engineer *Please rate the Post so other will know when an answer has been found.

Hi, thanks for your response on auto configuration.
I attached the screenshots from the router
It is TP-Link Cable/DSL router TL-R860.

Remember the main issue is that only the direct connected (vlan5) on the router get ip address from the dhcp. The other vlans do not get ip address.
when i add port to valn and attche host they can go on internet.