基本情况:R1上做pat是内网都能访问外网,做nat轮询使外网访问server1 server2时轮询,同时R1上做单臂路由,内网有两个vlan,分别vlan10,vlan20。 问题描述:内网pc能通过pat正常访问外网,但外网就是不能通过轮询机制访问内网服务器。 详细配置如下: R1#sh run
Building configuration... Current configuration : 1307 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 12.1.1.1 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/0.10
!
interface FastEthernet0/0.20
!
interface FastEthernet1/0
no ip address
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet1/0.10
encapsulation dot1Q 10
ip address 10.10.10.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet1/0.20
encapsulation dot1Q 20
ip address 10.10.20.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 12.1.1.2
!
ip nat pool server 10.10.20.1 10.10.20.2 netmask 255.255.255.0 type rotary
ip nat inside source list 1 interface FastEthernet0/0 overload
ip nat inside destination list 2 pool server
!
access-list 1 permit 10.10.0.0 0.0.255.255
access-list 2 permit 12.1.1.3
!
!
control-plane
该贴已经同步到 1081302221的微博 |