我有个题目想请教各位高人~路由器的S0端口与外部网络相连,IP地址:219.138.208.67 掩码:255.255.255.248 网关为:219.138.208.65 路由器的E0端口与交换机相连,网内电脑再与交换机相连,我想问问看下面的配置对还是不对,不对还希望高人能帮我指点出来~谢谢拉~
ip nat pool c2501 219.138.208.67 219.138.208.67 255.255.255.0
ip nat inside source list 1 pool c2501 overload
interface e0
ip address 219.138.208.65 255.255.255.248
ip nat inside
!
interface s0
ip address 219.138.208.67 255.255.255.248
ip nat outside
no ip mroute-cache
bandwidth 2000
no fair-queue
clockrate 2000000
!
ip route 0.0.0.0 0.0.0.0 219.138.208.67
access-list 1 source 192.168.0.0 255.255.255.0
dynamic nat
!
line console 0
exec-timeout 0 0
!
line vty 0 4
end
[此贴子已经被作者于2004-6-2 23:03:22编辑过]
|