Jump to content

Recommended Posts

Posted

Hi to everybody,

 

first of all I am very sorry for my english....

 

I have a 3com 2952 on which I configured some vlans:

VLAN 200 for ports 1-16 (192.168.2.0/24), Configured Valn-interface with ip 192.168.2.1. In this vlan I have my clients. Each port is untagged for vlans 1,200 and PVID is 200. Link type is Hybrid.

VLAN 100 for ports 17-20 (192.168.1.0/24) Configured Vlan-interfaces with ip 192.168.1.1. In this vlan I have my servers.

 

Vlan 1 is the default vlan and management. The switch has ip 192.168.0.2. I have a vlan-interface for vlan 1 and its ip is 192.168.0.2

My internet router has ip 192.168.0.3 and it is connected to the switch on port 45. Port 45 is untagged for vlan 1 and PVID is 1. Link type is hybrid.

 

I have configured a default route in network--->ipv4 routing in the navigation tree in this way:

destination ip adress: 0.0.0.0

Mask: 0.0.0.0

Next hop: 192.168.0.3

 

But my clients (192.168.2.0/24) cannot connect to internet. I cannot ping the router or open dns (208.67.220.220).

 

Can you help me please?

Posted (edited)
You need to add an interface for your VLAN for each subnet you are using on your router. At the moment there is no route between VLANs, so clients cannot see the router as it is in a different subnet because the 2952 is a layer 2 switch, so cannot route by itself. Edited by riffleman
Posted
The 2952 can route packets between vlans on different subnets using vlan-interface. I create for each vlan one vlan-interface on the switch. Infact clients (valn 200 and subnet 192.168.2.0/24) can reach the servers (vlan 100 and subnet 192.168.1.0/24). I have set the default route with next hop 192.168.0.3 (router ip). Because of I'm in testing phase my router is a simple netgear dg834g....
Posted (edited)
What are the network settings for your switch? If I remember correctly, if you set the default gateway on the switch's network settings, all VLAN interfaces will use that address, so that should be set to forward to your router. Edited by riffleman
Posted

The ipv4 routing table is some like this:

 

dest address mask next hop interface protocol

0.0.0.0 0.0.0.0 192.168.0.3 static

127.0.0.0 255.0.0.0 127.0.0.1 InLoopback0 direct

127.0.0.1 32 127.0.0.1 InLoopBack0 direct

192.168.2.0 24 192.168.2.1 Vlan-interface200 direct

192.168.2.1 32 127.0.0.1 InLoopBack0 direct

192.168.1.0 24 192.168.1.1 Vlan-interface100 direct

192.168.1.1 32 127.0.0.1 InLoopBack0 direct

 

So, if there isn't a route for the destination address (like 208.67.220.220) the switch should forward the packets to the default route (192.168.0.3) on port 45....but it doesn't work!!!

Posted
Which default gateway? The switch doesn't have it set by default. In clients which default gateway I have to put? 192.168.2.1 or 192.168.0.3 ?
Posted

When you provided the switch with it's networking details, it should have asked for an ip address, subnet mask and a default gateway. Im not familiar with this exact 3com switch, but every other 3com switch I've ever setup has needed those settings.

 

In your case the gateway should be the address of your router.

Posted
No, the 2952 doesn't give you the possibility to set the default gateway. The manual doesn't say how to setup the default gateway....
Posted

Sorry to bel in late but I was sick last 3 days...

Tomorrow I solved, the problem was the netgear....

Thanks to all

  • 7 months later...
Posted
Sorry to bel in late but I was sick last 3 days...

Tomorrow I solved, the problem was the netgear....

Thanks to all

 

What was the issue on your Netgear? I am having this exact same issue, but my endpoint device is a Cisco ASA 5505. I can create the vlans and vlan interfaces. I can see devices on the other vlans, but I can't connect to our firewall for access to the internet.

 

Pretty stuck ATM.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...