f0/0 outside
F0/1 inside
SERVER IP ADD: 192.168.1.2
int f0/0
ip add 222.242.195.14 255.255.255.0
no shu
ip nat outside
int f0/1
ip add 192.168.1.1 255.255.255.0
ip nat inside
no shu
ip nat pool mypool 222.242.192.15 222.242.195.15
ip nat inside source list 1 pool mypool overload
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat inside source static 19.168.1.2 interface f0/0
ip route 0.0.0.0 0.0.0.0 f0/0
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.1.2
ip dhcp pool mydhcppool
network 192.168.1.0 /24
dns-server 222.246.129.81 59.51.78.211
default-router 192.168.1.1
exit
wr
OK! Not understand ask me.I feel betrayed themselves ......
"其实当中有个配置是错误的,你自己想用222.242.195.14 这个地址给服务器用,但你都把它配给了f0/0的口了,还怎么用???
"
if you only one interface how to do it ? ip address pool what to do .!!!
You can try to ping 222.242.195.14 outside
Check your server!!
My test configure
ip nat pool mypool 46.46.1.3 46.46.1.3 netmask 255.255.255.0
ip nat inside source list 1 pool mypool overload
ip nat inside source static 192.168.0.100 interface FastEthernet1/0
!
access-list 1 permit 192.168.0.0 0.0.0.255
其实当中有个配置是错误的,你自己想用222.242.195.14 这个地址给服务器用,但你都把它配给了f0/0的口了,还怎么用???
具体你给一下拓扑图来,如果你采用这种NAT方式,f0/0 做外部口,f1/0做内部口的话,路由器还有其他的口么??如果没有的话,你服务器根本就不可能使用14那个地址更不可能用这中配法。