AlwaysTheNetwork

Just another Cisco blog

Follow me on TwitterRSS Feeds

  • Home
  • About
  • Books
  • Tutorials
  • Dynamips|GNS3|Labs

MPLS and BGP Lab Guide, Part 4

Dec 16th

Posted by Colby in Labs

10 comments

This is the fourth post in the series, the goal of the series is to provide a guide for the MPLS and BGP Lab I posted awhile back. The labs consists of MPLS VPNs and BGP along with some OSPF, NAT, IPSEC and GRE exposure. I will be posting the files needed for this lab at the bottom. Here’s the topology and the requirements:


(click image for fullsize)

Requirements:
Internet
* The two Internet routers should serve as transit ASes. No other routers should permit transit traffic.
* Internet sites (modeled by loopbacks) should be accessible by all lan IPs.

Read more...

BGP, CCIE, CCIP, CCNP, Cisco, Dynagen, Dynamips, GNS3, HowTo, Lab, NAT, Tutorial

Router On A Stick Tutorial

Dec 12th

Posted by Colby in Tutorials

4 comments

Someone asked me about configuring a router on a stick yesterday, so I figured I’d make a short tutorial on it. I haven’t seen this used much in the real world as L3 switches are so common, but it is something I had to learn for the CCNA. Router on a stick is used when for inter-VLAN routing when you have an L2 switch and a router. Here’s the topology:

Router on a stick Topology

Here we have an L2 switch with three VLANs connected to a router. Here’s the config:

Switch

Switch(config)#vlan 5
Switch(config-vlan)#exit
Switch(config)#vlan 10
Switch(config-vlan)#exit
Switch(config)#vlan 15
Switch(config-vlan)#exit
Switch(config)#interface FastEthernet0/1
Switch(config-if)#switchport trunk encapsulation dot1q
Switch(config-if)#switchport mode trunk

The switch config is pretty basic, we create VLANs 5, 10 and 15, then we make a trunk port to the router.

Router

Router(config)#interface FastEthernet0/0
Router(config-if)#no ip address
Router(config-if)#interface FastEthernet0/0.5
Router(config-subif)#encapsulation dot1Q 5
Router(config-subif)#ip add 192.168.5.1 255.255.255.0
Router(config-subif)#interface FastEthernet0/0.10
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip add 192.168.10.1 255.255.255.0
Router(config-subif)#interface FastEthernet0/0.15
Router(config-subif)#encapsulation dot1Q 15
Router(config-subif)#ip add 192.168.15.1 255.255.255.0

On the router, we go to the interface connected to the switch and make sure there is no IP address. Then we configure our subinterfaces with 802.1q and the appropriate VLAN. Then we give each subinterface an IP address. Now we can see all the subinterfaces are up:

Read more...

CCNA, Cisco, HowTo, Tutorial

MPLS and BGP Lab Guide, Part 3

Dec 9th

Posted by Colby in Labs

No comments

This is the third post in the series, the goal of the series is to provide a guide for the MPLS and BGP Lab I posted awhile back. The labs consists of MPLS VPNs and BGP along with some OSPF, NAT, IPSEC and GRE exposure. I will be posting the files needed for this lab at the bottom. Here’s the topology and the requirements:


(click image for fullsize)

Requirements:
Internet
* The two Internet routers should serve as transit ASes. No other routers should permit transit traffic.
* Internet sites (modeled by loopbacks) should be accessible by all lan IPs.

Read more...

BGP, CCIE, CCIP, CCNP, Cisco, Dynagen, Dynamips, GNS3, GRE, HowTo, NAT, Tunnel, Tutorial

MPLS and BGP Lab Guide, Part 2

Dec 7th

Posted by Colby in Labs

No comments

This is the second post in the series, the goal of the series is to provide a guide for the MPLS and BGP Lab I posted awhile back. The labs consists of MPLS VPNs and BGP along with some OSPF, NAT, IPSEC and GRE exposure. I will be posting the files needed for this lab at the bottom. Here’s the topology and the requirements:


(click image for fullsize)

Requirements:
Internet
* The two Internet routers should serve as transit ASes. No other routers should permit transit traffic.
* Internet sites (modeled by loopbacks) should be accessible by all lan IPs.

Read more...

CCIE, CCIP, CCNP, Cisco, Dynagen, Dynamips, GNS3, HowTo, MPLS, OSPF

BGP ORF Tutorial

Dec 5th

Posted by Colby in Tutorials

3 comments

Yesterday I learned about a really interesting BGP feature that I’d never heard of. It’s called ORF (Outbound Route Filtering). With traditional filtering we have two options, filter updated in (coming from your neighbor) or out (going to your neighbor). This method works well, but there is overhead on both sides, one neighbor sending all the updates with the other neighbor filtering some or most of them. ORF is a better way of accomplishing this. Here’s the topology:

ORF Topology

The goal of ORF is the ability of the neighbors to tell each other what prefixes they want BEFORE they are sent. This saves bandwidth and processing. For instance, R1 can tell R2 that it only cares about the 24.95.102.0/24 and 128.27.45.0/24 networks, so R2 doesn’t bother sending the 72.89.30.0/24 network at all.

Let’s get to the config:

R1

hostname R1
!
interface Loopback1
 ip address 41.58.12.1 255.255.255.0
!
interface Serial0/0
 ip address 10.1.1.1 255.255.255.252
!
router bgp 6505
 no synchronization
 bgp log-neighbor-changes
 network 41.58.12.0 mask 255.255.255.0
 neighbor 10.1.1.2 remote-as 5680
 no auto-summary

R2

hostname R2
!
interface Loopback1
 ip address 72.89.30.1 255.255.255.0
!
interface Loopback2
 ip address 24.95.102.1 255.255.255.0
!
interface Loopback3
 ip address 128.27.45.1 255.255.255.0
!
interface Serial0/0
 ip address 10.1.1.2 255.255.255.252
!
router bgp 5680
 no synchronization
 bgp log-neighbor-changes
 network 24.95.102.0 mask 255.255.255.0
 network 72.89.30.0 mask 255.255.255.0
 network 128.27.45.0 mask 255.255.255.0
 neighbor 10.1.1.1 remote-as 6505
 no auto-summary
Read more...

BGP, CCIE, CCIP, Cisco, Dynagen, Dynamips, GNS3, HowTo, Lab, Tutorial
« First...10«1920212223»...Last »
  • Calendar

    February 2012
    S M T W T F S
    « Oct    
     1234
    567891011
    12131415161718
    19202122232425
    26272829  
  • Categories

    • Announcement (8)
    • Commands (5)
    • Informational (11)
    • Juniper (3)
    • Labs (20)
    • Open Ended Questions (12)
    • PeerIX (1)
    • Personal (20)
    • Quick Challenge (1)
    • Troubleshooting Labs (7)
    • Tutorials (48)
    • Useful Links (8)
  • Tags

    ASA AToM BCMSN BGP bootcamp experience CCIE CCIP CCNA CCNP CCVP Certification Cisco Commands Crypto Dynagen Dynamips EIGRP EtherChannel Firewall GNS3 GRE HowTo IOS IPSEC Juniper JUNOS Lab MPLS Narbik NAT OEQ ONT OSPF PeerIX Personal QoS RIP Script Security STP Troubleshooting Tunnel Tutorial Voice VPN
  • Recent Posts

    • OSPF Quiz
    • ASA Bridge Groups
    • Free CCNA Practice Questions
    • 2960s Can Route
    • Connecting Voice Gateways/CME to the PSTN
  • Blogs

    • BitBucketBlog
    • BrandonTek
    • CCIE Pursuit
    • CCIE SP Study Blog
    • CCNP Journey
    • Cisco Blog
    • Cisco Cert Zone
    • Daniel's CCIE Blog
    • Darby Weaver
    • Darren's CCIE Mission
    • Everything Voice
    • Evil Routers
    • GNS3 Labs
    • IOS Hints and Tricks
    • Mr. Configure
    • My 802.11
    • Networking Forum Blog
    • Networks Wetworks
    • NF RSS Aggregator
    • PACKETattack
    • PacketLife
    • Packets Analyzed
    • Packets Dropped
    • Router Jockey
    • Routing-Bits
    • Security Nut
    • SGT CCIE
    • SQL Server Administration
    • SYN/ACK Networks
    • The Network Arcanum
  • Forums

    • Networking Forum
    • Tech Exams Forum
    • [H]ard|Forum
  • Recent Comments

    • Anders Bramsen on Policy-Based Routing Tutorial
    • Scott on TCL Ping Script
    • Yuri Bank on OSPF Quiz
    • Adrian on OSPF Quiz
    • Colby on OSPF Quiz
    • Colby on OSPF Quiz
    • Tony on OSPF Quiz
Copyright © 2012 AlwaysTheNetwork | Log in
RSS Feeds Top