Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

1800 routing issues

Status
Not open for further replies.

MetroMan

Technical User
Aug 29, 2002
223
CA
Boy is this going to sound dumb, but I am just getting started on Cisco s, so please bear with me:

I have two networks, separated by an 1800 series router , config below.... from a workstation on either side, I can ping the local subnet interface, the other subnet interface, but nothing on the other subnet....I'm sure it's something really stupid, but my knowledge of IP is good, but i know diddly about cisco's. I have verified all the ip settings, tried static vs DHCP,static routes with interfaces defined, with IP addresses defined, etc, etc......Thanks for any help!
Building configuration...

Current configuration : 1395 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
no logging buffered
enable secret 5 $1$741d$oRHahqajtUW1o3QjfOFyh1
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 10.0.1.1 10.0.1.49
ip dhcp excluded-address 10.0.1.67 10.0.1.254
ip dhcp excluded-address 192.168.2.1 192.168.2.99
ip dhcp excluded-address 192.168.2.201 192.168.2.254
!
ip dhcp pool sdm-pool1
network 192.168.2.0 255.255.255.0
default-router 192.168.2.15
!
!
no ip ips deny-action ips-interface
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
username tfarren view root secret 5 $1$.EgV$T0eLhupyzj487z25mYyDk/
!
!
!
!
!
!
interface FastEthernet0/0
description $ETH-LAN$
ip address 192.168.1.15 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
description $ETH-LAN$
ip address 192.168.2.15 255.255.255.0
duplex auto
speed auto
!
interface Async0/0/0
no ip address
!
ip classless
ip route 192.168.1.0 255.255.255.0 192.168.1.0 permanent
ip route 192.168.2.0 255.255.255.0 192.168.2.0 permanent
!
!
ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line 0/0/0
line vty 0 4
login
!
end


Trevor Farren
Metrotech Telecom Inc.
 
From router(config)# copy and paste the following:

no ip route 192.168.1.0 255.255.255.0 192.168.1.0 permanent
no ip route 192.168.2.0 255.255.255.0 192.168.2.0 permanent
ip route 192.168.1.0 255.255.255.0 fastethernet0/0 permanent
ip route 192.168.2.0 255.255.255.0 fastethernet0/1 permanent


 
Hey Joamon, thanks for the quick reply! I had tried that already, same problem, cant ping from the x.x.2.x to the x.x.1.x subnet, and vice versa.....any thoughts?

Trevor Farren
Metrotech Telecom Inc.
 
Are you pinging by IP address or by workstation name? If by name then you need to add DNS server and WINS information into DHCP statment.

Can you ping any workstation from the router and no from workstation to workstation?
 
Hey Joamon, i'm pinging direct IP's, and it DOES work from the router to any workstation on either side.....but you're spot on...I can't ping from station to station.

Trevor Farren
Metrotech Telecom Inc.
 
I guess this one is a tough one....no takers???

Trevor Farren
Metrotech Telecom Inc.
 
You don't need static routes if you only have one L3 device. The direcly connected interfaces will automatically be ingected in the routing tabe.

This can be verified by;
1. remove the static routes
no ip route 192.168.1.0 255.255.255.0 192.168.1.0 permanent
no ip route 192.168.2.0 255.255.255.0 192.168.2.0 permanent
no ip route 192.168.1.0 255.255.255.0 fastethernet0/0 permanent
no ip route 192.168.2.0 255.255.255.0 fastethernet0/1 permanent

2. issues a "show Ip roue"
-------------------------------------

It looks like the problem your having is the dhcp config. You need two pools for two diff subnets;

ip dhcp excluded-address 192.168.2.1 192.168.2.99
ip dhcp excluded-address 192.168.2.201 192.168.2.254
!
ip dhcp pool 1
network 192.168.1.0 /24
domain-name xxxx.com
dns-server x.x.x.x
default-router 192.168.1.15
!
ip dhcp pool 2
network 192.168.2.0 /24
domain-name xxxx.com
dns-server x.x.x.x
default-router 192.168.2.15
-----------------

I also see that you are excluding ClassA addresses
ip dhcp excluded-address 10.0.1.1 10.0.1.49
ip dhcp excluded-address 10.0.1.67 10.0.1.254

Were is this subnet connected. You may need to post your current topology, so that we can see the full picture.

 
Jsteve, i ahd tried the Class A block earlier when I was frustrated with trying to get 192.168.x.x to work....the DCHP is only one one interface, beause I've been testing from a pc with the 192.168.1.x block set statically to the 192.168.1.15 (router IP) as the gateway. I scrapped all the DHCP entries, and everything is static now.....all to no avail, but I'll try removing the static routes, although theoretically, they should still work....that's what I'm not understanding. If I scrap those, should I enable RIP?

Thanks!!!!

Trevor Farren
Metrotech Telecom Inc.
 
If your using only one router you do not need a routing protocol or static routes. You just need to make sure your PCs are are pointing to the correct gateway. I am not to familiar with the 1800, but remove the static routs and make sure you have the following configured

config t
ip routing

And post a "show ip route"

-------------

Is this your current setup?

PC1<-->switch<----->1800 router<---->switch<--->PC2
192.168.1.20 192.168.2.20
gw=192.168.1.15 gw=192.168.2.15

 
Jsteve, that's the exact setup, and I'll be in the office tomorrow to get the IP ROUTE info for you.

Thanks!!

Trevor Farren
Metrotech Telecom Inc.
 
Hi guys,
I started at zero again, and re-did the config without any routes, etc here's the running config:


Building configuration...

Current configuration : 1094 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname mttcroute
!
boot-start-marker
boot-end-marker
!
no logging buffered
enable secret 5 $1$T7W8$3o//inZkVRN38jFbjFui.0
enable password xxxxxxx
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
no ip routing
no ip cef
!
!
no ip dhcp use vrf connected
!
!
no ip ips deny-action ips-interface
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
description $ETH-LAN$
ip address 192.168.1.250 255.255.255.0
no ip route-cache
speed auto
half-duplex
no mop enabled
!
interface FastEthernet0/1
description $ETH-LAN$
ip address 192.168.2.250 255.255.255.0
no ip route-cache
speed 10
half-duplex
!
interface Async0/0/0
no ip address
no ip route-cache
!
ip classless
!
!
ip http server
no ip http secure-server
!
snmp-server community mttc RO
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line 0/0/0
line vty 0 4
password
login
!
end

So I did a ping from the router to each side posted below (each is a PC on differnt subnets)

Sending 5, 100-byte ICMP Echos to 192.168.1.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Sending 5, 100-byte ICMP Echos to 192.168.2.249, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms


BUUUUUUUT....still no luck on a PC to PC ping, PC to router, fine, but that's where the good times end....



Trevor Farren
Metrotech Telecom Inc.
 
Do the PC's have any kind of firewalling that may block pings? Are the PC's connected to managed switches and if so are the in the same VLAN?
 
Hey Joamon, no firewalls, win2k sp4 machines, GW set to Router on each side, no DHCP, unmanaged switch, I can ping the forign side GW interface ex: from 192.168.2.x in CAN ping the 192.168.1.x's interface on the router....nothing seems to be getting past the interface on each side????


Any thoughts?
Thanks!

Trevor Farren
Metrotech Telecom Inc.
 
You could try enabling IP Routing by removing the following from the config

no ip routing

By entering no ip routing you have disabled it.

enter ip routing to enable it.
 
Joamon, I tried that too, doesnt change anything...hereès the config again.... could it be the NO MOP ENABLED on eth0/0 ?
Thanks

mttcroute#show run
Building configuration...

Current configuration : 1020 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname mttcroute
!
boot-start-marker
boot-end-marker
!
no logging buffered
enable secret 5 $1$T7W8$3o//inZkVRN38jFbjFui.0
enable password xxxx
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
ip cef
!
!
no ip dhcp use vrf connected
!
!
no ip ips deny-action ips-interface
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
description $ETH-LAN$
ip address 192.168.1.250 255.255.255.0
speed auto
half-duplex
no mop enabled
!
interface FastEthernet0/1
description $ETH-LAN$
ip address 192.168.2.250 255.255.255.0
speed 10
half-duplex
!
interface Async0/0/0
no ip address
!
ip classless
!
!
ip http server
no ip http secure-server
!
snmp-server community mttc RO
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line 0/0/0
line vty 0 4
password xxxx
login
!
end

Trevor Farren
Metrotech Telecom Inc.
 
Please post ouput of show ip route and show interface
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top