par slayer » 17 Oct 2003 17:12
oui g bien ouvert les ports UDP/67 et UDP/68 pour le DHCP (il y en a d'autre pt etre a ouvrir ?)
<BR>
<BR>
<BR>un extrait de la config :
<BR>
<BR>[...]
<BR>fixup protocol ftp 21
<BR>fixup protocol http 80
<BR>fixup protocol h323 1720
<BR>fixup protocol rsh 514
<BR>fixup protocol rtsp 554
<BR>fixup protocol smtp 25
<BR>fixup protocol sqlnet 1521
<BR>fixup protocol sip 5060
<BR>fixup protocol skinny 2000
<BR>names
<BR>access-list acl-1 permit tcp any any eq www
<BR>access-list acl-1 permit udp any any eq domain
<BR>access-list acl-1 permit tcp any any eq pop3
<BR>access-list acl-1 permit tcp any any eq smtp
<BR>access-list acl-1 deny ip any any
<BR>access-list acl-2 permit icmp any any echo-reply
<BR>access-list acl-2 permit udp any any eq 67
<BR>access-list acl-2 permit udp any any eq 68
<BR>access-list acl-vpn-nomade permit ip 172.16.0.0 255.255.0.0 172.20.0.0 255.255.0.0
<BR>pager lines 24
<BR>interface ethernet0 auto
<BR>interface ethernet1 auto
<BR>mtu outside 1500
<BR>mtu inside 1500
<BR>ip address outside 192.168.0.1 255.255.255.0
<BR>ip address inside 172.16.0.1 255.255.0.0
<BR>ip audit info action alarm
<BR>ip audit attack action alarm
<BR>ip local pool ip-pool 172.20.0.1-172.20.0.254
<BR>pdm location 172.16.0.1 255.255.255.255 inside
<BR>pdm history enable
<BR>arp timeout 14400
<BR>global (outside) 1 interface
<BR>nat (inside) 0 access-list acl-vpn-nomade
<BR>nat (inside) 1 0.0.0.0 0.0.0.0 0 0
<BR>access-group acl-2 in interface outside
<BR>access-group acl-1 in interface inside
<BR>route outside 0.0.0.0 0.0.0.0 192.168.0.254 1
<BR>[...]
<BR>
<BR>
<BR>
<BR>donc qd je fais : ip address outside dhcp
<BR>
<BR>j'obtient les messages suivant :
<BR>[..........]
<BR>DHCP Offer Message Offered Address: 62.212.X.X
<BR>DHCP: Lease Seconds: 60
<BR>DHCP: Server ID Option: 192.168.0.254
<BR>DHCP Overflow into: file sname....
<BR>DHCP: QScan: Purging entry
<BR>DHCP: Scan: Message type: DHCP Offer
<BR>DHCP: Scan: Server ID Option: 192.168.0.254 = FE00A8C0
<BR>DHCP: Scan: Subnet Address Option: 255.255.255.0
<BR>DHCP: Scan: Lease Time: 60
<BR>DHCP: Scan: Overflow into: file sname
<BR>DHCP: Scan: DNS Name Server Option: 62.4.16.70, 62.4.17.69
<BR>DHCP: Scan: Router Address Option: 62.212.X.X
<BR>DHCP: rcvd pkt source: 192.168.0.254, destination: 255.255.255.255
<BR> UDP sport: 67, dport: 68, length: 556
<BR> DHCP op: 0x2, htype: 0x1, hlen: 6, hops: 0
<BR> DHCP server identifier: 192.168.0.254
<BR> xid: 0x893AC, secs: 0, flags: 0x80
<BR> client: 0.0.0.0, your: 62.212.X.X
<BR> srvr: 0.0.0.0, gw: 0.0.0.0
<BR> options block length: 308
<BR>
<BR>DHCP Offer Message Offered Address: 62.212.X.X
<BR>DHCP: Lease Seconds: 60
<BR>DHCP: Server ID Option: 192.168.0.254
<BR>DHCP Overflow into: file sname
<BR>DHCP: Scan: Message type: DHCP Offer
<BR>DHCP: Scan: Server ID Option: 192.168.0.254 = FE00A8C0
<BR>DHCP: Scan: Subnet Address Option: 255.255.255.0
<BR>DHCP: Scan: Lease Time: 60
<BR>DHCP: Scan: Overflow into: file sname
<BR>DHCP: Scan: DNS Name Server Option: 62.4.16.70, 62.4.17.69
<BR>DHCP: Scan: Router Address Option: 62.212.X.X
<BR>DHCP: rcvd pkt source: 192.168.0.254, destination: 255.255.255.255
<BR> UDP sport: 67, dport: 68, length: 556
<BR> DHCP op: 0x2, htype: 0x1, hlen: 6, hops: 0
<BR> DHCP server identifier: 192.168.0.254
<BR> xid: 0x893AC, secs: 0, flags: 0x80
<BR> client: 0.0.0.0, your: 62.212.X.X
<BR> srvr: 0.0.0.0, gw: 0.0.0.0
<BR> options block length: 308
<BR>
<BR>DHCP Offer Message Offered Address: 62.212.X.X
<BR>DHCP: Lease Seconds: 60
<BR>DHCP: Server ID Option: 192.168.0.254
<BR>DHCP Overflow into: file sname
<BR>DHCP: QScan: Timed out Selecting state
<BR>DHCP command failed
<BR>pix(config)# ip address outside dhcp
<BR>DHCP: QScan: Purging entryno debug dhcpc detail
<BR>pix(config)# no ip address outside dhcp
<BR>pix(config)# ....................
<BR>DHCP command failed
<BR>[............]
<BR>
<BR>
<BR>merci de te pencher sur mon pb !