06-25-2004 06:29 AM - edited 03-02-2019 04:37 PM
I've inherited a network that includes a cisco 2501. One of the server ip's has changed from 192.168.0.1 to 192.168.0.2 and I need to edit the nat-pool to get emails from outside the network. I can't figure out how to edit lines in the router.
Can someone tell me what are the specific command lines to edit an entry in the nat-pool highlighted by the "<<<<< EDIT" marker.
Building configuration...
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Router
!
enable password 7 071828405A0617544742
!
ip subnet-zero
ip name-server 141.151.0.68
!
!
!
interface Ethernet0
description connected to VCF
ip address 192.168.0.6 255.255.255.128
ip helper-address 192.168.0.1 <<<<< EDIT
no ip directed-broadcast
ip nat inside
!
interface Serial0
description connected to Point-to-Point Philadelphia 11/HCGS/276573//DS
ip address 141.151.50.190 255.255.255.252
no ip directed-broadcast
ip nat outside
!
interface Serial1
description connected to bibleschool
ip address 192.168.1.1 255.255.255.252
no ip directed-broadcast
ip nat inside
!
router rip
version 2
passive-interface Serial0
network 192.168.0.0
network 192.168.1.0
no auto-summary
!
ip nat pool GWWM-natpool-1 141.151.33.13 141.151.33.14 netmask 255.255.255.240
ip nat inside source list 1 pool GWWM-natpool-1 overload
ip nat inside source static 192.168.0.112 141.151.33.3
ip nat inside source static 192.168.0.6 141.151.33.1
ip nat inside source static 192.168.0.1 141.151.33.2 <<<<< EDIT
ip nat inside source static 192.168.0.8 141.151.33.6
ip nat inside source static 192.168.0.12 141.151.33.12
ip nat inside source static 192.168.0.7 141.151.33.5
ip nat inside source static 192.168.0.14 141.151.33.7
ip nat inside source static 192.168.0.16 141.151.33.8
ip nat inside source static 192.168.0.130 141.151.33.9
ip nat inside source static 192.168.0.10 141.151.33.11
ip classless
ip forward-protocol udp 135
ip route 0.0.0.0 0.0.0.0 Serial0
!
access-list 1 permit 192.168.0.0 0.0.0.127
access-list 1 permit 192.168.1.0 0.0.0.3
access-list 1 permit 192.168.0.128 0.0.0.15
snmp-server community public RO
!
line con 0
exec-timeout 0 0
password 7 13061F07190F0C
login
transport input none
line aux 0
line vty 0 4
password 7 01100E1149080E
login
!
end
06-25-2004 07:28 AM
no ip nat inside source static 192.168.0.1 141.151.33.2
ip nat inside source static 192.168.0.2 141.151.33.2
clear ip nat translation * (just to make sure it takes effect)
06-26-2004 05:48 AM
o.k. *but how* do I enter/commit these command lines into the 2501's memory. I think this is missing quite a few steps. Can someone elaborate. I'm kind of looking for a step-by-step here..
06-27-2004 08:45 PM
hi
enable
conf t
no ip nat inside source static 192.168.0.1 141.151.33.2
ip nat inside source static 192.168.0.2 141.151.33.2
exit
clear ip nat trans
wr mem
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