Showing results for 
Search instead for 
Did you mean: 

Making 2 VLANs talk to 1 server

I have two VLANs each with a different subnet.

We'll call them VLAN A on and VLAN B on

We have to maintain the network isolation for PCI (Credit Card compliance), but I have a server on VLAN A, that computers on both VLANs need to access.

My infrastructure is three switches in series with trunking ports configured. There is a gateway for VLAN A and a separate gateway for VLAN B each to a separate router and T1 connection.

The switches are managed switches and IP routing is enabled. 

Is there a way to make both VLANs communicate with

Do I have to put both VLANs on the subnet and just isolate by VLAN?

Is there a way to make the two VLANs communicate?

Do I need to add a static route on the switches to 192.168.045 or set the switch port that is on as a trunk port?

This isn't my area of expertise, small business I wear a lot of hats, so any help is greatly appreciated.


Thanks for the suggestions.

I was away last week on an emergency.

I tried your suggestion today.  I put the server on its on VLAN and its own subnet; but I can't ping it.

I think there is a problem with the route table.

VLAN configuration on Switch 1:

Swith 1 connects to switch 2 connects to Switch 3

VLAN Configuration on Switch3:

The ACD server which both subnets talk to I set to IP:     Gateway:

IP Routing is enabled, trunking ports are set, but I can't ping from

Route table is the same on switches 1 and 3

But switch 2 doesn't have those directly connected routes:

Do I have to put the Gateway:  Address as the default (, the trunk port somehow, or the VLAN interface (

Nothing seems to work.

Any advice. 

Greatly appreciated guys.


What is the default gateway for vlan1?

If it is the router then you need a route back to the switch doing the routing for the new vlan. Can you ping server from other vlan .16?

Sent from Cisco Technical Support iPhone App



From what you have posted it looks to me as if the new vlan does not exist on switch 2. Can you either configure that vlan and its connectivity to both other switches or post the output that shows that it does already exist on the switch?





All 3 VLans exist on all three routers.

Here is switch 2:

If you look at the above topological map view way up above, there are two exit paths for the network.

VLan 1 Default goes out the Total Acces Adtran router.  Its interface gateway is

VLan 2 customerservice goes out to a firewall box running Untangle OS to do packet filtering.  Its interface gateway is configured to

This firewall has two NICs the second going to the Adtran Netvana 3200 router for isolation. 

I pointed the shared server that resides on VLan 3 at the IP Address for Switch 3, the switch with which it is connected. I set its gateway to

I have not configured any ACLs yet nor created any static routes on either router.


Here is the full quasi- confusing topological network map with some info removed for Internet anonymity.


Here is one of the routers:   route table.

I would think I just neet to add a route to the subnet out the default gateway.

But it won't let me in the web gui nor by command line.

FYI: There is no in my network, but the int won't let me delete it.

Content for Community-Ad