×

Loading...
Ad by
  • 技多不压身,工到自然成:安省技工证书特训班,点击咨询报名!
Ad by
  • 技多不压身,工到自然成:安省技工证书特训班,点击咨询报名!

Cisco question?

本文发表在 rolia.net 枫下论坛I have 2 network(192.168.2.0 and 192.168.3.0) connect to ethernet port of a cisco router(e0/0 192.168.2.1, e0/1 192.168.3.1).
I can ping computer b(192.168.3.2) from router.
I can ping e0/1(192.168.3.1) from computer a (192.168.2.2)
But why I can not ping computer b from computer a.

Please see the following configuration for your reference.
thanks,

version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 2611
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$/2MI$k5MySw0QnA3NhznBi1EDs1
enable password jhgjhg
!
no network-clock-participate slot 1
no network-clock-participate wic 0
no aaa new-model
ip subnet-zero
no ip routing
no ip cef
no ftp-server write-enable
!
interface FastEthernet0/1
ip address 192.168.3.1 255.255.255.0
no ip route-cache
speed auto
half-duplex
no cdp enable
no mop enabled
!
interface FastEthernet0/0
ip address 192.168.2.1 255.255.255.0
no ip route-cache
speed auto
half-duplex
no cdp enable
no mop enabled
!
ip classless
ip http server
!
snmp-server community public RO
snmp-server enable traps tty
!
line con 0
exec-timeout 0 0
line aux 0
line vty 0 4
password
login
!
end更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report

Replies, comments and Discussions:

  • 工作学习 / IT技术讨论 / Cisco question?
    本文发表在 rolia.net 枫下论坛I have 2 network(192.168.2.0 and 192.168.3.0) connect to ethernet port of a cisco router(e0/0 192.168.2.1, e0/1 192.168.3.1).
    I can ping computer b(192.168.3.2) from router.
    I can ping e0/1(192.168.3.1) from computer a (192.168.2.2)
    But why I can not ping computer b from computer a.

    Please see the following configuration for your reference.
    thanks,

    version 12.3
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    !
    hostname 2611
    !
    boot-start-marker
    boot-end-marker
    !
    enable secret 5 $1$/2MI$k5MySw0QnA3NhznBi1EDs1
    enable password jhgjhg
    !
    no network-clock-participate slot 1
    no network-clock-participate wic 0
    no aaa new-model
    ip subnet-zero
    no ip routing
    no ip cef
    no ftp-server write-enable
    !
    interface FastEthernet0/1
    ip address 192.168.3.1 255.255.255.0
    no ip route-cache
    speed auto
    half-duplex
    no cdp enable
    no mop enabled
    !
    interface FastEthernet0/0
    ip address 192.168.2.1 255.255.255.0
    no ip route-cache
    speed auto
    half-duplex
    no cdp enable
    no mop enabled
    !
    ip classless
    ip http server
    !
    snmp-server community public RO
    snmp-server enable traps tty
    !
    line con 0
    exec-timeout 0 0
    line aux 0
    line vty 0 4
    password
    login
    !
    end更多精彩文章及讨论,请光临枫下论坛 rolia.net
    • nothing wrong with the configuration of cisco router.. you need configure your host a,b
      say, let "host a" knows , if distination of packet belongs to b network ,it should go spicific goes to ethernet port which connect to cisco router.
      otherwise you "host a" drop the packet before it is sent out.
      • thanks for your reply. I already set the default gateway of host a(192.168.2.2) to 192.168.2.1(e0/0) and can ping e0/1(192.168.3.1), but can not ping host b (192.168.3.2).
        • did you set default gateway of host b? if not , the reply packet will be dropped.
          • I'll give a try. thanks.
            • enable ip routing