Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

Routing settings

i've a cisco 1720 for a link between 2 places... its routing OK, we have a gateway to internet, so i need to give internet to the other place, this is the config

=================================
interface FastEthernet0
 ip address 135.100.1.254 255.255.255.0
 ip helper-address 135.100.1.1
 ip nat inside
 speed auto
 half-duplex

interface Serial0
 ip address 135.100.200.1 255.255.255.0

router eigrp 6000
 network 67.0.0.0
 auto-summary
 no eigrp log-neighbor-changes

ip classless
ip route 135.100.7.0 255.255.255.0 135.100.200.3
=================================

i added ip route 0.0.0.0 0.0.0.0 135.100.1.253 as 135.100.1.253 is the gateway's ip but it didn't work.
i added ip default-gateway 135.100.1.253 and the same.

what i need to set to route internet ip through this device?

Thanks in advance.


FM
0
fmonroy
Asked:
fmonroy
  • 8
  • 6
  • 5
  • +1
2 Solutions
 
MarkDozierCommented:
Please provide a drawing of the network. I am not clear on a couple of details
0
 
fmonroyAuthor Commented:
sure... it's at http://img61.exs.cx/img61/8862/Routing.png

i need to route packets from Net B to the Internet
0
 
MarkDozierCommented:
Thanks for the drawing,
try adding 135.100.0.0 to your network statements

0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
fatladCommented:
Is the diagram for the whole network? I am not sure what your EIGRP process is routing here. Network B has no way of reaching the 135.100.1.253 (I think that is the router in N/w A, and the diagram has a small error). As Mark says, adding the 135.100.0.0 network to it would work, or if you want to do it all in a static route, add the line:  ip route 0.0.0.0 0.0.0.0 serial 0
0
 
MarkDozierCommented:
I think he has a static route between the 1720's  And yes the diagram is very imcomplete.
but i was able to finally figure it out.
0
 
fmonroyAuthor Commented:
Packets from Net B are reaching Net A correctly;

I don't know what eigrp settings are for, some guys used this routers from old installation without cleaning settings; the only i need is to forward packets from B to the internet.

where should the "0.0.0.0 0.0.0.0 serial 0" route be set? Router in Net A or in Net B?
0
 
fatladCommented:
Net B.

If you are not using EIGRP, turn it off with "no router eigrp 6000"
0
 
PennGwynCommented:
I have no idea what network 67.0.0.0 is, or where on your diagram.  I'd assume that the EIGRP is between your two routers, and so if you add netwrok 135.100.0.0, you should no longer need the static route.  Also add "default-information-originate" to the EIGRP config on the router that has the Internet connection and default route, so it will provide a default route to its neighbor.

0
 
fmonroyAuthor Commented:
OK, i will try your suggests, but we need to wait because password recover procedure needs to be done at Net B.

I will post any news.

Thanks to you all.
0
 
MarkDozierCommented:
Lets do this
On your drawing properly label each interface that is being used then post when you have it.
Post you complete config for both 1720's and label them coorectly as Net A or Net B. I think you need to do som house cleaning and documentation to avoid futyre issues.
Tell us how you are connecting to the internet. IS it with an interface on the 1720 of is there another devoce at the boundary?
0
 
fmonroyAuthor Commented:
OK...

the new diagram is here: http://img56.exs.cx/img56/8862/Routing.png

what i need to do is to permit that a device at Net B (by example 135.100.7.150) can access internet through Net A.

Here is the configuration from both routers, A & B (C is a linksys gateway/router only with local and internet addresses)
======================================================
Router A
======================================================
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname XXX
!
no logging buffered
no logging buffered
logging rate-limit console 10 except errors
no logging console
enable secret 5 XXX
enable password XXX
!
memory-size iomem 25
ip subnet-zero
no ip finger
ip name-server XXX
!
!
!
!
interface FastEthernet0
 ip address 135.100.1.254 255.255.255.0
 ip helper-address 135.100.1.1
 ip nat inside
 speed auto
 half-duplex
!
interface Serial0
 ip address 135.100.200.1 255.255.255.0
!
interface Serial1
 no ip address
!
interface Serial2
 no ip address
!
interface Serial3
 no ip address
!
ip classless
ip route 135.100.7.0 255.255.255.0 Serial0
no ip http server
!
!
line con 0
 transport input none
line aux 0
line vty 0 4
 password XXX
 login
!
end
======================================================
Router B
======================================================
version 12.1
service config
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname XXX
!
enable secret 5 XXX
enable password XXX
!
!
!
!
!
memory-size iomem 25
ip subnet-zero
ip name-server XXX
!
!
!
!
interface Serial0
 ip address 135.100.200.3 255.255.255.0
!
interface FastEthernet0
 ip address 135.100.7.254 255.255.255.0
 speed auto
 full-duplex
 no cdp enable
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0
no ip http server
!
dialer-list 1 protocol ip permit
dialer-list 1 protocol ipx permit
!
line con 0
 exec-timeout 0 0
line aux 0
line vty 0 4
 password XXX
 login
!
end
======================================================

Thank you
0
 
MarkDozierCommented:
Where is and and what is acting as the DHCP server ?

0
 
fatladCommented:
Still slightly confused by the diagram, do the devices in net B have address in the 135.100.1.x or 135.100.7.x?
0
 
fmonroyAuthor Commented:
MarkDozier: there is a server in Net A providing IP addresses using DHCP. At Net B computers have static IP addresses. i dont think that addressing is the problem.

fatlad: in Net B every computer (device) uses 135.100.7.x addresses.
0
 
fatladCommented:
OK so lets start pinpoint where this problem is. Can you do the following and let me have the answers.

1. Can a client in Net B ping 135.100.7.254
2. Can a client in Net B ping 135.100.200.3
3. Can a client in Net B ping 135.100.200.1
4. Can a client in Net B ping 135.100.1.254
5. Can a client in Net B ping 135.100.1.253

6. Can you log on to router A and ping 135.100.200.3
7. Can you log on to router A and ping 135.100.7.254
8. Can you log on to router A and ping 135.100.1.253
9. Can you log on to router A and ping a client.
10. Can you log on to router B and ping 135.100.200.1
11. Can you log on to router B and ping 135.100.1.254
12. Can you log on to router B and ping 135.100.1.253

Then we can see exactly what the problem is. Don't worry we will get there in the end!
0
 
fmonroyAuthor Commented:
1. Yes
2. Yes
3. Yes
4. Yes
5. Yes
6. Yes
7. Yes
8. Yes
9. Yes
10. Yes
11. Yes
12. No

Thank you
0
 
fmonroyAuthor Commented:
Great!!! it's working now, i just added rip routing on networks involved and 0.0.0.0 route at A.

I'll just verify access.

Thank you very much.
0
 
MarkDozierCommented:
Good job. Way to go. I was going to post a config for you, but if it is working Congrats.
0
 
fatladCommented:
Excellent, well done!
0
 
fmonroyAuthor Commented:
Thank you all very much
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 8
  • 6
  • 5
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now