My bloody ISP has gone and broken my setup and being only a bi-occasional IOS hack I've exhausted my alternatives.
I have a 1605R.
I have 5 static IPs from the ISP and previously I used the first as primary and the rest as secondaries for linking several inside services to the outside (eg. 3 different ftp servers that I want assessable from the outside):
interface Ethernet0 description connected to ADSL ip address xxx.xxx.207.104 255.255.248.0 secondary ip address xxx.xxx.207.105 255.255.248.0 secondary ip address xxx.xxx.207.106 255.255.248.0 secondary ip address xxx.xxx.207.107 255.255.248.0 secondary ip address xxx.xxx.207.103 255.255.248.0 ip access-group 101 in ip nat outside
Now the ISP has change something whereby things will not route unless you request your static IP via DHCP (it is mapped by registering the MAC address of the interface). So basically I have to change the above to:
interface Ethernet0 description connected to ADSL ip address dhcp ip access-group 101 in ip nat outside
ip route 0.0.0.0 0.0.0.0 xxx.xxx.200.1
Everything on the xxx.xxx.200.103 then works fine and 90% of things work as they used to. However without the secondaries I loose things like having outside access to other ftp and web servers mapped like these examples:
ip nat inside source static tcp 172.16.0.4 21 xxx.xxx.207.105 21 extendable ip nat inside source static tcp 172.16.0.4 20 xxx.xxx.207.105 20 extendable ip nat inside source static tcp 172.16.0.10 80 xxx.xxx.207.105 80 extendable
Now there may be some way to fix/kludge this with static routes and/or playing around with arp but I can't get it to work. I also suspect I need to tweak the rip settings since without the secondary entries on the interface I loose automatic advertising and setting Ethernet0 to passive may not work. This is my current rip section:
router rip version 2 passive-interface Ethernet0 network 172.16.0.0 no auto-summary
Thanks for any help!