General discussion

Locked

vlan help!

By mason ·
I have a Cisco 3640 router with one available ethernet port and a Catalyst 2900XL. I have two vlan's- one for users with a network address of 192.168.5.0 and subnet of 255.255.255.0 and another vlan for servers with a network address of 192.168.7.0 and subnet mask of 255.255.255.0. The vlans set up but they two cannot communicate yet and only one vlan can access the internet.

The ethernet port on the router is set to 192.168.5.1, so my 192.168.5.0 vlan can access the internet, but obviouslythe 192.168.7.0 network cannot. I know it's possible to get the vlan's communicating and the 192.168.7.0 network on the internet also but that's where I need help.

What I need to help with is:
1. How can I get the two vlan talking to each other with the subnet mask I need.
2. How can I get the 192.168.7.0 vlan on the internet?

If possible the specific commands to do this would be a big help also.

Thanks for any help!!!

This conversation is currently closed to new comments.

9 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

vlan help!

by road-dog In reply to vlan help!

You need to configure trunking on the link between the switch and router. On the router, you need to add an interface on each IP network for the router. It goes something like this on the router side:

interface FastEthernet 2/1.20.
ip address 192.168.5.2 255.255.255.0
encap isl 400
bridge-group 50
!
interface FastEthernet 2/1.40
ip address 192.168.7.2 255.255.255.0
ipx network 1001
encap isl 600
bridge-group 50
!
bridge 50 protocol ieee

Don't forget to enable a routing protocol!

Collapse -

vlan help!

by mason In reply to vlan help!

The question was auto-closed by TechRepublic

Collapse -

vlan help!

by road-dog In reply to vlan help!

You need to configure trunking on the link between the switch and router. On the router, you need to add an interface on each IP network for the router. It goes something like this on the router side:

interface FastEthernet 2/1.20.
ip address 192.168.5.2 255.255.255.0
encap isl 400
bridge-group 50
!
interface FastEthernet 2/1.40
ip address 192.168.7.2 255.255.255.0
ipx network 1001
encap isl 600
bridge-group 50
!
bridge 50 protocol ieee

Don't forget to enable a routing protocol!

Collapse -

vlan help!

by mason In reply to vlan help!

The question was auto-closed by TechRepublic

Collapse -

vlan help!

by NetTek In reply to vlan help!

There are two ways I can think of off hand. The first way is to simply by an Ethernet Bridge to bridge the two VLANs.

The second way is to set up a server to act as a router. I am a Microsoft guy (sometimes I hate to admit it), so I can explain how to do it with an NT/2000 server. You would set up an NT server with 3 NICs. One nic would be connected to your Internet router, and have an address of, say, 192.168.1.1. This would be listed as the default gateway on the server itself. The secondnic would have an address on the 192.168.5.0 network. The third nic would have and address from the 192.168.7.0 network. IP forwarding would be enabled on all. You would then build a routing table on the server by using ROUTE.EXE statements so that traffic that is destined for the 192.168.5.0 and 192.168.7.0 networks knows which of the three NICs to use (otherwise it will try to use the default gateway).

Collapse -

vlan help!

by mason In reply to vlan help!

The question was auto-closed by TechRepublic

Collapse -

vlan help!

by Michael Roark - CCNA/DA MCP 3CSA In reply to vlan help!

Road Dog was correct with one solution, If you don't want your router doing all of the work, you may want to consider VLAN tagging your servers, most server based NICs (with the correct drivers) and even the 3C905x and Realtek 8129/39 NICs with the correct drivers can VLAN tag just fine. Feel free to email me if this doesn't make sense or you need assistance.

Collapse -

vlan help!

by mason In reply to vlan help!

The question was auto-closed by TechRepublic

Collapse -

vlan help!

by mason In reply to vlan help!

This question was auto closed due to inactivity

Back to Networks Forum
9 total posts (Page 1 of 1)  

Related Discussions

Related Forums