目前在使用的是專線, cisco 1841.
從外面可以連至router,並可在router裡ping 內網ip,gateway等等
從內網pc可以ping wan的ip(203.121.26.130), 但沒辦法ping到gateway-203.121.26.129.
請各位大大幫忙看看以下設定是否正確
謝謝
----------------------------------------------
Building configuration...
Current configuration : 1650 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname mywebfon
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
enable secret 5 11111111111111111111111
enable password 7 11111111111111111111111
!
no aaa new-model
no ip source-route
!
!
ip dhcp excluded-address 192.168.10.0 192.168.10.34
ip dhcp excluded-address 192.168.10.131 192.168.10.255
!
ip dhcp pool mypool
network 192.168.10.0 255.255.255.0
dns-server 203.121.16.85 8.8.8.8 8.8.4.4
default-router 192.168.10.1
!
!
no ip cef
ip name-server 203.121.16.85
ip name-server 8.8.8.8
ip name-server 8.8.4.4
multilink bundle-name authenticated
!
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
interface FastEthernet0/0
description *** WAN interface ***
ip address 203.121.26.130 255.255.255.252
duplex auto
speed auto
no cdp enable
!
interface FastEthernet0/1
description *** LAN interface ***
ip address 192.168.10.1 255.255.255.0
duplex auto
speed auto
no cdp enable
!
interface Serial0/0/0
no ip address
shutdown
no fair-queue
clock rate 2000000
!
router rip
version 2
network 192.168.10.0
network 203.121.26.0
!
ip default-gateway 203.121.26.129
no ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 203.121.26.129
ip route 192.168.10.0 255.255.255.0 FastEthernet0/1
!
no ip http server
no ip http secure-server
!
ip ospf name-lookup
!
!
!
control-plane
!
!
line con 0
password 7 11111111111111111111111
logging synchronous
length 0
line aux 0
line vty 0 4
password 7 11111111111111111111111
logging synchronous
login
!
scheduler allocate 20000 1000
end
書籤