51CTO技术论坛_中国领先的IT技术社区's Archiver

danni505 发表于 2006-8-26 23:37

成功配置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
[u]mtu outside 1500[/u] 虽然这里还是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
[u]global (outside) 1 interface[/u] 这两句是做nat
[u]nat (inside) 1 0.0.0.0 0.0.0.0 0 0[/u]
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 [u]×××××××××[/u] ---这里是isp给的登陆帐号,不能随便写哦~~
vpdn group pppoex ppp authentication pap
vpdn username ×××××× password *********
terminal width 80
Cryptochecksum:06508dbabd51c6745ef84d1567eb34cf
: end

tj_jinming 发表于 2006-9-20 14:09

非常好

best1286 发表于 2006-9-22 11:22

学习一下,谢谢

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.