Switches, Hubs, and Modems
1753789 Members
7467 Online
108799 Solutions
New Discussion юеВ

vlan issues. [noobie]

 
Jeremyy
Occasional Contributor

vlan issues. [noobie]

Hi,

I have a HP 3400cl and ive been playing with it to learn HP products. I'm fairly new to networking and my work asked me to brush up on it.

Here my home setup witch i think is the issue.

ISP
|
Linksys home router (192.168.1.1/24)
|
Some switch (the home network, PC's etc..)
|
the HP (port 1xover to above switch 192.168.1.45)

OK so i made a new vlan 797 and assiged it to port 15 with the address 10.10.1.1/24

switch# show vlans 797

Status and Counters - VLAN Information - Ports - VLAN 797

802.1Q VLAN ID : 797
Name : vlan_797
Status : Port-based
Voice : No
Jumbo : No

Port Information Mode Unknown VLAN Status
---------------- -------- ------------ ----------
15 Tagged Learn Up

Now i can ping 10.10.1.1 from the switch and 192.168.1.1 (home uplink) but i cant ssh into the switch nor ping the internet, if i do a trace route to 4.2.2.2 i get

switch# traceroute 4.2.2.2
traceroute to 4.2.2.2 ,
1 hop min, 30 hops max, 5 sec. timeout, 3 probes
1 Trace failed: Network is unreachable on this VLAN.
* Trace failed: Network is unreachable on this VLAN.

I guessing i have port1 not setup correct now, but im able to ping the switch from my PC (192.168.1.101)

Any clue how/what im doing wrong?
2 REPLIES 2
Paulen
Regular Advisor

Re: vlan issues. [noobie]

Hi,

SSH won't work till you enable it. Consult the manual on this. Also, tagging the VLAN implies that the gear connected to it has to tag the same VLAN on it's part (connected to port 15).

What does your routing table look like? Did you add a default gateway? From the setup it would seem that you might try this on the HP - if you want the switch to be able to reach Internet:

(config)# ip default-gateway 192.168.1.1

I trust that you have an IP on the switch in the same subnet, attached to a VLAN untagged on port 1.
OLARU Dan
Trusted Contributor

Re: vlan issues. [noobie]

In normal operation you don't reaaly need to assign IP addresses to VLAN interfaces, unless you need to perform routing on that very routing switch, or you want to reach it for management purposes (in which case I would recommend assignment of the IP to the Default_VLAN)

You might want to use this, instead of your "default gateway"

ip route 0.0.0.0 0.0.0.0 192.168.1.1

This might not interfere with the routing processes as much as the "default gateway" option.