Switches, Hubs, and Modems
1748069 Members
5728 Online
108758 Solutions
New Discussion юеВ

Re: Communicate across VLANs

 
SOLVED
Go to solution
Bob Hazeldine
New Member

Communicate across VLANs

I have two vlans set up:
vlan1 - 192.168.0.0/24
vlan2 - 192.168.15.0/24

I have a network printer on vlan2 which as far as I know does not support 802.1q and a computer on vlan1 which does not support it either. Is there a way that I can communicate between the printer and computer?

The switch I'm using is a 2650
3 REPLIES 3
Chris Bullock_1
Frequent Advisor

Re: Communicate across VLANs

You will have to route between the 2 subnets/vlans. To do this you must have ip routing via the switch set up or have a router interface plugged into the corresponding vlans.
Bob Hazeldine
New Member

Re: Communicate across VLANs

Ok. That makes sense. I have IP routing enabled on the switch. vlan1 has an ip interface address of 192.168.0.202 and vlan2 is 192.168.15.202.

The printer is 192.168.0.180
The computer is 192.168.15.5

What would the route then be?
Mohieddin Kharnoub
Honored Contributor
Solution

Re: Communicate across VLANs

Hi

Usually end devices like PCs, Printers don't have to understand the 802.1Q.

What you have to do is:

1- Assign an IP in V1an1 on the 2650 Switch.
2- Assign an IP in V1an2 on the 2650 Switch.
3- Enable IP Routing on this switch.
4- Untag on port to Vlan1, and connect the printer.
5- Assign an IP on the printer in 192.168.0.0/24 subnet, and its gateway is Vlan1 IP on the routing switch.
4- Untag on port to Vlan2, and connect the PC.
5- Assign an IP on the PC in 192.168.15.0/24 subnet, and its gateway is Vlan2 IP on the routing switch.

Thats it, everything now should work smoothly :)

Good Luck !!!
Science for Everyone