quinnlaup
Member
- Reaction score
- 1
- Location
- N. Ireland
Hi,
I've been experimenting with vlans in a lab i've built. At this point i would like to make it clear that i have a basic understanding of vlans so please understand if i use the wrong terminology. My lab is using the following equipment:
I created my trunk ports between the two switches and also created some access ports on the TP link switch. I created the access ports by tagging the ports in the vlan and then changing the PVID's of the ports. For example my corporate network is using vlan 16 and i then changed the PVID on ports 4-45 to 16. Everything seemed to be working great and i could get an appropriate ip address when i connected to different ports on the TP link switch which were tagged in the different vlans.
One thing i noticed however is when i connect a printer to a port with a PVID of 16 it wont get a DHCP address from the old server which is providing DHCP for this network. If i manually enter an ip address on the printer it still will not connect and cannot be pinged. If i connect the printer to another interface which has a differnet vlan then the printer gets an address. The next thing i tried was to tag a port on the unifi switch into my corporate vlan and to my surprise it gets an ip from my server. It seems the unifi switch is handling the vlans differently to the tp link switch? I think it might be to do with the way i created my access ports but i'm not sure if i have missed a setting somewhere along the way. I would really appreciate any suggestions you may have. Thanks for taking the time to read this.
regards,
I've been experimenting with vlans in a lab i've built. At this point i would like to make it clear that i have a basic understanding of vlans so please understand if i use the wrong terminology. My lab is using the following equipment:
- Watchguard router
- TP link switch
- Unifi switch
- Unifi AP
- Old server
- Corporate lan traffic
- Guest wifi
- Voip system
I created my trunk ports between the two switches and also created some access ports on the TP link switch. I created the access ports by tagging the ports in the vlan and then changing the PVID's of the ports. For example my corporate network is using vlan 16 and i then changed the PVID on ports 4-45 to 16. Everything seemed to be working great and i could get an appropriate ip address when i connected to different ports on the TP link switch which were tagged in the different vlans.
One thing i noticed however is when i connect a printer to a port with a PVID of 16 it wont get a DHCP address from the old server which is providing DHCP for this network. If i manually enter an ip address on the printer it still will not connect and cannot be pinged. If i connect the printer to another interface which has a differnet vlan then the printer gets an address. The next thing i tried was to tag a port on the unifi switch into my corporate vlan and to my surprise it gets an ip from my server. It seems the unifi switch is handling the vlans differently to the tp link switch? I think it might be to do with the way i created my access ports but i'm not sure if i have missed a setting somewhere along the way. I would really appreciate any suggestions you may have. Thanks for taking the time to read this.
regards,