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
Solved

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

Posted on 2006-11-28
6
431 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_
  • 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
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
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…

856 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