05-18-2016 11:11 AM - edited 03-08-2019 05:49 AM
I was doing this pt. I need help with it. the computer is under vlan 20 and access point is vlan 10. The computer is getting dhcp address but on the laptop its apipa.. Im missing something that i dont know what.
layer 3 configuration:
interface FastEthernet0/2
switchport access vlan 10
switchport mode access
interface FastEthernet0/3
switchport access vlan 20
switchport mode access
interface FastEthernet0/24
switchport access vlan 20
switchport mode access
interface GigabitEthernet0/1
switchport access vlan 20
switchport mode access
interface Vlan10
ip address 172.16.60.254 255.255.255.0
ip helper-address 192.168.60.221
interface Vlan20
ip address 192.168.60.249 255.255.255.0
ip helper-address 192.168.60.221
interface Vlan30
ip address 10.10.60.254 255.255.255.0
05-18-2016 02:12 PM
Can you ping 192.168.60.221 from SVI 172.16.60.254?
Regards!
JC
05-18-2016 02:54 PM
if i set the laptop to static ip address i can ping the 172.16.60.254. What im trying to do is to have the dhcp server to provide lease ip address to the laptop. Note that the dhcp server and the desktop computer is under vlan 20 and the access point is under vlan 10. Im not sure if that configuration is right to start with.
05-18-2016 03:06 PM
IP helper.
05-19-2016 12:22 PM
Here how it goes from the external server DHCP i configured the port to
Switchport mode trunk
encapsulation dot1q
switchport trunk native vlan 20
allowed vlan 10, 20, 30.
i also added ip helper-address to the svi interface it points to the external server dhcp 192.168.60.221. For the vlan 20 ports its acquiring lease ip address which is 192.168.60.xx. but for the the laptop side its not acquiring the 172.16.60.xx address... the svi interfaces are up up.
05-19-2016 02:36 PM
I've fixed the problem. no need to do switchport trunk for the f0/3 port for dhcp connection. access mode will do the job for vlan. ip helper address and svi should be configured correctly. Thanks everyone.
05-18-2016 05:25 PM
I think you need to define the interface Fa0/2 as trunk port that way the trunk port will carry the traffic from all vlans. and also pls verified that all vlans are up.
Switchport mode trunk
encapsulation dot1q
allowed vlan 10, 20, 30.
Thanks
05-19-2016 12:37 AM
Hi LC O,
I hope, you should add another interface in the server part for two vlan setup and has to configure a static IP vlan 10 for the wifi pool.
1- Already, Fa0/3 configured for vlan 20 assigned for desktop
2 - make connectivity between interface fa0/4 and server - assign it to vlan 10 in switch side
it will work even if you have removed the helper-address. Here there is no routing involved so, it won't consider to be L3 switching issue FYKI.
BR
Prem
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