10-23-2017 10:24 AM - edited 03-08-2019 12:28 PM
Hello
I have this situation and Im not sure what to do, any recommendation will be very appreciate.
I have 2 vlans:
VLAN 10 has a scope of 192.168.0.0/22
VLAN 8 has a scope of 172.16.28.0/22
The switches in the the building that connect all the jacks are default connections to VLAN 8.
I have a printer that has a static configuration of 192.168.0.147.
If all the switch ports have a default configuration as follows:
interface GigabitEthernet3/0/29
switchport access vlan 8
switchport mode access
switchport voice vlan 20
spanning-tree portfast
What would I have to change on this port configuration to allow the printer to work on the network?
Thank you and blessings.
10-23-2017 11:10 AM
10-23-2017 11:29 AM
Hello,
in addition to cofee's post, I would also remove the voice vlan from the port. And, obviously, exclude the static IP address from the DHCP pool...that said, how is your DHCP set up ?
interface GigabitEthernet3/0/29
description Payroll printer
switchport access vlan 10
switchport mode access
spanning-tree portfast
10-23-2017 11:52 AM
In addition to Cofee's comment, You don't need the voice vlan for the port that is connecting to the printer.
So, it would look like this:
interface GigabitEthernet3/0/29
description Payroll printer
switchport access vlan 10
switchport mode access
spanning-tree portfast
HTH
10-23-2017 03:16 PM
You don't really need the Switchport voice vlan on that port that the printer is on
config t
int 3/0/29
switchport mode access
switchport access vlan 8
spanning-tree portfast
10-23-2017 03:22 PM
sorry I mean vlan 10 not 8
10-24-2017 02:39 AM
Hello
printer - make sure it has a static ip of:
192.168.0.147
255.255.252.0
192.168.0.3.254 <---assuming this is your gateway address the same
on switch
conf t
default interface GigabitEthernet3/0/29
interface GigabitEthernet3/0/29
no shut
switchport host
switchport access vlan 10
Switch & printer
make sure they are both set to the same speed and duplex setting
res
Paul
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