{"id":495,"date":"2009-05-18T01:57:53","date_gmt":"2009-05-18T07:57:53","guid":{"rendered":"http:\/\/gregsowell.com\/?p=495"},"modified":"2009-04-26T18:00:09","modified_gmt":"2009-04-27T00:00:09","slug":"cisco-irb-bridging-on-a-cisco-router","status":"publish","type":"post","link":"https:\/\/gregsowell.com\/?p=495","title":{"rendered":"Cisco IRB &#8211; Bridging on a Cisco Router"},"content":{"rendered":"<p>IRB is Integrated Bridging and Routing.  Bridging is synonymous with switching, as a bridge is roughly equivalent to two ports of a switch.  Sooo, what this allows us to do is to set a couple of ports on a router to bridge across.  You can also create a BVI (Bridge Group Virtual Interface) interface that allows you to route on this bridge.  Turning on IRB on an interface allows the VLAN tag to remain intact across the router.  You can now turn your router into a switch that routes&#8230;if there were only some way to do this with a switch&#8230;like a 3550 or 3560 or 3750 or virtually any catalyst switch \ud83d\ude09  All jokes aside, it does have its uses.  One such use is for HA (High Availability).  <\/p>\n<p>You can use an older router to be somewhat more redundant layer 2.<\/p>\n<p>Here is an example scenario:<\/p>\n<figure id=\"attachment_605\" aria-describedby=\"caption-attachment-605\" style=\"width: 442px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2009\/04\/irb1.jpg\" alt=\"Itegrated Routing and Bridging\" title=\"irb1\" width=\"442\" height=\"568\" class=\"size-full wp-image-605\" srcset=\"https:\/\/gregsowell.com\/wp-content\/uploads\/2009\/04\/irb1.jpg 442w, https:\/\/gregsowell.com\/wp-content\/uploads\/2009\/04\/irb1-233x300.jpg 233w\" sizes=\"auto, (max-width: 442px) 100vw, 442px\" \/><figcaption id=\"caption-attachment-605\" class=\"wp-caption-text\">Itegrated Routing and Bridging<\/figcaption><\/figure>\n<p>As you can see in the diagram, we have a single router acting as a GRE tunnel router.  This is going to be an older commodity router.  To give as high availability as possible, we are going to connect port fa0\/0 and fa0\/1 to the same L2 access VLAN.  Below is the pertinent configurations for this.<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">bridge irb\r\n!\r\ninterface Fa0\/0\r\n no ip address\r\n no ip directed-broadcast\r\n bridge-group 1\r\n!\r\ninterface Fa0\/1\r\n no ip address\r\n no ip directed-broadcast\r\n bridge-group 1\r\n!\r\ninterface BVI1\r\n ip address 192.168.1.2 255.255.255.0\r\n!\r\nbridge 1 protocol ieee\r\n!\r\nbridge 1 route ip\r\n!\r\nip route 0.0.0.0 0.0.0.0 192.168.1.1<\/code><\/pre>\n<p>This is what <a title=\"IRB Cisco\" href=\"http:\/\/www.cisco.com\/en\/US\/tech\/tk389\/tk815\/technologies_tech_note09186a0080094663.shtml\" target=\"_blank\">Cisco has to say about it<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IRB is Integrated Bridging and Routing. Bridging is synonymous with switching, as a bridge is roughly equivalent to two ports of a switch. Sooo,\u2026<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,8],"tags":[],"class_list":["post-495","post","type-post","status-publish","format-standard","hentry","category-cisco","category-networking"],"_links":{"self":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=495"}],"version-history":[{"count":8,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/495\/revisions"}],"predecessor-version":[{"id":607,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/495\/revisions\/607"}],"wp:attachment":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}