03-02-2017 04:11 AM - edited 03-08-2019 09:34 AM
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?
Solved! Go to Solution.
03-02-2017 04:27 AM
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
:-)
03-02-2017 04:27 AM
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
:-)
03-02-2017 05:09 AM
It's done, thank you.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide