Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Router only works with even IPs?!?!

Status
Not open for further replies.

o3rat

MIS
Feb 10, 2004
10
US
i have a cisco 2600, i have:

-network = 192.168.1.0/24
-defualt gateway = 168.168.1.1

I have a DHCP running on the network, which seems to be working fine. there is also a NAT running on this network. Eveytime the DHCP issues an IP in which the last octet is odd the Host cannot exit the network (cant ping any website ei BUT when the IP issued has a last octet that is even everything works....


Here is my current config:


!
! Last configuration change at 10:01:55 UTC Thu Mar 11 2004
! NVRAM config last updated at 07:07:29 UTC Thu Mar 11 2004
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname o3Rat
!
enable secret 5 $1$M0IW$GzlOykai7oa0nY0x0XEAs.
!
ip subnet-zero
!
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.1.2
ip dhcp excluded-address 192.168.1.3
ip dhcp excluded-address 192.168.1.10
!
ip dhcp pool MSHOME
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 64.233.217.2 64.233.217.3
lease 4
!
ip audit notify log
ip audit po max-events 100
!
!
!
interface Ethernet0/0
description ROUTER to SWITCH connection
ip address 192.168.1.1 255.255.255.0
ip nat inside
half-duplex
!
interface Ethernet1/0
description LAN to WAN connection
ip address dhcp
ip nat outside
half-duplex
!
!
ip nat inside source list 102 interface Ethernet1/0 overload
ip classless
ip http server
!
access-list 102 permit ip 0.0.0.0 192.168.1.254 any
!
line con 0
password 7 0839494D1C0D0005
login
line aux 0
line vty 0 4
password 7 10560C1A10031719
login
!
end


any suggestions?
 
Your access-list say:
access-list 102 permit ip 0.0.0.0 192.168.1.254 any
try:
access-list 102 permit ip 0.0.0.0 192.168.1.255 any
You might get lucky :)
remember 254 = 11111110
and 255 = 11111111
 
BTW, the syntax for Ext.ACL's are:
access-list (list#)(permit/deny)(protocol)(source ip-range)(wildcard)(dest ip range)(wildcard)(operator)(operandor)
If you are trying to permit the net 192.168.1.0
access, shouldn't your access-list read:
access-list 102 permit ip 192.168.1.0 0.0.0.255 any ?
Or are there a special reason why
you set it up as you did?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top