Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2006-11-28
6
Medium Priority
?
468 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 2000 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

636 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