[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cisco 1600 routing problem



Hi,

I am seting up a router (ROUTER1, see picture below) to go to the internet 
via ROUTER2
For security raison, i change public adresses to private one.
All thing seem  ok if i am connected on  ROUTER1.
I can do a ping on 192.168.0.2 , and idem for  ping www.yahoo.fr
The problem is when i want to do a ping from a computer on LAN1, taking 
ROUTER1 as gateway .
# ping 172.16.0.254  OK
# ping   192.168.0.2  OK
# ping 192.168.0.1 is not OK (entry point of the second router)
# traceroute 192.168.0.1
traceroute to 192.168.0.1 (192.168.0.1 ), 30 hops max, 38 byte packets
  1  fw  (|172.16.0.254)  4.098 ms *  2.046 ms
  2 *
  3 * etc ....

I gather a lot of docs on the net, and all thing seem Ok to me, but i am
sure i am doing something wrong.
Please help.


----------------
                                          ___________________ 
__________________________
                                          |            ROUTER1 
|              |                   ROUTER2      (myISP)   |
----- LAN1-172.16.0.0-- |172.16.0.254    192.168.0.2 |---------- | 
192.168.0.2                 172.16.1.254  | ------- NET
                                          |___________________| 
|__________________________|
-----------------

# show ip route
.......
Gateway of last resort is 192.168.0.1 to network 0.0.0.0

      192.168.0.0/30 is subnetted, 1 subnets
C       192.168.0.0 is directly connected, Serial0
      172.16.0.0/24 is subnetted, 1 subnets
C       172.16.0.0 is directly connected, Ethernet0
S*   0.0.0.0/0 [1/0] via 192.168.0.1

---------------------------------
# show conf

Using 1017 out of 7506 bytes
!
version 12.0
!
hostname missioneco
!
enable secret 5 XXXXXXX
enable password XXXX
!
ip subnet-zero
ip name-server 206.82.130.195
!
interface Ethernet0
  ip address 172.16.0.254 255.255.255.0
  ip directed-broadcast
!
interface Serial0
  ip address 192.168.0.2 255.255.255.252
  ip directed-broadcast
  no fair-queue
!
router rip
  redistribute static
  network 192.168.0.0
  network 172.16.0.0
  no auto-summary
!
ip default-gateway 192.168.0.1
ip classless
ip route 0.0.0.0 0.0.0.0  192.168.0.1
!
end
-------------------



-----
This is the afnog mailing list, managed by Majordomo 1.94.5

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org