02-25-2019 01:13 AM - edited 02-25-2019 01:16 AM
!
!
!
ip dhcp excluded-address 192.168.0.1 192.168.0.10
!
ip dhcp pool LAN FAB1 DHCP
network 192.168.0.0 255.255.255.0
default-router 192.168.0.1
dns-server 1.1.1.1 1.0.0.1
lease 7
!
!
!
no ip domain lookup
ip domain name yourdomain.com
ip cef
no ipv6 cef
!
!
license udi pid CISCO881-K9 sn FCZ173691FR
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface FastEthernet4
description TVBACO FIBRA 20M
ip address 192.168.100.77 255.255.255.0
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface Vlan1
description LAN FAB1
ip address 192.168.0.1 255.255.255.0
ip nat inside
--More--
*Feb 25 08:33:37.527: %LINK-3-UPDOWN: Interface FastEthernet3, changed state to up
*Feb 25 08:33:38.527: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et3, changed s ip virtual-reassembly in
--More--
*Feb 25 08:34:06.547: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, cha nged s ip tcp adjust-mss 1452
!
ip forward-protocol nd
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip dns server
ip nat inside source list 1 interface FastEthernet4 overload
ip route 0.0.0.0 0.0.0.0 192.168.100.1
!
access-list 1 permit 0.0.0.0 255.255.255.0
access-list 23 permit 10.10.10.0 0.0.0.7
no cdp run
!
snmp-server community public RO
!
......................
Solved! Go to Solution.
02-25-2019 01:21 AM
Hello,
your access list 1 doesn't look right. Delete access list 1 and recreate is as below:
--> no access-list 1
--> access-list 1 permit 192.168.0.0 0.0.0.255
02-25-2019 12:04 PM
Richard,
I was trying to figure out how the 'weird' access list got in there, your suggestion made me enter:
access-list 1 permit 192.168.1.0 255.255.255.0
and voila, the running config displays this as:
access-list 1 permit 0.0.0.0 255.255.255.0
Thanks for the hint !
02-25-2019 12:08 PM
Hello
Just like to add regards the port mode for the FA interfaces -
Its possible they could default to dynamic auto (dtp) if thats the case then suggest manually put them in access mode.
example:
int fa0
switchport
switchport mode access
spanning-tree portfast
02-25-2019 01:21 AM
Hello,
your access list 1 doesn't look right. Delete access list 1 and recreate is as below:
--> no access-list 1
--> access-list 1 permit 192.168.0.0 0.0.0.255
02-26-2019 01:10 AM
02-25-2019 01:30 AM
Hi,
There is a wrong IP access list 1 assigned:
Changes as below:
config t
!
no access-list 1 permit 0.0.0.0 255.255.255.0
!
access-list 1 permit 192.168.0.0 255.255.255.0
Regards,
Deepak Kumar
02-25-2019 08:45 AM
The mask of 255.255.255.0 is probably how the original poster created the problem. This is appropriate for a subnet mask. But IOS ACL uses wildcard mask. In the wildcard mask 255 means match any value. You are trying to get a match on 192.168.0 but since the mask says match anything IOS will put the address in the config as 0.0.0.
The version suggested by Georg is correct.
HTH
Rick
02-25-2019 12:04 PM
Richard,
I was trying to figure out how the 'weird' access list got in there, your suggestion made me enter:
access-list 1 permit 192.168.1.0 255.255.255.0
and voila, the running config displays this as:
access-list 1 permit 0.0.0.0 255.255.255.0
Thanks for the hint !
02-26-2019 09:38 AM
02-25-2019 12:08 PM
Hello
Just like to add regards the port mode for the FA interfaces -
Its possible they could default to dynamic auto (dtp) if thats the case then suggest manually put them in access mode.
example:
int fa0
switchport
switchport mode access
spanning-tree portfast
02-26-2019 01:10 AM
worked thank you very much for the help ,,,
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: