BGP route Selection for Outgoing Traffic

Hi,
I am going to implement a multihome internet connection to two different ISP.  Before implementing in real network, I have prepared the same in GNS3 and testing.  Subnet 10.x.5.0/24 should take R1 to outside from LAN and 10.x.6.0/24 should take R2 to outside from LAN.
Below is my configuration;
HSRP between R1 and R2 towards LAN.  R1 is the primary HSRP device.
R6 is the host (example) and subnet .5.0/24 and .6.0/24 are connected to R6.
R6 is sending a default route to HSRP VIP.
R1 is advertising subnet 10.x.5.0/24 and R2 is advertising subnet 10.x.6.0/24
iBGP is configured between R1 and R2
From Internet to LAN:
From router 5 (exam.: Internet) traffic is divided in to two routers.  traffic for 10.x.5.0/24 coming to R1 and traffic for 10.x.6.0/24 coming to R2.  This is absolutely fine. What i expected.
From LAN to Internet:
I need traffic from 10.x.5.0/24 should take R1 to go to internet (outside) and from 10.x.6.0/24 should take R2 to go to Inernet (outside).
I have tried with higher Local Preference on each router but is not working. All traffic from R6 (i.e. LAN) to outside is taking only R1 to go outisde.
Could any one can help on how I can share traffic for 10.x.5.0/24 & 10.x.6.0/24 divided in two Routers from LAN.
Diagram is attached.

IN HSRP keep R2 as active router for 10.x.6.0/24 Subnet.
If you do not want to change HSRP, Then create a route map, match the  10.x.6.0/24 Subnet and the set the next hope as R4.

Similar Messages

  • Which bom & routing selection for costing

    hi
       i have 9  multiple BOM for a finished product and 1 routing.
      i want to run CK11 AND CK24 for standard cost estimate.
    my problem is that which bom & routing should be considered for std. cost estimate.
    for each combination calculated std. price in CK11 is different.
    how i should address this issue  so that i can calculate std. price

    Hi Rajeev,
    If you have ( BOMs and 1 Routing that means you have 9 different Production version or not than create it.
    Now How system will pick the Production version for Costing.
    it Depends on
    - Costing Lot size - Costing 1 of Material Master.
    Now as per your Costing Lot size system will pick the nearest prod. version.And If there are more than one Production version found which match the costing lot size then it will pick the first one (See the production version sequence in  t.code C223).
    And depends on that Production version system will pick the BOM and Routing attached to it.
    But if you want to run MRP as per your Selection then Select BOM and Routing in Quantity Structuer or Production version in
    Costing Data 1 View of Material Master.
    It will become default Selection for BOM and Routing for Cost estimate.
    Regards,
    Dhaval

  • Control of route selection for WiFi & Ethernet subnets ?

    i have a shiny new macbook pro. Also running various virtual machines in parallels. To cut a long story short - in one scenario, I need the osx host machine to use WIFI as its default route while an XP VM needs to use wired Ethernet for its default route. This is because the XP environment connects to a company network and the mac host needs public wifi connectivity... How do I manipulate routing preferences for this ?
    I tried changing the default route from sudo command line on the mac but it was not successful... it looks like mac takes priority for Ethernet over WiFi when it is plugged in. The XP machine is setup under parallels to bridge onto the Ethernet port so it works a treat.

    I have fixed this myself... turns out there is a "Set Service Order" option under the Network settings in System Preferences... All I had to do was push WIFI to the top of the list and it becomes the default/priority route for the Mac... The XP machine is virtually patched to Ethernet in bridge mode so it continues working. BRILLIANT !
    Hope it helps someone else another day.

  • BGP route selection from LAN to WAN

    Hi,
    I am going to implement a multihome internet connection to two different ISP. Before implementing in real network, I have prepared the same in GNS3 and testing. Subnet 10.x.5.0/24 should take R1 to outside from LAN and 10.x.6.0/24 should take R2 to outside from LAN.
    Below is my configuration;
    HSRP between R1 and R2 towards LAN. R1 is the primary HSRP device.
    R6 is the host (example) and subnet .5.0/24 and .6.0/24 are connected to R6.
    R6 is sending a default route to HSRP VIP.
    R1 is advertising subnet 10.x.5.0/24 and R2 is advertising subnet 10.x.6.0/24
    iBGP is configured between R1 and R2
    From Internet to LAN:
    From router 5 (exam.: Internet) traffic is divided in to two routers. traffic for 10.x.5.0/24 coming to R1 and traffic for 10.x.6.0/24 coming to R2. This is absolutely fine. What i expected.
    From LAN to Internet:
    I need traffic from 10.x.5.0/24 should take R1 to go to internet (outside) and from 10.x.6.0/24 should take R2 to go to Inernet (outside).
    I have tried with higher Local Preference on each router but is not working. All traffic from R6 (i.e. LAN) to outside is taking only R1 to go outisde.
    Could any one can help on how I can share traffic for 10.x.5.0/24 & 10.x.6.0/24 divided in two Routers from LAN.
    Diagram is attached.

    As answered in other post, hosts belong to LAN2 (subnet 10.x.6.0/24) can have default gateway set to R2 (R2 could be HSRP active node) now R2 will have route from eBGP (AS300) as well ibgp session (from R1). We can tweak BGP attribute to prefer eBGP session. One good option is to set weight as we want to prefer AS300 routes locally to the router and not on R1. Similarly on R1 put weight for AS200 routes.
    Regards,
    Akash

  • Router VPN for specific traffic

    Hello All,
         I'm in a design phase for a network, you can find more info about in another discussion, where I may install IP Phones on site. The problem is simple. The site is for a company lets call it A .. Company A provides some services to company B.
         Company B already got the Voice Gateway, whatever they have installed, and they use it within the company for their communication.
         At company A, they call company B alot. So, I was thinking of establishing a VPN that will only work when a voice traffic is initiated to company B. Is that possible to achieve?
         Attached is a sample of the topology

    Hello,
    also with explanation ->
    http://www.firewall.cx/cisco-technical-knowledgebase/cisco-routers/867-cisco-router-site-to-site-ipsec-vpn.html
    Best Regards
    Please rate all helpful posts and close solved questions

  • BGP Route Policy for transit AS

    Hello,
    Can anyone could tell me how route policy in (RPL) should look like - some best practice .
    Simple situation. I have two ISP's, one Client ( I am transit AS for Client).
    ISP1  AS 100  ------
                                    ----------    MY AS 300  ( I am BGP transit for  client)       ------------  My BGP CLIENT AS 400
    ISP2  AS 200 ------
    What I configured already are 4 route-policy ( two for isp's  in/out  and two for client in/out)
    route-policy client-in
    route-policy client-out
    route-policy  isp-in
    route-policy  isp-out
    as-path-set aspath_Other
      ios-regex '.*'
    end-set
    as-path-set aspath_Local_plus_Client
      ios-regex '^$',
      ios-regex '^400'
    end-set
    as-path-set aspath_Client
        ios-regex '^400'
    end-set
    route-policy isp-in
        pass
    end-policy
    route-policy isp-out
      if (as-path in aspath_Local_plus_Client) then
        pass
      elseif (as-path in aspath_Other) then
        drop
      endif
    end-policy
    route-policy client-out
      pass
    end-policy
    route-policy client-in
      if (as-path in aspath_Client) then
        pass
      elseif (as-path in aspath_Other) then
        drop
      endif
    end-policy
    I am not sure about route-policy client-in  ( should I use aspath like above or e.g prefix-list  .. )?
    regards,

    Hi,
    you may find this reference useful that talks about inline vs named lists when it comes to RPL.
    named lists are easier to edit and preferred when the lists are long, but inline sets are faster to process.
    When stating faster, you should think in usec improvements.
    One improvement I see is that you can change this:
    route-policy client-in
      if (as-path in aspath_Client) then
        pass
      elseif (as-path in aspath_Other) then
        drop
      endif
    end-policy
    to this:
    route-policy client-in
      if (as-path in aspath_Client) then
        pass
      else
        drop
      endif
    end-policy
    Considering the aspath other is a catch all it is a waste of cycles to invoke regex to make sure that it is matches any.
    On the topic of using prefix sets vs AS paths there are probably different opinions about it.
    If your client originates prefixes that are not theirs your policy still accepts them and will result in rogue routing and hijacking of prefixes.
    So with that I would recomment using a prefix set to accept prefixes from my client, just to make sure that we accept legimate prefixes. You dont want to be the guy that sourced rogue prefixes because of a client misconfiguration.
    regards
    xander

  • How BOM and routing is selected for Planned order and Production order?

    Hi,
    Can any1 plz tell me how BOM and routing is selected for a planned order and production order. ?

    Hello Mathisuthan,
    BOM and Routing selection for the planned order and production order through production version, If u have more than one BOM and more than one Routing then u can maintain this information as Production Version in the system.
    Production version you maintained
    MM01/MM02 -- MRP4--- Production version
    Or you can create Production Versions in Mass also with Transaction Code "C223"
    In the case no production version maintained/created  for the material, then system by default  will pick the first BOM and routing.
    I hope this information helpful to you.
    Regards
    Umesh Mali

  • Query on BGP route distribution

    Hello Everyone
    In the below scenario (GNS3), IBGP peering enabled between R1-R2, R1-R3, R2-R3 and EBGP peering enabled between R2-R4,R3-R5,R4-R6,R5-R7. OSPF enabled as IGP. Scenario attached for reference.
    The problem I've observed in R1 is not getting entire BGP routing table for destinations 30.x.x.x/40.x.x.x.
    I'm able to see only best routes in R1 BGP routing table, but alternate valid routes are not visible in its topology table.
    R1#sh ip bgp
    BGP table version is 81, local router ID is 100.100.2.1
    *>i30.30.1.0/24     10.10.1.2                0    100      0 200 300 ?
    *>i30.30.2.0/24     10.10.1.2                0    100      0 200 300 ?
    *>i40.40.1.0/24     10.10.2.2                0    100      0 200 400 i
    *>i40.40.2.0/24     10.10.2.2                0    100      0 200 400 i
    *> 100.100.1.0/24   0.0.0.0                  0         32768 i
    *> 100.100.2.0/24   0.0.0.0                  0         32768 i
    More confusing part to me is when I disable IBGP peering between R2-R3 or shutdown interface between R2-R3 or else if I disable ospf in R1,R2 & R3 routers , I'm able to see both best route and alternate valid route in BGP topology table.
    R1#sh ip bgp

    Hi Milin & Renan,
    Thanks for your replies. To narrow down the problem, I’ve shut down the 40.40.x.x network.
    Now between R2-R3, R3 is not advertising 30.30.X.X network to R2, but whereas R2 is advertising 30.30.X.X network to R3. Why R3 is not advertising 30.30.X.X (route via 200 400 300) to R2.
    R2#sh ip bgp ( No alternate route)
     Network          Next Hop            Metric LocPrf Weight Path
    *> 30.30.1.0/24     10.10.4.2                              0 200 300 ?
    *> 30.30.2.0/24     10.10.4.2                              0 200 300 ?
    *>i100.100.1.0/24   10.10.1.1                0    100      0 i
    *>i100.100.2.0/24   10.10.1.1                0    100      0 i
    R2#sh ip bgp summary
    Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
    10.10.1.1       4   100      96      98        5    0    0 01:05:50        2
    10.10.3.2       4   100      98     100        5    0    0 01:05:54        0
    10.10.4.2       4   200     100      98        5    0    0 01:05:39        2
    R3#sh ip bgp  ( only in R3 we can see both best route & alternate route)
       Network          Next Hop            Metric LocPrf Weight Path
    *>i30.30.1.0/24     10.10.3.1                0    100      0 200 300 ?
    *                   10.10.5.2                              0 200 400 300 ?
    *>i30.30.2.0/24     10.10.3.1                0    100      0 200 300 ?
    *                   10.10.5.2                              0 200 400 300 ?
    *>i100.100.1.0/24   10.10.2.1                0    100      0 i
    *>i100.100.2.0/24   10.10.2.1                0    100      0 i
    R3#sh ip bgp summary
    Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
    10.10.2.1       4   100      54      57       19    0    0 00:50:17        2
    10.10.3.1       4   100      62      60       19    0    0 00:27:22        2
    10.10.5.2       4   200      58      58       19    0    0 00:50:08        2

  • Router script for Automated router changes

    I am new to the scripting world and do need assistance in developing a script that will assist me to perform the following tasks when executed
    1] remove all existing tunnels
    2] remove dialer/BVI interface
    3] create new DMVPN tunnel
    - tunnel x--- MPLS connection to data center
    -tunnel y--- Guest traffic
    4] Configure interface gi0/2 for broadband connection
    - negotiate DHCP addresses
    5] remove RIP routing
    6] remove EIGRP routing
    7] remove route-map pbr-dsl
    8] remove route-map pbr-extsrv
    9] create route-map for internet traffic over verizon ( pbr-verizon)
    - set interface gi0/2
    10] create route-map for internet traffic over mpls (pbr-mpls)
    - set interface ser0/0
    11] apply pbr-verizon to VLANS 10,20,30,40
    12] modify NAT statement
    13] create inbound and outbound ACL for Gi0/2 interface
    - permit udp gre traffic from VIP
    - permit tcp any any established
    -permit tcp any any eq ftp-data
    -permit udp any any eq domain
    14] combine all other ACL to ensure no blocking will occur based on all internet traffic from verizon and not mpls

    Joseph,
    My question is on syntax when using username and password.  I'm stuck on a script that I found here on the support forums that is using the Expect command. 
    My goal is to run the script from a host monitoring server using a device list file to go out and telnet into each one of the routers to run a "Show Inventory" command. 
    All the routers are using local AAA with username and password to get to the Privledged Exec mode.  Here's a copy of my script.  I have bolded the parts that I'm curious if correct.  If you could check over it and let me know where my mistakes (If any) are located, I'd appreciate it.  Thanks, Brandon
    # Here, we specify all our commands in a list, that we will issue one
    # by one at a later time.
    set commands {
        "show inventory"
    # This variable is for a file called hosts.txt that has the hostname/IP
    # of all of the routers you are collecting information from.
    set device_list [read [open "hosts.txt"]]
    # Specify the username and password, as well as what we expect the routers'
    # prompt to be.
    set username "blah"
    set pass "mypassword1234"
    set prompt "#"
    # This command tells expect not to echo the output to the console.
    exp_log_user 0
    # We loop through each device in our list, one by one...
    foreach device $device_list {
        # Set each device's log file to be the name of the device...
        # (i.e. router1.location.com-log.txt)
        set file_name "$device-log.txt"
        # Assuming you are using PuTTY, and have plink.exe, we initiate the SSH
        # connection
        exp_spawn plink.exe -telnet $device
        # If we see a message asking about the device's host key, accept it.
        expect -re ".*ogin:" {
            exp_send "$username\r"
            exp_send "$pass\r"
        # We log our output from each router to its specified file.
        exp_log_file -a $file_name
        # Loop through each command that we specified earlier.
        foreach cmd $commands {
            expect -re $prompt {
                exp_send "$cmd\r"
                exp_sleep 1
        # Now we enter enable mode for the running-config
        expect -re $prompt {
            send "en\r"
        expect -re ".*assword:" {
            send "$enable_pass\r"
        expect -re $prompt {
            send "term len 0\r"
        expect -re $prompt {
            send "show running-config\r"
        expect -re $prompt {
            exp_send "quit\r"
        # Turn off logging.
        exp_log_file

  • BGP Path Selection - Favor Oldest Routes

    I've been poking around in a few test routers trying to find where BGP states how long a route has been known from a neighbor. Based on Cisco's BGP path selection article: http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13753-25.html, #10 states BGP prefers the oldest known route. 
    What command shows the amount of time a route has been known via BGP?

    Thanks for your reply, Paul.
    The first command just shows the same timer as the sh ip bgp summary timer. It's just the timer of the neighbor relationship.
    The second command just displays how long the route has been in the routing table. I've tested this and found that when BGP loses a route to a network and then selects a different path that it had known about, the timer resets to 0. Even though it had known about the path for a while, it still resets to 0. 
    So thanks to everyone for your responses, but I'm still looking for some way to see the age of a BGP-learned route.

  • EIGRP vs BGP route path selection scenario

    I am looking for a routing solution to the following scenario.  It is a fairly simple design. 
    I have two WAN connections between sites A and B.  One is a 20 Meg Metro Ethernet Circuit running EIGRP.  The other is a 10 Meg MPLS running BGP.  What do I need to do in my configuration to make sure that the 20 Meg connection is the chosen path based off the fact that it has better speed and bandwidth?  It appears to me that the MPLS is the preferred path even though it is slower.
    See attached Diagram:
    Site A Config
    interface GigabitEthernet1/0/12
     description PADC COX P2P 20 Meg
     no switchport
     bandwidth 20480
     ip address 172.20.1.1 255.255.255.252
    interface GigabitEthernet2/0/2
     description LEVEL 3 MPLS
     no switchport
     bandwidth 10240
     ip address 172.22.0.2 255.255.255.252
    router eigrp 1
     network 10.0.1.0 0.0.0.255
     network 172.20.1.0 0.0.0.3
     network 192.168.76.8 0.0.0.3
      redistribute bgp 65003 metric 100 1 255 1 1500 route-map MPLS_NETWORKS
     redistribute static route-map DEFAULT_ROUTE
    router bgp 65003
     bgp log-neighbor-changes
     redistribute static
     redistribute eigrp 1
     neighbor 172.22.0.1 remote-as 1
     default-information originate
    Site B Config
    interface GigabitEthernet0/1
     description COX Communications 10 Meg to Venyu
     bandwidth 20480
     ip address 172.20.1.2 255.255.255.252
     duplex auto
     speed auto
     service-policy output VOIP
    interface GigabitEthernet0/2
     description Level 3 MPLS
     bandwidth 10240
     ip address 172.22.1.2 255.255.255.252
     duplex full
     speed 100
    router eigrp 1
     network 10.3.1.0 0.0.0.31
     network 10.52.1.0 0.0.0.255
     network 10.76.6.0 0.0.0.255
     network 172.20.1.0 0.0.0.3
     network 192.168.63.64 0.0.0.63
     network 192.168.76.249 0.0.0.0
     passive-interface default
     no passive-interface GigabitEthernet0/0
     no passive-interface GigabitEthernet0/1
    router bgp 65003
     bgp log-neighbor-changes
     network 10.3.1.0 mask 255.255.255.224
     network 10.52.1.0 mask 255.255.255.0
     network 10.76.6.0 mask 255.255.255.0
     network 192.168.76.249 mask 255.255.255.255
     neighbor 172.22.1.1 remote-as 1

    If each router is receiving advertisements for the same networks/subnet masks from both BGP and EIGRP it will always choose the BGP routes because they have a lower AD ie. 20 vs EIGRP 90.
    Doesn't matter what the bandwidth is.
    If you want to prefer the 20Mbps links then there are a number of options -
    1) if you can summarise each sites subnets then advertise the summary via BGP and the more specific via EIGRP.  More specific will be chosen even before AD is taken into account.
    2) change the AD of either BGP or EIGRP so EIGRP ends up with the lower AD
    3) run BGP on both links although you would still need to manipulate the attributes to make sure the link you want is used.
    Jon

  • TS4085 I reboot my router updated to IOS 5, still NO on/off selection for mirroring..please help getting disappointed

    I reboot my router updated to IOS 5, still NO on/off selection for mirroring..please help getting disappointed

    What are you trying to mirror from? Mirroring from your Mac won't be available until Mountain Lion 10.8  www.apple.com/macosx/mountain-lion/
    Setting up and troubleshooting AirPlay Mirroring
    support.apple.com/kb/TS4085 

  • Dynamic bandwidth selection for PPPoE over Ethernet/VLAN

    Hello all, hope you are doing great.
    I'm planning to deploy PPPoE Server (Cisco Router 7609) for a ISP. This ISP will provide Internet connection for customer over Ethernet.
    I have to provide a solution to assign bandwidth to each customer by RADIUS and I find some clues that Dynamic Bandwidth Selection (DBS) should be the answer. Unfortunately, DBS only support PPPoA or PPPoE over ATM.
    If you have any experience with equivalent function, please help me. Thank you very much.
    Regards,
    Hiep Nguyen.

    Hiep,
    I think I have figured this out.  Here is the test config on my PPPoE server:
    int lo1
      ip address 172.25.25.25 255.255.255.255
    ip radius source-interface Loopback1
    aaa new-model
    radius-server host 172.16.1.55 auth-port 1812 acct-port 1813 key cisco$$$
    aaa group server radius RADIUS-ACT
     server 172.16.1.55 auth-port 1812 acct-port 1813  
    aaa authentication login default group RADIUS-ACT local
    aaa authorization exec default group RADIUS-ACT local
    aaa accounting exec default start-stop group RADIUS-ACT
    aaa accounting delay-start
    aaa authentication ppp default if-needed group RADIUS-ACT local
    aaa authorization network default group RADIUS-ACT local
    aaa accounting network default start-stop group RADIUS-ACT
    aaa accounting update periodic 5
    bba-group pppoe global
     virtual-template 1
    interface fa0/1
     pppoe enable group global
     ip address 172.30.0.1 255.255.0.0
     no shut
    interface Virtual-Template1
     mtu 1492
     ip unnumbered FastEthernet0/1
     peer default ip address pool GLOBALPOOL
     ppp authentication chap
    ip local pool GLOBALPOOL 172.30.0.2 172.30.127.255
    policy-map POLICE-128K
     class class-default
        police 128000
    policy-map POLICE-512K
     class class-default
        police 512000
    Here are the attributes on the radius server, for a group the PPPoE customer belonged to:
    Service-Type = Framed
    Framed-Protocol = PPP
    cisco-avpair="ip:sub-policy-In=POLICE-128K"
    cisco-avpair+="ip:sub-policy-Out=POLICE-512K"
    Here is the show policy-map on the virtual-access interface the client connected on:
    sho policy-map int virtual-a 3
     Virtual-Access3
      Service-policy input: POLICE-128K
        Class-map: class-default (match-any)
          1000 packets, 1402000 bytes
          5 minute offered rate 0 bps, drop rate 0 bps
          Match: any
          police:
              cir 128000 bps, bc 4000 bytes
            conformed 799 packets, 1120198 bytes; actions:
              transmit
            exceeded 201 packets, 281802 bytes; actions:
              drop
            conformed 0 bps, exceed 0 bps
      Service-policy output: POLICE-512K
        Class-map: class-default (match-any)
          911 packets, 1137746 bytes
          5 minute offered rate 0 bps, drop rate 0 bps
          Match: any
          police:
              cir 512000 bps, bc 16000 bytes
            conformed 799 packets, 1136178 bytes; actions:
              transmit
            exceeded 0 packets, 0 bytes; actions:
              drop
            conformed 0 bps, exceed 0 bps
    I was able to generate enough traffic with ping to meet the exceed action in and have it drop packets.

  • Weird BGP path selection problem

    Hi, all,
    I am seeing a weird BGP path selection problem on 4948 switch running cat4500-entservicesk9-mz.122-46.SG.bin code, this switch has two uplinks to the same ISP's different edge router, one circuit is primary the other one is strict backup, only default route is accepted from ISP. I am setting both local preference and weight to the default route advertised over backup link, however neither one is taking effect, BGP still thinks the backup link is better, what could be wrong?
    rtr#sh ip bgp 0.0.0.0/0
    BGP routing table entry for 0.0.0.0/0, version 105
    Paths: (3 available, best #2, table Default-IP-Routing-Table, not advertised to EBGP peer)
      Not advertised to any peer
      17675, (received & used)
        203.169.8.37 from 203.169.8.37 (61.211.160.150)
          Origin IGP, localpref 100, valid, external
          Community: 65001:0 no-export
      17675
        203.169.8.45 from 203.169.8.45 (61.211.160.151)
          Origin IGP, localpref 90, weight 90, valid, external, best <====
          Community: 65001:0 no-export
      17675, (received-only)
        203.169.8.45 from 203.169.8.45 (61.211.160.151)
          Origin IGP, localpref 100, valid, external
          Community: 65001:0 no-export
    Thanks

    Hi,
    On cisco routers , weight is having highest preference to decide best path. By default for received route, weight is 0 but you are setting weight 90 to backup path and that is why it is getting preferred (higher is better). Please remove weight and let local preference be 90 (lesser than route on primary path)
    --Pls dont forget to rate helpful posts--
    Regards,
    Akash

  • Bgp path selection issue

    hi,
    i have the following cli show command output,
    R2#show bgp ipv4 unicast
    BGP table version is 11, local router ID is 192.168.220.252
    Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
                  r RIB-failure, S Stale
    Origin codes: i - IGP, e - EGP, ? - incomplete
       Network          Next Hop            Metric LocPrf Weight Path
    * i192.168.30.0     192.168.110.70           0    100      0 63000 i
    *>                  192.168.220.70           0             0 63000 63000 i
    * i192.168.40.0     192.168.110.70           0    100      0 63000 63000 i
    *>                  192.168.220.70           0             0 63000 i
    R2#
    why isn't the route through the shortest AS path not selected as the best route for 192.168.30.0. ?
    thanks,
    uddika

    R2#
    R2#
    R2#show ip bgp 192.168.30.0
    BGP routing table entry for 192.168.30.0/24, version 7
    Paths: (2 available, best #2, table Default-IP-Routing-Table)
      Advertised to update-groups:
         2         
      63000
        192.168.110.70 (inaccessible) from 192.168.111.251 (192.168.111.251)
          Origin IGP, metric 0, localpref 100, valid, internal
      63000 63000, (received & used)
        192.168.220.70 from 192.168.220.70 (192.168.220.70)
          Origin IGP, metric 0, localpref 100, valid, external, best
    R2#
    R2#
    thanks, i noticed that R2 does not have the route for the next hop, 192.168.110.70.

Maybe you are looking for

  • Download error message - I can't view apps or updates.

    After a failed attempt to update photoshop the apps panel in my creative cloud window says download error and won't refresh. \ I can't view apps or updates. I quit Creative Cloud and reinstalled but it still displays the same message. How can I fix i

  • Using Front Row w/ Macbook in closed lid position (w/ Cinema Display) ?

    Using Front Row w/ Macbook in closed lid position (w/ Cinema Display) - Is it possible if I buy a remote, to use Front Row on a Macbook that is in the closed position? I use a Macbook linked to an external cinema display (a brushed alum, slightly old

  • Help-- all downloaded songs deleted

    When I wasn using iTunes just now, I got a message that said "iTunes cannot recognize some songs because the software is not recognized" (something to that effect, I don't remember the exact wording). I pressed OK and all of my downloaded songs are n

  • 2.2 Music Video Playlist problem-no audio (every other MusicVideo)

    I updated to 2.2 over the weekend so that I could have MusicVideo Playlists (plus all the other enhancements). BUT, the audio on the musicvideos only plays on EVERY OTHER musicvideo. Each one works individually. The playlist works properly on the iMa

  • Dynamic Accordion height (revisited)

    Hi All, I have an application that allows the user to add or remove Accordion panels at will. My problem is that I want to keep the overall Accordion height constant independent of the number of panels. I have found a simple way to keep the overall h