企业三层架构配置实例
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
企业三层架构配置实例作者:救世主220
实验日期:2015.6.15
实验拓扑如下:
ISP router3配置:
Router#show run
Building configuration...
hostname Router
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
ip address 100.1.1.10 255.255.255.0
duplex auto
speed auto
router2配置:
Router#show run
Building configuration...
Current configuration : 979 bytes
!
version 12.4
no service timestamps log datetimemsec
no service timestamps debug datetimemsec no service password-encryption
!
hostname Router
!
interface FastEthernet0/0
ip address 100.1.1.1 255.255.255.0
ipnat outside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.0.1.1 255.255.255.0 ipnat inside
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 10.0.2.1 255.255.255.0 ipnat inside
duplex auto
speed auto
!
routerospf 110
router-id 1.1.1.1
log-adjacency-changes
network 10.0.0.0 0.255.255.255 area 0 default-information originate
!
ipnat inside source list 1 interface FastEthernet0/0 overload ip route 0.0.0.0 0.0.0.0 100.1.1.10
!
access-list 1 permit 10.0.0.0 0.255.255.255
!
Router1配置:
Router#show run
Building configuration...
Current configuration : 835 bytes
!
version 12.4
no service timestamps log datetimemsec
no service timestamps debug datetimemsec
no service password-encryption
!
hostname Router
!
interface FastEthernet0/0
ip address 10.0.2.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.0.6.2 255.255.255.0 duplex auto
speed auto
!
interface FastEthernet1/0
ip address 10.0.4.2 255.255.255.0 duplex auto
speed auto
!
routerospf 110
router-id 3.3.3.3
log-adjacency-changes
network 10.0.0.0 0.255.255.255 area 0 !
Router0配置:
Router#show run
Building configuration...
Current configuration : 757 bytes
!
version 12.4
no service timestamps log datetimemsec
no service timestamps debug datetimemsec no service password-encryption
!
hostname Router
!
interface FastEthernet0/0
ip address 10.0.1.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.0.3.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 10.0.5.2 255.255.255.0
duplex auto