cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
812
Views
21
Helpful
9
Replies

not able to do routing cisco 2901

edmundo23
Level 1
Level 1

I am not able to do routing, I have cisco 2901, I would like to routing, the provider for the network

 

!
interface GigabitEthernet0/0
 description ISP
 ip address ISP
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 description LAN
 ip address LAN
 duplex auto
 speed auto
!

9 Replies 9

Umesh Shetty
Level 1
Level 1

Hi ,

 

Can you please elaborate your issue please, 

1- What routing protocol are you using or using static route >

2- How are you verifying if the that there is no routing ?

3- Can you share the output of the "show ip route " command 

 

Regards

Umesh Shetty

1- What routing protocol are you using or using static route
dynamic

2- How are you verifying if the que there is the routing?
I set up:
G0 / 0 - ISP - WAN
G0 / 1 - LAN


3- Can you share the output of the "show ip route" command

router#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       a - application route
       + - replicated route, % - next hop override

Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.150.0.0/16 is directly connected, GigabitEthernet0/1
L        10.150.50.1/32 is directly connected, GigabitEthernet0/1
      198.235.9.0/24 is variably subnetted, 2 subnets, 2 masks
C        198.225.9.112/30 is directly connected, GigabitEthernet0/0
L        198.225.9.114/32 is directly connected, GigabitEthernet0/0

 

 

share your config 

probably u need nat from lan to wan and 

 

ip route 0.0.0.0 0.0.0.0 198.225.9.113

Gateway of last resort is 198.225.9.113 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 198.225.9.113
      10.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
S        10.0.0.0/8 [1/0] via 10.160.30.1
C        10.160.0.0/16 is directly connected, GigabitEthernet0/1
L        10.160.30.1/32 is directly connected, GigabitEthernet0/1
      197.235.8.0/24 is variably subnetted, 2 subnets, 2 masks
C        198.225.9.112/30 is directly connected, GigabitEthernet0/0
L        198.225.9.114/32 is directly connected, GigabitEthernet0/0

 

i don't have internet wet

You need to set up NAT. See below:

interface GigabitEthernet0/0
 ip nat outside
!
interface GigabitEthernet0/1
 ip nat inside

access-list 1 permit 10.0.0.0 0.255.255.255

ip nat inside source list 1 interface gigabitethernet0/0 overload

 

 

is working
Thank you so much

 

 

dont forget to rate posts and mark as answered

check u can ping

 

ping 8.8.8.8

ping 198.225.9.114

ping 198.225.9.113

On router

router#ping 8.8.8.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 660/720/764 ms

router#ping 198.225.9.113
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 197.235.8.213, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 944/984/1064 ms

router#ping 198.225.9.114
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 197.235.8.214, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 960/1040/1132 ms

 

 
Review Cisco Networking products for a $25 gift card