Solved

Problems accesing one device from two VLAN on a HP 2650 Switch.

Posted on 2006-11-28
6
455 Views
Last Modified: 2008-01-09
Hello everybody.

I'm new in VLAN configuration, i've read lots of information and manuals about them but i'm having problems configuring VLAN's.

I've a HP Switch 2650 with two VLAN's created. Ports 1-25 are untagged to VLAN1 and Ports 26-50 are untagged to VLAN2.
One computer (A) is connected on Port 1 with IP 192.168.0.100, another one (B) is connected to Port 26 with IP 192.168.0.101.
Switch IP is 192.168.0.254, and finally one network printer (P) is connected to Port  2 with IP 192.168.0.1.

Routing is NOT enable on Switch.
Computers/Printer gateway are not switch's IP.

VLAN1              VLAN2
-------------------------------------
|    1   2           | 26                | IP VLAN1 (primary): 192.168.0.254 / IP VLAN2: not configured
-------------------------------------
     |   |               |
     |   |               |
     A   P              B

Problem: Printer is only accessed by computer A. When i ping P from VLAN2 i get no response.

Well, probably the first recommendation will be activate IP Routing and using a Layer 3 router, connect two VLAN's to see the printer, but i don't want computer A to see computer B. Only the printer P to be accessed from both computers.

TAGGED ports seems to be the solution, but i've tried to TAGG Port 2 on VLAN 2 and still doesn't work.

Questions:

- The printer's network card has to be 802.1Q compliant?
- Computer's network card has to be 802.1Q compliant?
- Is this configuration correct or do i need a router to make this work.
- Is a network card driver parameter?
- Switch firmware?

Note:

I tried to connect to laptops with this configuration (without the printer connected), and TAGGING ports 1 and 26, each laptop see the other one.

Yes, same IP range is used on every VLAN, that's what i want (if possible).

Thanks in advance.
0
Comment
Question by:_marcos_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 4

Expert Comment

by:gmooney7
ID: 18033870
The printer's network card has to be 802.1Q compliant? no
- Computer's network card has to be 802.1Q compliant? no
- Is this configuration correct or do i need a router to make this work.  --- I believe you'll be needing a router.  You'll also have to have the vlan's in different networks.  You can't route traffic between 2 interfaces that are both on 10.0.0.0/24 for example.   If you don't want the pc's to see each other, that's where acl's, etc come in.
- Is a network card driver parameter?  i don't think so
- Switch firmware?  no

Maybe i'm way off base, i'm tired...
0
 

Author Comment

by:_marcos_
ID: 18034964
Thanks gmooney7 for quick response!

I've seen lots of examples refering to that kind of configuration but... is possible to configure as we want?

Two VLAN, TAGGED ports where devices are installed (printers, servers, DSL routers) and computers with same network range divided on two VLAN's.

Something like that:

Ports    VLAN1            VLAN2          Device
  1        untagged        no               Computer A
  2        untagged        TAGGED       Network Printer
  3        untagged        no
  4        no                  untagged     Computer B
  5        no                  untagged


0
 
LVL 4

Accepted Solution

by:
gmooney7 earned 500 total points
ID: 18037514
ok, after looking over the manual for this switch.  it appears that whatever device you want to be able to communicate on both vlan's without using a router, does have to understand 801.1q tagging.  At least one of the vlan's has to be tagged so the device can differentiate between the 2 vlan's.  

So, unless someone else knows better, I think you're going to have to go with what I mentioned above.  At least for devices that do not support 802.1q tagging.
0
Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

 
LVL 4

Expert Comment

by:gmooney7
ID: 18037529
0
 

Author Comment

by:_marcos_
ID: 18040295
I've been able to connect only computers using VLANS and TAGGED ports only. No HP Jetdirect printer i tried has been able to communicate that way with computers.

Probably non-compliant devices required routing on switches and 802.1Q compliant devices can use TAGGED ports.

Thanks for all gmooney7.

Points for you, of course!

0
 
LVL 4

Expert Comment

by:gmooney7
ID: 18040486
Hope it all works out!  Thanks!
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Suggested Courses

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question