Various Network Design using Routers, Layer-3 Switches, and more Cisco Forum FAQ| Prerequisite reading »Cisco Forum FAQ »Should I use Layer-3 switch or router? The above FAQ link shows some basic network setup using routers and switches. Following is more network design samples that are also common in many organizations. Sample 1:
Background * This sample configuration assumes the Router to do NAT/PAT, firewall to do statefull firewall, and Layer-3 Switch to act as both switch and router to route internal traffic. To learn more about NAT/PAT, check out the following FAQ for detail »Cisco Forum FAQ »NAT, PAT, Port Forward, Internet and Server Access: Introduction and Practices Sample 1 Configuration Router PIX Firewall Switch Sample 2:
Background Switch * The Layer-3 switches act as Spanning-Tree Root Bridges of all switches and as HSRP service providers. For preliminary info on Root Bridge, check out the following link: Understanding and Configuring Spanning Tree Protocol (STP) on Catalyst Switches. For preliminary info on HSRP, check out the following link: Hot Standby Router Protocol Features and Functionality * Rapid Spanning Tree protocol is used to provide faster convergence yet stable network. For more info on Rapid Spanning Tree, check out the following link: Understanding Rapid Spanning Tree Protocol (802.1w) * For some VLAN, the Layer-3 Switch 1 is the Root Bridge primary while the Layer-3 Switch 2 is the backup. For other VLAN, the Layer-3 Switch 2 is the Root Bridge primary while the Layer-3 Switch 1 is the backup. * Similarly; for some VLAN, the Layer-3 Switch 1 is the HSRP primary while the Layer-3 Switch 2 is the backup. For other VLAN, the Layer-3 Switch 2 is the HSRP primary while the Layer-3 Switch 1 is the backup. * For VLAN connection reliability, the same Layer-3 switch should be for both Root Bridge and HSRP primary * In this sample configuration; VLAN 5, 7, 100 Root Bridge and HSRP primaries are at Layer-3 Switch 1 while VLAN 1, 20, 200 Root Bridge and HSRP primaries are at Layer-3 Switch 2 * To avoid unnecessary traffic flow, only some VLAN is allowed to pass through on some trunks between switches * There is IP routing in place between Layer-3 switches and the firewalls Firewall * The firewall could be either PIX Firewall or ASA, running OS 7.x or later * Firewall setup is LAN-based Active/Standby failover, which in a sense is similar to HSRP/VRRP mechanism where the firewall primary interface IP address is the "virtual" gateway for the interface subnet to reach other network. For more info on PIX/ASA Active/Standby failover, check out the following link: How Failover Works on the Cisco Secure PIX Firewall * The firewall acts as both Internet firewall and IPSec VPN Concentrator. For more info on this, check out the forum's FAQ »Cisco Forum FAQ »Configure PIX/ASA as both Internet Firewall and VPN Concentrator (The Internet or Outside) Router/Switch * There is a basic Internet firewall at the router to filter absolute questionable inbound traffic from the Internet to the network. For more info on this, check out the forum's FAQ »Cisco Forum FAQ »Basic Internet Firewall ACL for Routers without IOS image Firewall feature * There is no need for the router to do stateful firewall since there is already the firewall appliance (PIX/ASA) to do the stateful firewall functionality AAA Command Set * All Cisco devices on this sample configuration uses proper AAA command set for security reason. For more info on this, check out the forum's FAQ »Cisco Forum FAQ »Secure and Monitor Network Access with AAA (TACACS/RADIUS) and Privilege Level Sample 2 Configuration Router Switch (Layer-3 capable) Firewall 1 (Active) Firewall 2 (Standby) Layer 3 Switch 1 Layer 3 Switch 2 Sample 3:
Background * The Bluecoat ProxySG appliances do WCCP with routers and switch that support WCCP version 2 "redirect out" command. More detail on WCCP can be found here: »Cisco Forum FAQ »WCCP with Router/MSFC and Blue Coat ProxySG * Site that has two Internet connections (the HQ) does Internet traffic load share which some subnets take ISP 1 as primary and other subnets take ISP 2 as primary * The ProxySG appliances intercept outbound traffic from Inside machines out to the Internet and initiate outbound connection using the appliances IP address on behalf of Inside machines as part of the proxy mechanism * Note that the proxy mechanism could screw up the BGP load share mechanism. Therefore any BGP load share mechanism must occur before the traffic is intercepted or proxied. This is the reason why the HQ has Routers 1 and 2 to do the WCCP for the interception, redirection, and proxy mechanism and let the Layer-3 Switches 1 and 2 do the BGP load share mechanism. * Similar Routers 1 and 2 are not needed in Branch site since the site only has single Internet connection and no Internet load share. * All Outbound BGP load share mechanism at HQ site can be seen as "too complex" from Branch site perspective, hence the reason of HQ site has BGP Confederation in place. For more info on BGP Confederation, check out the following link: BGP Case Studies: BGP Confederation Sample 3 Configuration Internet Router 1: Internet Router 2: Firewall 1 Firewall 2 Router 1 Router 2 Blue Coat ProxySG1 configuration 1. Interface
2. WCCP
3. Static Routes for Home Router IP Address Reachability
Layer-3 Switch 1 Layer-3 Switch 2 WAN 1 Router WAN 2 Router Layer-3 Switch Blue Coat ProxySG2 configuration 1. Interface
2. WCCP
3. Static Routes for Home Router IP Address Reachability
Firewall Internet Router: by aryoba | ||