設備是1721+2個1ENET
我做了以下配置
sh run
Building configuration...
Current configuration : 1358 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable password ***
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
no ip dhcp use vrf connected
!
ip cef
!
!
!
!
interface Ethernet0
description to dianxing
ip address 219.148.*.* 255.255.255.240
ip nat outside
ip virtual-reassembly
half-duplex
!
interface Ethernet1
description to wangtong
ip address 218.12.*.* 255.255.255.0
ip nat outside
ip virtual-reassembly
half-duplex
!
interface FastEthernet0
ip address 164.4.248.3 255.255.0.0
ip nat inside
ip virtual-reassembly
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 218.12.*.*
no ip http server
!
ip nat inside source list 1 interface Ethernet1 overload
ip nat inside source static 164.4.248.30 interface Ethernet0
ip nat inside source static 164.4.248.1 interface Ethernet1
ip nat inside source static tcp 164.4.248.3 23 interface Ethernet1 23
!
access-list 1 permit any
access-list 100 permit ip host 164.4.248.1 222.222.127.0 0.0.0.255
access-list 100 permit ip host 164.4.248.30 222.222.127.0 0.0.0.255
route-map dx permit 10
match ip address 100
set ip next-hop 219.148.*.*
!
!
control-plane
!
line con 0
line aux 0
line vty 0 4
password ***
login
!
warm-reboot
end
Router#
問題:用電信IP地址無法訪問服務器,網通訪問,但在內部使用時有多個服務功能不能使用,懷疑跟域名有關(因為在DNS解析回來的IP地址為內部IP地址時不會重新發到服務器上)
望達人給個解答!
