Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Port choosing VLAN - unable to get IP

A port is working for VLAN 1, but when i set it for VLAN 2, it couldn't get ip from that VLAN. Sometimes it gets IP, but unable to connect Internet. (It says "DNS problem". Then i release the IP, it will get IP by 169.XXX.XXX

By the way, some ports in the same switch, are working for both VLAN, some of them couldn't.

What's the wrong thing?

Everyone's tags (6)
1 ACCEPTED SOLUTION

Accepted Solutions

Hi

Hi

As suggestion the vlan 1 should not be used and it should be shutdown for security purposes, I would like to know how are you providing DHCP to the vlan 2. 

How these vlans are different segments we should have the following configuration:

interface vlan 1
ip address 1.1.1.1 255.255.255.0
ip helper-address <dhcp server IP>
no shutdown

interface vlan 2
ip address 2.2.2.1 255.255.255.0
ip helper-address <dhcp server IP>
no shutdown

End user interface
interface fa1/1/1
switchport host  (optional, it will provide config for access mode)
switchport access vlan 2
swtichport mode access
no shutdown

Are you using a DHCP server standalone or DHCP configured on a router? Could you please share a topology and your configuration?

Hope it is useful

:-)

2 REPLIES

Hi

Hi

As suggestion the vlan 1 should not be used and it should be shutdown for security purposes, I would like to know how are you providing DHCP to the vlan 2. 

How these vlans are different segments we should have the following configuration:

interface vlan 1
ip address 1.1.1.1 255.255.255.0
ip helper-address <dhcp server IP>
no shutdown

interface vlan 2
ip address 2.2.2.1 255.255.255.0
ip helper-address <dhcp server IP>
no shutdown

End user interface
interface fa1/1/1
switchport host  (optional, it will provide config for access mode)
switchport access vlan 2
swtichport mode access
no shutdown

Are you using a DHCP server standalone or DHCP configured on a router? Could you please share a topology and your configuration?

Hope it is useful

:-)

New Member

It's done, thank you. 

It's done, thank you. 

66
Views
0
Helpful
2
Replies