two switches are interconnected between eachother and one switch is connected to a router.the two switches each has diffrent subnetmask say A & B under one common subnet.if i want to route only the hosts in A to other networks...then wat sud b configured on the interface connecting switch to the router?
do help me i nthis issue...
You can, but you need to get it right.
To restrict the raffic, you really need to be using an access list on a router, which means you need to have the bits you want to protect in different VLANs.
You have 172.20.0.0/23.
You seem to need 96 addresses for users in one area, 255 for users in another and 160 for servers.
This does mot fit nicely for subnetting if those are really what you want.
To do this, the nearest fit I can come up with is
This can all be advertised into the rest of the network at 172.20.0.0/23
That will give a similar number of user and server addresses. You then use your L3 in the 3750 to route between these VLANs, and can use access lists to control what traffic is allowed where.
Just "deemimg" them to be in different subnets won't work well. you need to get the traffic through the router to get an access list to work on it.