Home > Archive > CCNA > January 2004 > 3640 Lab Router Config





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author 3640 Lab Router Config
Joe Dali

2004-01-02, 8:18 pm

I got a 3640 off eBay that has 2 Ethernet interfaces.

I've configured one to connect to my home network 192.168.1.0/24 Ip address of 192.168.1.30

I've configured the other port to be a second network 192.168.2.0/24 IP addess of 192.168.2.1

On the secondary network 192.168.2.0/24 I have a switch that I want to connect a test client too with a static IP of 192.168.2.10

Why won't the 2nd network route to my home network?

I've added RIP listing both networks.

I tried routing E0/1 out to E0/0 but I guess I'm doign something wrong.

Is it even possible to route out of a single router with 2 Ethernet ports?

I should think it most certainly is ...
DrWatsonJr

2004-01-02, 9:18 pm

I know this may be a bit insulting, but did you make sure you configured both interfaces to "no shut"?

Also, if you don't mind posting a copy of your running-config, I'm sure no one would mind taking a look at it.
Joe Dali

2004-01-02, 11:57 pm

Thanks Sir Watson ... here it is ... I appreciate any help.

I think its not working because e0/0 can't route to a Linksys? Does the Linksys need to be aware of the Cisco to accept packets?


aurora_3640#sh run
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname aurora_3640
!
enable secret 5 $1$26IZ$mYPpQmaYnjLHL8P7A3Jnb/
enable password MyPass
!
!
!
!
!
ip subnet-zero
!
isdn voice-call-failure 0
!
!
!
!
controller T1 1/0
!
controller T1 1/1
!
controller T1 1/2
!
controller T1 1/3
!
!
!
interface Ethernet0/0
ip address 192.168.1.30 255.255.255.0
no ip directed-broadcast
!
interface Ethernet0/1 < --- needs to route all packets to 0/0
ip address 192.168.2.1 255.255.255.0
no ip directed-broadcast
!
interface Serial2/0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial2/1
no ip address
no ip directed-broadcast
shutdown
clockrate 125000
!
interface Serial2/2
no ip address
no ip directed-broadcast
shutdown
clockrate 125000
!
router rip
network 192.168.1.0
network 192.168.2.0
!
ip classless
no ip http server
!
!
!
line con 0
password 5150
login
transport input none
line aux 0
password MyPass
login
line vty 0 4
exec-timeout 0 0
password MyPass
login
!
end

Why won't this command work on e0/1:

aurora_3640(config-if)#ip route 0.0.0.0 0.0.0.0 255.255.255.0 192.168.1.30
Mat P

2004-01-03, 7:04 am

You don't need RIP as both networks are directly connected to the 3640 - though this isn't stopping it from working, just creating extra traffic. Likewise the static route isn't needed - the reason it isn't going in is because you are trying to type it on the interface instead of globaly.

I reckon it's much more basic, maybe you don't have a link - are your interfaces up, are the correct LED's lit??

sh int e0/0
sh int e0/1

your looking for up/up
If one is down is your cabling wrong? Are you using a crossover (should be straight), are you plugged into a crossover port on the linksys??

Can the 3640 ping the devices on the 2nd network?? I'm guessing it probably can, if so then have you set the default gateway on the devices correctly? This is a pretty common mistake - I once saw a senior engineer struggling in a customer demo and this was the reason why!! It should be the router port on both networks,
192.168.1.30 for devices off e/0
192.168.2.1 for devices off e0/1

HTH - let us know how you get on.
Joe Dali

2004-01-03, 9:28 am

yes I could ping from both networks in testing, but when I tried to test application layer apps such as IE, to hit the web, it wasn't working.

I'm going to dink around with it more, I really really appreciate any help you can give to get me going.

Here are my sh int outputs for both ints:

aurora_3640#sh int e0/1
Ethernet0/1 is up, line protocol is up
Hardware is AmdP2, address is 0002.4b19.ab02 (bia 0002.4b19.ab02)
Internet address is 192.168.2.1/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
Last input 14:04:20, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
1118 packets input, 107107 bytes, 0 no buffer
Received 474 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
16699 packets output, 1667709 bytes, 0 underruns
0 output errors, 0 collisions, 3 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
--------------------------
aurora_3640#sh int e0/0
Ethernet0/0 is up, line protocol is up
Hardware is AmdP2, address is 0002.4b19.ab01 (bia 0002.4b19.ab01)
Internet address is 192.168.1.30/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
38429 packets input, 3327467 bytes, 0 no buffer
Received 36013 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
18347 packets output, 1813169 bytes, 0 underruns
0 output errors, 0 collisions, 3 interface resets
0 babbles, 0 late collision, 2 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Yankee

2004-01-03, 10:05 am

Sounds like you have a cable/dsl router on the 192.168.1.0 network connected to the internet and it does not know how to get back to the 192.168.2.0 network.

Yankee
Joe Dali

2004-01-03, 10:09 am

e0/1 just isn't routing correctly to the outside world:

C:\Documents and Settings\Administrator>ping 216.148.227.68

Pinging 216.148.227.68 with 32 bytes of data:

Request timed out.
Reply from 192.168.2.1: Destination host unreachable.
Reply from 192.168.2.1: Destination host unreachable.
Reply from 192.168.2.1: Destination host unreachable.

Ping statistics for 216.148.227.68:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

==============================


Yet, I can ping my home network default gateway successfully from the router:

aurora_3640#ping 192.168.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

====================

Please, a simple setup with ONE router and TWO E interfaces can't be this mind boggling?

I really think that e0/1 is not setup to route to my home network correctly, or the linksys cable router just isn't accepting packets from 192.168.2.1 to route to the internet.

Ugh ... I'm trying ... HELP!

DrWatsonJr

2004-01-03, 11:11 am

Just another suggestion, is that your linksys router does need to be either running RIP, or you need a static route configured to reach the far side network of your 3640 router. Otherwise, the linksys router would have no knowledge of the other network. I'm also struggling to understand why you tried to configure a default route with a subnet mask. To configure a default route, you would type from "global config mode"

ip route 0.0.0.0 0.0.0.0 next-hop-address

Now, this is what this board should be all about. Thanks for the good troubleshooting exercise!
Joe Dali

2004-01-03, 11:23 am

Thanks for the latest suggestions, you are correct, the linksys routes for the 192.168.1.0 network on my Cable connection.

And, indeed, I do not think it knows how to route back to the e0/1 192.168.2.1 int on my 3640.

I guess I'll check the Linksys to see if it can play a part in routing to a secondary network.

I'd love to see all this work in prep for 640-801.
Joe Dali

2004-01-03, 11:37 am

The Linksys does have static routing which I enabled with the following values:

Destination LAN IP: 192.168.2.0
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.2.1 (I think this is wrong? Should it be my int e0/0 192.168.1.30?)
Hop Count (Metric, max. is 15): 1

I'll test now ... thanks, if I learn and you learn then we all learn eh?

I shoulda checked the Linksys FIRST. I just figured that if the router has a direct connection to my primary network 192.168.1.1, then all would be well. but, how would it know to route to 192.168.2.1? There ya go.

Thanks for everyone's help ...
DrWatsonJr

2004-01-03, 11:40 am

Actually, on the Linsys router, all that you need to do is configure a static route of 192.168.2.0 and point it to the e0/0 interface of you 3640 (192.168.1.0), and everything should work fine. Now to ensure the 192.168.2.0 network can route to the Internet, I would also configure a default route on the 3640 pointing to the Linksys router.

And again, that command would be (in global config mode)

ip route 0.0.0.0 0.0.0.0 next-hop-ip (which in this case would be your linksys LAN interface.)

Let us know how this works out for you.
Joe Dali

2004-01-03, 12:00 pm

That did it DR Watson!

I want to thank you from the bottom of my Newbie routing heart.

I am now routing on 2 networks!

Awesome!

I feel giddy.

LOL.
DrWatsonJr

2004-01-03, 12:09 pm

What was the resolution? Were the clients configured with the wrong default gateway?
Joe Dali

2004-01-03, 12:35 pm

Static routing needed to be configured on my Linksys and the default route on the 3640, in global config mode.

I still wonder why the 192.168.1.30 int really has no specific configs tied to it to route to my Linksys. I guess the global default route takes care of that in the end.

This was a great learning experience, thanks all.

I've configured routers in the real world, but all the values were provided to me and I just needed to plug them in. With this scenario I didn't really know what to do, or just didn't think about too hard.

I wish I had thought of checking the Linksys so much earlier in this scenario. it needs to know about the .2 network, duh!

Thanks again all.
DrWatsonJr

2004-01-03, 12:50 pm

Cool. I was a bit confused with your last post as to what the resolution was, but thanks for clarifying.

The 192.168.1.30 int has no problem routing to your Linksys router, since they are on the same network...It will simply need to ARP for the MAC address of the Linksys router's Ethernet interface to communicate with it. However, if a client on your 192.168.2.0 network wants to access the internet (without the default route in place), the router will look in its routing table for a route to that destination (since RIP is configured). All it will see are the 2 directly connected networks. Therefore, since your 3640 does not have a route to the destination Internet address (66.67.191.2 for example) it will drop the packet. Once you configured the default route, even though the 3640 still does not have a route to the Internet address, it will forward the packet to it's "gateway of last resort"..in this case the Linksys router.

This will only allow 1 way communication though. When the packet comes back from the original destination, it will now have a destination to the 192.168.2.0 network (Actually it will have a destination of the NATted address, but that's a different topic all together). Without a static route, the Linksys box has no knowledge of how to forward the packet to the 192.168.2.0 network. The static route takes care of this. Please note, enabling RIP on the Linksys router would also resolve your 1 way communication issue.

Anyway :-) , glad everything is working.
ziutek

2004-01-05, 2:45 am

Hi Guys, I was just following along here, and would like to say that I have a very similar setup. I have a LinkSys DSL router, and have configured static routes on it for all private networks (10.x.x.x, 172.16-31.x.x, as well as 192.168.x.x). I did this because hanging off my Linksys is my 2511 (which is configured in the standard 192.168.1.x network, as well as two catalyst switches using this subnet as the management VLAN - ie. VLAN1), which I then use to access my home lab remotely via telnet, as well as syslog, TFTP, and NTP servers. Quite often on my home network I need to access the TFTP server to load new IOSes. With these static routers confgured, using int e0 on the 2511 as the default gateway, I can use any private IP address on my home lab, and still access the different servers (and the internet). The little LinkSys has been a great addition to my network.

Regards,
Joe
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net