Solved

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

Posted on 2006-11-28
6
399 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now