08-24-2006 07:19 PM - edited 03-03-2019 01:45 PM
Hi All
I am pulling the little hair i have left on my scalp as I can not seem to telnet my webserver publicy on port 80 although I believe i have set it up properly in ios.
here are the debug nat statements:
00:47:27: NAT: o: tcp (x.x.250.234, 59591) -> (x.x.245.114, 80) [36948]
00:47:27: NAT: s=x.x.250.234, d=x.x.245.114->192.168.100.10 [36948]
00:47:30: NAT: o: tcp (x.x.250.234, 59591) -> (x.x.245.114, 80) [36949]
00:47:30: NAT: s=x.x.250.234, d=x.x.245.114->192.168.100.10 [36949]
00:47:36: NAT: o: tcp (x.x.250.234, 59591) -> (x.x.245.114, 80) [36950]
00:47:36: NAT: s=x.x.250.234, d=x.x.245.114->192.168.100.10 [36950]
00:47:48: NAT: o: tcp (x.x.250.234, 59591) -> (x.x.245.114, 80) [36951]
00:47:48: NAT: s=x.x.250.234, d=x.x.245.114->192.168.100.10 [36951]
00:47:55: NAT: expiring x.x.245.114 (192.168.100.10) tcp 80 (80)
and here is my config:
router#show running-config
Building configuration...
Current configuration : 1229 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname router
!
enable secret xxx
!
username admin password xxx
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
no ip domain-lookup
ip name-server x.x.254.240
ip name-server x.x.254.241
!
!
bridge irb
!
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
ip nat inside
no keepalive
hold-queue 100 out
!
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 8/35
encapsulation aal5snap
!
bundle-enable
dsl operating-mode auto
bridge-group 1
hold-queue 224 in
!
interface BVI1
ip address x.x.245.114 255.255.255.252
ip nat outside
!
ip nat inside source list 1 interface BVI1 overload
ip nat inside source static tcp 192.168.100.10 80 x.x.245.114 80 extendable
ip classless
ip route 0.0.0.0 0.0.0.0 x.x.245.113
no ip http server
!
!
access-list 1 permit 192.168.1.0 0.0.0.255
bridge 1 protocol ieee
bridge 1 route ip
!
line con 0
exec-timeout 120 0
logging synchronous
login local
stopbits 1
line vty 0 4
exec-timeout 120 0
login local
!
scheduler max-task-time 5000
end
router#
---------
Any help would be greatly appreciated =)
Thanks anyway
Dom
Solved! Go to Solution.
08-24-2006 08:31 PM
Hi,
Your inside interface ethernet0 is having ip address of 192.168.1.1/24.
But your static nat says 192.168.100.10 natted to the public.. check this out.
where is this ip 192.168.100.10 located.??
-VJ
08-24-2006 08:31 PM
Hi,
Your inside interface ethernet0 is having ip address of 192.168.1.1/24.
But your static nat says 192.168.100.10 natted to the public.. check this out.
where is this ip 192.168.100.10 located.??
-VJ
08-24-2006 08:48 PM
VJ You are a champion
I am a eeeeeediot =)
I feel very silly
thanks i changed nat to right address and i can telnet to 80 publicy
08-24-2006 08:51 PM
Hi,
Glad that the issue is resolved.
Never mind.. It happens to everyone once in a while :-)
-VJ
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide