I think you can do it with NAT. For example, you can redirect the 80 port to the PC1 and the P2P port to the PC2. But you will need a router to implement NAT, I think there aren't switches that implement NAT.
You need sometype of routing to be done and it can only be done via layer 3 device.
I have a set-up in my lab that has 2 3560's running bgp with my edge routers, and the 2950 sits behind the 3560's. I am running vtp on the switches and making sure that all vlans are propigated from the server to the clients. I then port channeled the 2 3560's and also have 2 trunks between the 2950 and the 2 3560's. Basically what I am doing from this point is any traffic from my 2950 to my routers is being used by the default route given back to the 3560's learned via bgp from the edge routers. I can easly change this but it is done via routing. I can create acl's that permit or allow certain traffic on different ports.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.