成功配置pix525通过adsl-pppoe上internet的经验,与各位分享 希望对大家有点帮助。 环境:pix525一台,标准配置,软件版本6.2。下端接了一台3550-12g。pix e0口通过猫接2M的adsl线路 pix配置如下: PIX Version 6.2(2) nameif ethernet0 outside security0 nameif ethernet1 inside security100 enable password 8Ry2YjIyt7RRXU24 encrypted passwd 2KFQnbNIdI.2KYOU encrypted hostname pix525 fixup protocol ftp 21 fixup protocol http 80 fixup protocol h323 h225 1720 fixup protocol h323 ras 1718-1719 fixup protocol ils 389 fixup protocol rsh 514 fixup protocol rtsp 554 fixup protocol smtp 25 fixup protocol sqlnet 1521 fixup protocol sip 5060 fixup protocol skinny 2000 names pager lines 24 interface ethernet0 auto interface ethernet1 auto mtu outside 1500 虽然这里还是1500,但我用show查看e0,它的mtu自动变为1492 mtu inside 1500 ip address outside pppoe setroute ip address inside 10.249.178.2 255.255.254.0 ip audit info action alarm ip audit attack action alarm no failover failover timeout 0:00:00 failover poll 15 failover ip address outside 0.0.0.0 failover ip address inside 0.0.0.0 pdm history enable arp timeout 14400 global (outside) 1 interface 这两句是做nat nat (inside) 1 0.0.0.0 0.0.0.0 0 0 route inside 10.249.0.0 255.255.0.0 10.249.178.254 1 timeout xlate 3:00:00 timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 0:05:00 si p 0:30:00 sip_media 0:02:00 timeout uauth 0:05:00 absolute aaa-server TACACS+ protocol tacacs+ aaa-server RADIUS protocol radius aaa-server LOCAL protocol local no snmp-server location no snmp-server contact snmp-server community public no snmp-server enable traps floodguard enable no sysopt route dnat telnet 10.249.178.0 255.255.254.0 inside telnet timeout 5 ssh timeout 5 vpdn group pppoex request dialout pppoe vpdn group pppoex localname ××××××××× ---这里是isp给的登陆帐号,不能随便写哦~~ vpdn group pppoex ppp authentication pap vpdn username ×××××× password ********* terminal width 80 Cryptochecksum:06508dbabd51c6745ef84d1567eb34cf : end |