07-26-2015 04:13 AM - edited 03-05-2019 01:56 AM
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
!
07-26-2015 04:19 AM
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
07-26-2015 06:36 AM
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
07-26-2015 07:05 AM
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
07-26-2015 07:42 AM
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
07-26-2015 10:10 PM
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
07-27-2015 07:42 AM
is working
Thank you so much
07-27-2015 09:14 AM
dont forget to rate posts and mark as answered
07-26-2015 11:16 PM
check u can ping
ping 8.8.8.8
ping 198.225.9.114
ping 198.225.9.113
07-27-2015 07:00 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide