2013年6月30日星期日

861Router


Question:

i have a new 861 router no cisco price wireless or anything and i am having trouble gettting it to work. i put the IP address on the Fastethernet 4 and the inside ip address on the VLAN1 i can ping out from the router both ways to the gateway and back to the local machine but i can not get out to the internet from the local machines.the DHCP works just cant get to the internet
below is a copy of current config any help would be great.

!
hostname 861router
!
boot-start-marker
boot-end-marker
!
no aaa new-model
memory-size iomem 10
crypto pki token default removal timeout 0
!
crypto pki trustpoint TP-self-signed-3456406442
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3456406442
revocation-check none
rsakeypair TP-self-signed-3456406442
!
crypto pki certificate chain TP-self-signed-3456406442
certificate self-signed 01
  3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 33343536 34303634 3432301E 170D3036 30313032 31323231
  34315A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 34353634
  30363434 3230819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  8100D7A9 53C08EAE 1558F10B AE84A678 A0C98D33 AB41472B 9D4248DA 0675896C
  E7CF40E4 E634905F 17F0E3F2 A35013BC 93204847 3AF54F16 44321BC8 72DFAEE5
  0DE1D6FD D5BC7190 A973E790 8982ED1C 29E5ADDC 8EC06918 6375A32E D2274953
  21286478 9FE65AF0 A0E6FE38 8953F3B5 7BA52054 F92FF817 662197F8 5744A8C8
  30090203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
  551D2304 18301680 1483DEC0 6CEEAF08 85AB21E1 E00C85F2 F438E12A EA301D06
  03551D0E 04160414 83DEC06C EEAF0885 AB21E1E0 0C85F2F4 38E12AEA 300D0609
  2A864886 F70D0101 05050003 8181005E 4DEEDF37 6D619DAD 6A91E463 AB1B7EE7
  8340BB76 2FC84662 B9DCE3F1 5F3FADB0 D83AE457 9392C3EC 4FD15173 487D54F8
  F9F4286D C56820FB 0AF9DEB2 AA6FDC56 19F181A2 82CA2D07 2AE15644 2C224F4F
  9FC2E1CF F396724D A5003947 306921F9 A38B7CC4 B72B94AA D9C76774 B4FCC4D7
  CB65C7D6 B833F6F7 BD879AA6 94A8F3
   quit
ip source-route
!
!
ip dhcp excluded-address 192.168.4.1 192.168.4.10
ip dhcp excluded-address 192.168.4.200 192.168.4.250
!
ip dhcp pool PPool
import all
network 192.168.4.0 255.255.255.0
default-router 192.168.4.1
dns-server 10.5.60.2
domain-name domain
lease 0 2
!
!
!
ip cef
no ip domain lookup
!
!
license udi pid CISCO861-K9 sn FGL1708240F
!
!
username admin privilege 15 secret 4 password
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface FastEthernet4
description outside wan
ip address 10.5.35.1 255.255.0.0
duplex auto
speed auto
!
interface Vlan1
ip address 192.168.4.1 255.255.255.0
ip nat enable
ip virtual-reassembly out
!
ip forward-protocol nd
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip route 0.0.0.0 0.0.0.0 10.5.10.1
ip route 192.168.4.0 255.255.255.0 10.5.10.1
!
access-list 4 permit any
access-list 23 permit 192.168.4.0 0.0.0.255
access-list 110 permit ip any any
no cdp run
!
line con 0
login local
line aux 0
line vty 0 4
access-class 23 in
privilege level 15
login local
transport input telnet ssh
!
end
!
hostname 861router
!
boot-start-marker
boot-end-marker
!
no aaa new-model
memory-size iomem 10
crypto pki token default removal timeout 0
!
crypto pki trustpoint TP-self-signed-3456406442
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3456406442
revocation-check none
rsakeypair TP-self-signed-3456406442
!
!
crypto pki certificate chain TP-self-signed-3456406442
certificate self-signed 01
  3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 33343536 34303634 3432301E 170D3036 30313032 31323231
  34315A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 34353634
  30363434 3230819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  8100D7A9 53C08EAE 1558F10B AE84A678 A0C98D33 AB41472B 9D4248DA 0675896C
  E7CF40E4 E634905F 17F0E3F2 A35013BC 93204847 3AF54F16 44321BC8 72DFAEE5
  0DE1D6FD D5BC7190 A973E790 8982ED1C 29E5ADDC 8EC06918 6375A32E D2274953
  21286478 9FE65AF0 A0E6FE38 8953F3B5 7BA52054 F92FF817 662197F8 5744A8C8
  30090203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
  551D2304 18301680 1483DEC0 6CEEAF08 85AB21E1 E00C85F2 F438E12A EA301D06
  03551D0E 04160414 83DEC06C EEAF0885 AB21E1E0 0C85F2F4 38E12AEA 300D0609
  2A864886 F70D0101 05050003 8181005E 4DEEDF37 6D619DAD 6A91E463 AB1B7EE7
  8340BB76 2FC84662 B9DCE3F1 5F3FADB0 D83AE457 9392C3EC 4FD15173 487D54F8
  F9F4286D C56820FB 0AF9DEB2 AA6FDC56 19F181A2 82CA2D07 2AE15644 2C224F4F
  9FC2E1CF F396724D A5003947 306921F9 A38B7CC4 B72B94AA D9C76774 B4FCC4D7
  CB65C7D6 B833F6F7 BD879AA6 94A8F3
   quit
ip source-route
!
!
ip dhcp excluded-address 192.168.4.1 192.168.4.10
ip dhcp excluded-address 192.168.4.200 192.168.4.250
!
ip dhcp pool PPool
import all
network 192.168.4.0 255.255.255.0
default-router 192.168.4.1
dns-server 10.5.60.2
domain-name domain
lease 0 2
!
ip cef
no ip domain lookup
!
license udi pid CISCO861-K9 sn FGL1708240F
!
!
username admin privilege 15 secret 4 password
!

interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface FastEthernet4
description outside wan
ip address 10.5.35.1 255.255.0.0
duplex auto
speed auto
!
interface Vlan1
ip address 192.168.4.1 255.255.255.0
ip nat enable
ip virtual-reassembly out
!
ip forward-protocol nd
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip route 0.0.0.0 0.0.0.0 10.5.10.1
ip route 192.168.4.0 255.255.255.0 10.5.10.1
!
access-list 4 permit any
access-list 23 permit 192.168.4.0 0.0.0.255
access-list 110 permit ip any any
no cdp run
!
line con 0
login local
line aux 0
line vty 0 4
access-class 23 in
privilege level 15
login local
transport input telnet ssh
!
end

Answer:

As mentioned you need to configure NAT properly.
Something like:

interface fa0/4
ip nat outside
interface vlan1
ip nat inside

ip nat inside source list 4 interface fa0/4 overload

And remove this line - you don't need it:

ip route 192.168.4.0 255.255.255.0 10.5.10.1

I am curious as to what else you have upstream of this router - you are natting from one private range to another so there will need to be something further upstream that can NAT this traffic Catalyst Switches Price to a routable address.

2013年6月27日星期四

Issue with floating static route


Question:

 am having issues with my WS-C3560X-48T-L  floating static route - this must be something easy but I am not "seeing" it today... :-)

I have a few hundred prefixes from the 10.0.0.0/12 range in my BGP table and I want to be able to advertise another range (192.168.1.0/27) when any element of the 10.0.0.0/12 aggregate is present in the routing table. Example: If 10.1.1.1/32 is present, then advertise 192.168.1.0/27. My current problem is that the floating static doesn't kick in, even when the locally originated aggregate is present. Looks like the floating static doesn't like following another static route that is pointing to Null0 (which gets dynamically originated by the aggregate). Currently the floating static only kicks in when a prefix is present in the routing table that has zeros in all of the last three octets, i.e. 10.0.0.0/12 , 10.0.0.0/16 , 10.0.0.0/32

Any solutions / ideas to get around this?

!
ip route 192.168.1.0 255.255.255.224 10.0.0.0
!
router bgp 65000
aggregate-address 10.0.0.0 255.240.0.0
network 192.168.1.0 mask 255.255.255.224
!

CE1#sh ip route 10.0.0.0 255.240.0.0
Routing entry for 10.0.0.0/12
  Known via "bgp 65000", distance 200, metric 0, type locally generated
  Routing Descriptor Blocks:
  * directly connected, via Null0
      Route metric is 0, traffic share count is 1
      AS Hops 0

Answer:


Try changing the next hop address for your static route as follow:

ip route 192.168.1.0 255.255.255.224 10.0.0.1

10.0.0.1 should always be resolvable via the aggregate route (10.0.0.0/12), which should always be present WS-C3560X-48T-S Price in the RIB as long as there is a more specific route in the RIB.

2013年6月26日星期三

VPN UP-ACTIVE but cannot ping across VPN


Question:

I have a VPN setup that cisco price I am trying to get workling.  When I issue the command sh crypto session on both routers I get the following:

OFFICE:
Interface: FastEthernet0/0
Session status: UP-ACTIVE   
Peer: 70.193.192.131 port 14275
  IKEv1 SA: local 40.197.68.9/4500 remote 70.193.192.131/14275 Active
  IPSEC FLOW: permit ip 192.168.10.0/255.255.255.0 192.168.30.0/255.255.255.252
        Active SAs: 2, origin: dynamic crypto map

HOME:
Interface: GigabitEthernet0/0
Session status: UP-ACTIVE   
Peer: 40.197.68.9 port 4500
  IKEv1 SA: local 192.168.30.1/4500 remote 40.197.68.9/4500 Active
  IPSEC FLOW: permit ip 192.168.30.0/255.255.255.252 192.168.10.0/255.255.255.0
        Active SAs: 2, origin: crypto map

But when I issue a ping 192.168.10.1 from the home router it returns .....

Here is my network topology:



Attached are my config files.

First, I do not know what I need to do to get the home router to ping the office router.  Secind, what do I do to get the 192.168.2.0 network (phone) to cross the VPN all the way to my phone.

Any help you can provide, I will be greatly thankful for!!!

Answer:

Looking at your config, you're doing NAT per ACL 1, on your OFFICE router, for source of 192.168.10.0/24.  You're NATing your OFFICE LAN to your public interface BEFORE it's being sent through tunnel:

http://www.techrepublic.com/article/understand-the-order-of-operations-for-cisco-ios/6055946 (NAT Order of Operations)

Change it to an extended and insert a line to that to deny NAT for your HOME network destinations across the tunnel:

ip access-list extended SDM_ACL
deny   ip 192.168.10.0 0.0.0.255 192.168.30.0 0.0.0.3
permit ip 192.168.10.0 0.0.0.255 any

That will take care of connectivity to the /30 subnet, but if you're wanting access to the OFFICE from your 110 and 115 VLANs from your HOME, then you'll need to add those networks to Catalyst Switches Price the VPN1-FLA-TRAFFIC and VPN-TRAFFIC ACL's, respectively.

2013年6月25日星期二

Cisco 887VA M K9 on domestic (dynamic IP) BT ADSL


Question:

IDoes anyone have a working WS-C3750X-12S-S Price config for this setup, I configured using the BT instructions but still no internet, I have tried various solutions from the forums but still no internet or ability to ping outside networks. I have in vain tried to get the latest BT firmware for the router but no joy so far.

Answer:

Okay then just change the dhcp pool to have your isp dns server address in###########stead of  your ##router then you should be good to go.

You can remove the two virgin WS-C3750V2-48PS-S dns server address also is you wish.

2013年6月24日星期一

static route definition


Question:

what is the difference WS-C3750X-48P-L between those static routes :

ip route 150.0.0.0 255.255.255.0 150.0.1.1

ip route 150.0.0.0 255.255.255.192 150.0.1.1

Answer:

ip route 150.0.0.0 255.255.255.0 150.0.1.1

#means route anything matching 150.0.0.x to 150.0.1.1

ip route 150.0.0.0 255.255.255.192 150.0.1.1

#mean route anything matching WS-C3750X-48PF-L Price from 150.0.0.1 to 150.0.0.64 to 150.0.1.1

2013年6月23日星期日

Outbound Traffic Manage via eBGP


Question:

We are using multihomed eBGP Cisco 3560X  in single Router from multiple ISPs bandwidth for internet.

We have our own IP Address , at present our oubound traffic going throug ISP 1 , when ISP-1 b/w goes down then it will autometic traffic going throug ISP-2 bydefault.

But our required when ISP-1 B/W goes down our all outbound traffic will going throug ISP-3 inplace of ISP-2.

How can i achieve this as per our requirement.

Answer:

Another option is to specify weight - with again giving  the higher vaule to the most preferred path.

Local pref on a single router is a possibility but as I understand it, It would usually be best utilised with ibgp peering-res

ust to clarify - do you mean when the link on ISP1 goes down? It is just that you said "when ISP-1 b/w goes down" which could be interpreted differently.
It would be helpful if you could share your existing configs but the solution that springs to mind is to use local preference on the BGP learned routes with ISP1 routes having a higher local preference than ISP3.

Yes - that will do it. Ignore my comments about Local Preference - for some reason I thought you had 3 routers on site which is why I recommended LP. Weight is a better option if you have a single router.
You can do the configuration as you have written above or write a route-map statement to apply weight Catalyst 3560 Price to the routes learned from each peer.

2013年6月20日星期四

OSPF path selection ??


Question:

I have the below topology Catalyst 3560 Price in my network I am planing to configure ospf in my network .
Can any one confirm that how traffic will flow from B router to reach the networks behind the a router .
with default ospf configurations .

will it take the directly connected link to reach the router A 's network network ? or will it go through router C to reach the router A ?

Answer:

If you have default OSPF configuration. It will do load balance.

Cost of link connecting Router-A and Router-B = 10^8/1mb = 100
Cost of link connecting Router-B and Router-C = 10^8/2mb = 50
Cost of link connecting Router-C and Router-A = 10^8/2mb = 50

So router B is having two equal Catalyst 3560V2 Price cost path to reach A.