各位IT人好,如標題
已爬過版上文章,相同的問題有人提問過,但可惜最佳解答已經網址失效
最近公司換了新的ISP,連線方式由PPPOE改成固I
已用小烏龜連接電腦直接設定IP,一切均正常
但若設定在Router後則連線失敗,router ping的到8.8.8.8
但用戶端卻只有微信可以使用,其他yahoo, google, 百度等等的全都不行
已請教過身邊朋友,大家看過Config都覺得設定沒問題
但就是無法連線~"~ 所以發文尋求解答
以下為configuration
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 192.168.5.254 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address xx.xx.xx.xx xx.xx.xx.xx (ISP給的IP和mask)
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface Dialer1
ip address 123.456.789.000 255.255.255.0
ip mtu 1480
ip nat outside
ip virtual-reassembly in
encapsulation ppp
ip tcp adjust-mss 1452
shutdown
dialer pool 5
dialer-group 5
ppp authentication chap pap callin
ppp chap hostname abc
ppp chap password 0 abc123
ppp pap sent-username abc password 0 abc123
no cdp enable
!
ip forward-protocol nd
!
ip http server
ip http authentication local
ip http secure-server
!
ip nat inside source list 100 interface GigabitEthernet0/1 overload
ip route 0.0.0.0 0.0.0.0 xx.xx.xx.xx (ISP給的gateway)
!
!
!
access-list 100 permit ip 192.168.0.0 0.0.0.255 any
access-list 100 permit ip 192.168.2.0 0.0.0.255 any
access-list 100 permit ip 192.168.3.0 0.0.0.255 any
access-list 100 permit ip 192.168.5.0 0.0.0.255 any
access-list 100 permit ip 192.168.7.0 0.0.0.255 any
access-list 100 permit ip 192.168.8.0 0.0.0.255 any
!
control-plane
en
config t
no interface dialer1
exit
ip dns server
ip name-server 1.1.1.1
exit
copy run start
ping www.google.com