Ciao a tutti,
E' possibile implementare DHCP su di un interfaccia che ha un indirizzo ip ed un ip secondario?O posso usare un'altra interfaccia disponibile sul router per questo scopo?
Ecco qui la configurazione..
version 12.4
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname pippo
!
boot-start-marker
boot-end-marker
!
enable secret
enable password
!
no aaa new-model
!
resource policy
!
!
!
ip cef
!
!
!
!
!
!
!
!
interface Loopback0
description Loopback di NAT
ip address 2XX.XXX.X.XXX 255.255.255.255
!
interface Ethernet0
ip address 10.10.10.1 255.255.255.0 secondary
ip address 6X.XXX.XXX.XXX 255.255.255.248
ip nat inside
ip virtual-reassembly
hold-queue 100 out
!
interface Ethernet2
no ip address
shutdown
hold-queue 100 out
!
interface ATM0
no ip address
no atm auto-configuration
no atm ilmi-keepalive
no atm address-registration
no atm ilmi-enable
dsl operating-mode auto
hold-queue 224 in
!
interface ATM0.35 point-to-point
ip address 2XX.XXX.XXX.XX6 255.255.255.252
ip nat outside
ip virtual-reassembly
no snmp trap link-status
pvc 8/35
oam-pvc manage
encapsulation aal5snap
!
!
interface FastEthernet1
duplex auto
speed auto
!
interface FastEthernet2
shutdown
duplex auto
speed auto
no keepalive
!
interface FastEthernet3
shutdown
duplex auto
speed auto
no keepalive
!
interface FastEthernet4
shutdown
duplex auto
speed auto
no keepalive
!
ip route 0.0.0.0 0.0.0.0 ATM0.35
no ip http server
no ip http secure-server
!
no ip nat service sip tcp port 5060
no ip nat service sip udp port 5060
ip nat inside source list 101 interface Loopback0 overload
!
access-list 101 permit ip 10.10.10.0 0.0.0.255 any
!
control-plane
!
!
line con 0
exec-timeout 120 0
password
login
no modem enable
stopbits 1
line aux 0
line vty 0 4
exec-timeout 120 0
password 7
login
length 0
!
scheduler max-task-time 5000
end
Ciao e grazie a tutti.
DHCP su 837 con ip secondary
Moderatore: Federico.Lagni