ls08 发表于 2005-9-9 18:24:22

怎样设置路由器才能连上网

我有一台锐捷2624的路由器,想学习学习.现在有个校园IP地址202.192.91.115 网关:202.192.91.8。用这个IP在单个电脑上可以上网。我想把这个IP用在路由器上,然后用私有地址做个子网供电脑上网。
我这样设计的:先在Fastethernet0 设IP 202.192.91.115
在Fastethernet1上设IP 192.168.1.8
然后建立动态NAT转换
设置默认路由:0.0.0.0 0.0.0.0 202.192.91.8
请问这样设置行不行,还需要做哪些设置?
我问了一些人他们说还要在学校的路由器上做个路由:192.168.1.0 255.255.255.0 202.192.91.115 不知是不是这样,为什么?

happybear 发表于 2005-9-11 10:46:27

怎样设置路由器才能连上网

恩,可以方便共享

ls08 发表于 2005-9-12 19:35:39

怎样设置路由器才能连上网

那怎么上不了网啊
我的配置是:
ls08>en      
Password:         
ls08#show run            
Building configuration...
Current configuration:                     
!
version 6.14(2)               
!
hostname "ls08"               
!
enable secret 5 $1$e0If$x1ACDeSL9qyFINseakOWB.                                             
!
!
!
ip subnet-zero            
!
!
!
interface FastEthernet0                     
no ip address            
shutdown      
!
interface FastEthernet1                     
ip address 202.192.91.50 255.255.255.0                                       
ip nat outside               
!
interface FastEthernet2                     
ip address 192.168.0.8 255.255.255.0                                    
ip nat inside            
!
interface FastEthernet3                     
no ip address            
shutdown         
!
interface Serial0               
no ip address            
shutdown         
!
interface Serial1               
no ip address            
shutdown         
!
!
voice-port 0
!
voice-port 1
!
voice-port 2
!
voice-port 3
ip nat pool wanpool 202.192.91.51 202.192.91.51 netmask 255.255.255.0
ip nat inside source list 1 pool wanpool
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet1
access-list 1 permit 192.168.0.0 0.0.0.255
!
line con 0
line aux 0
line vty 0 4
password 9908025
login
!
end

quzhi0317 发表于 2005-9-23 14:59:58

怎样设置路由器才能连上网

挺复杂呀,能不能再解释一下
页: [1]
查看完整版本: 怎样设置路由器才能连上网