The scenario is as follows :
a) A 3750 Switch , which as 2 VLANS , one is
DATA VLAN and other VLAN is Voice VLAN
b) In the WS-C3750X-24P-S Switch, DATA VLAN Gateway is a
Router and Voice VLAN is a Voice gagteway has conected
c) In the Same Switch having two Gateways , in
turn Gateways are connected to Internet
Querie :
a) How to Configure Routing for DATA and Voice
for getting internet.
b) Is PBR helps for Each VLAN traffic sets with
the respective gateways
c) Will it WOrks or any suggestions ?
d) Pls send the refference COnfiguration
You can just set up normal default routing for
the data vlan, and just set up PBR for the voice traffic.
So you will just create an access-list to match
vlan traffic and then create a route map to set the next hop to the voice
gateway.
Forget about PBR, you don't need that. The
switch has its default gateway in the data VLAN so you can access it and manage
it, the default gateway points to the router IP address. All PC have their
default gateway pointing to the router IP address, not to any address on the
switch.
All phones have their default gateway on th IP
address of the voice gateway, not on any IP address of the switch. The switch
does not even need an IP address in the voice VLAN. It only transports ethernet
frames in the two VLAN. For that matter just have a config with two VLAN,
assign the VLAN to the corresponding ports and in case you use phones and PC on
the same ports use the voice vlan commands.
I hope I have understood your situation
correctly. Otherwise let me know.
I agree. If he is in fact just using the 3750
as a layer 2 switch then he doesn't need PBR. My assumption is that he is (I
would hope) using the WS-C3750X-24P-L as Layer 3 and have SVI for each vlan. Thus, he
would need PBR in that case.
I don't know why everybody is so keen about
using PBR. I agree it is a nice feature but in my opinion it is designed for
situations that you have no other way of bringing them into service.
IP is
still a destination based protocol and so all optimizations in terms of
forwarding performance are based on the destination address as criterion. After
switching on PBR everyody asks immediately "why is it slower than what I
am used to?". I have seen this in many situations.
For normal situations like one voice and one
data VLAN a normal network design should be sufficient and therefore no need
for PBR.
没有评论:
发表评论