cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2063
Views
5
Helpful
8
Replies

Splitting internet speed between two LAN

manirathnam.c
Level 1
Level 1

I have cisco 2811 router and two firewall. router WAN port is connected in internet.internet speed is 30mbps

two firewalls(Two LAN network) were connected with router.Now i want to divide internet speed between two firewalls.both firewalls are in different network.check my attachment and help me.

8 Replies 8

Reza Sharifi
Hall of Fame
Hall of Fame

Not familiar with Fortigate firewalls, but if they are configured as active/standby than only one of them forwarding.  If they are configured as active/active than they will both forward traffic, but that does not mean traffic with be forwarded 50/50.

HTH

Joseph W. Doherty
Hall of Fame
Hall of Fame

You might shape egress, on each link to a FW, at 15 Mbps.  You could also use CBWFQ, for egress toward the Internet, and shape for uplink bandwidth, with a child policy that allocates 50% from each firewall/LAN.  Or, for the latter, you could also shape each firewall/LAN for half the uplink bandwidth.

sorry for my english. i have 3 port in router , one is WAN port. other two ports are facing two different firewalls. so, should i need to shape egress for the ports which i connected with firewall. or i need to shape egress for IP address which i configured in that ports.

one firewall i will keep in 1st floor,another firewall i will put in 2nd floor. these two firewalls are connected in  two different ports of router. and routers WAN port is connected with internet.

in router for fa0/0 ip address is 192.168.1.1

                     fa0/1 ip address is 192.168.2.1

Router(config)#policy-map Example1
Router(config-pmap)#exit
Router(config)#
Router#class-map band1
Router(config-cmap)#exit
Router(config)#
Router(config)#policy-map Example1
Router(config-pmap)#
Router(config-pmap)#class band1
Router(config-pmap-c)#
Router(config-pmap-c)#bandwidth percent 50
Router(config-pmap-c)#exit


Router(config)#policy-map Example2
Router(config-pmap)#exit
Router(config)#
Router#class-map band1
Router(config-cmap)#exit
Router(config)#
Router(config)#policy-map Example2
Router(config-pmap)#
Router(config-pmap)#class band2
Router(config-pmap-c)#
Router(config-pmap-c)#bandwidth percent 50
Router(config-pmap-c)#exit



Router(config)#int fa0/0
Router(config-if)#service output Example1
Router(config-if)#exit
Router(config)#
Router(config)#int fa0/1
Router(config-if)#service output Example2
Router(config-if)#exit
Router(config)#

Here i gave service output Example1 and service policy example 2.

Will it stop input traffic...

No, as each FW link should only have traffic for its network, all you need to do is shape at 15 Mbps.  You can use the same policy on both interfaces.

e.g.

policy-map Sample

class class-default

shape average 15000000

int range f0/0, f0/1

 service-policy output Sample

shall i use bandwidth command instead of shape average.. what is the difference between shape average and bandwidth  command.

and also, one person suggested below configuration.

policy-map physical
class class-default
  police 30000000 conform-action transmit exceed-action drop
 exit

int fa0/1
service-policy output physical
exit.

I am confused ..

The bandwidth command sets a minimum amount of guaranteed bandwidth, when there's congestion.  Assuming your physical interfaces are not running at 30 Mbps, the bandwidth command would not doing anything until the physical interface congested.  However, the bandwidth command can proportion shaped bandwidth in a child policy, which is noted in my original post.

As to what "one person suggested", a policer can be used instead of a shaper.  However, it discards overrate traffic while the shaper queues overrate traffic.  What's suggested could be used on the uplink to the Internet as an egress policy.  It could also be used as an egress policy on the interface toward the firewalls, but then you would want to set it to 15 Mbps.  It could also be used as an ingress policy on those interfaces too, although if you use it as an ingress and egress policy, you wouldn't need to configure all three interfaces, you would only need to configure the Internet link or both firewall links.

Shaper and policer behavior can overlap in how they treat traffic.  Normally I recommend a shaper, when it's available.

Thank you for your explanation. I think traffic shaping will be best suitable for me.