遇到点问题 抽空 gns3 模拟下 有做过的朋友 给小弟看下 谢谢了
CISCO 推荐 用2跟线做 主备交换
下面配置 改了下用 当 LAN 注意
Primary PIX
主设备
interface Ethernet0/0
no sh
!
interface Ethernet0/0.1
vlan 2
!
interface Ethernet0/0.2
vlan 4
!
interface Ethernet0/1
!
interface Ethernet0/1.1
vlan 3
!
interface Ethernet0/1.2
vlan 5
interface Ethernet0/2
no sh
failover lan unit primary
failover lan interface lanfo Ethernet0/2
failover link lanfo Ethernet0/2
failover key net
failover interface ip lanfo 1.1.1.1 255.255.255.0 standby 1.1.1.2
failover group 1
primary
preempt
failover group 2
secondary
preempt
admin-context admin
context admin
config-url flash:/admin.cfg
!
context context1
allocate-interface Ethernet0/0.1
allocate-interface Ethernet0/1.1
config-url flash:/context1.cfg
join-failover-group 1
!
context context2
allocate-interface Ethernet0/0.2
allocate-interface Ethernet0/1.2
config-url flash:/context2.cfg
join-failover-group 2
然后是 2个 context
context1
interface Ethernet0/0.1
nameif inside
security-level 100
no sh
!--- Configure the active and standby IP's for the logical inside
!--- interface of the context1.
ip address 192.168.1.1 255.255.255.0 standby 192.168.1.2
!
interface Ethernet0/1.1
nameif outside
security-level 0
no sh
!--- Configure the active and standby IP's for the logical outside
!--- interface of the context1.
ip address 172.16.1.1 255.255.255.0 standby 172.16.1.2
context 2
interface Ethernet0/0.2
nameif inside
security-level 100
no sh
!--- Configure the active and standby IP's for the logical inside
!--- interface of the context2.
ip address 192.168.2.1 255.255.255.0 standby 192.168.2.2
!
interface Ethernet0/1.2
nameif outside
security-level 0
!--- Configure the active and standby IP's for the logical outside
!--- interface of the context2.
ip address 172.16.2.1 255.255.255.0 standby 172.16.2.2
!
no sh
failover lan unit sec
failover lan interface lanfo Ethernet0/2
failover link lanfo Ethernet0/2
failover key net
failover interface ip lanfo 1.1.1.1 255.255.255.0 standby 1.1.1.2
failover group 1
primary
preempt
failover group 2
secondary
preempt