How can I change the IP address on a Pix outside interface from a remote location?
Problem: Once I change either the IP or the default gateway I lose connectivity to the pix.
Basically is there a way to combine the IP and gateway change so that once I change it I can just have someone move a wire from the old (DSL) to the new (Cable) connection?
-Jason
Didn't find your answer? Ask the community — no account required.
A
AM
AFAIK no. Use a dial-up connection from a PC that is conected through the console cable to the PIX. Then take the control of the PIX through the dialup.
Alex.
B
briggs
Shooting from the hip here...
Add a host route or network route to the client IP address from which you are managing the PIX. Point this route through the new ISP gateway address.
This route should have no effect until the IP address change is made.
Change the interface IP
The route you added is now in effect. But the changed IP address has the effect of tearing down your management session.
Re-establish your management session.
This will use the route you have added.
Change the default gateway.
Remove the specific return route you added in step 1.
Test thoroughly before saving to NVRAM
Since you'll have someone on site to swap cables, you should be able to power cycle the equipment and recover from any missteps.
L
Lutz Donnerhacke
copy running-config tftp://...
edit config
copy tftp://... startup-config
reboot
pray
W
Walter Roberson
That's PIX 7 syntax, but there is the PIX 5/6 equivilent.
Unfortunately that step won't work with PIX 4/5/6 -- you cannot copy directly to the startup configuration, only merge into the running configuration. PIX 7 offers additional alternatives.
L
Lutz Donnerhacke
In this case: Just do it! Prepare a file with the necessary changes:
ip address outside new.add.re.ss ne.t.ma.sk no ip route 0.0.0.0 0.0.0.0 old.ga.te.way ip route 0.0.0.0 0.0.0.0 new.ga.te.way end
The "end" is important, because a TFTP loaded config is only assumed to be complete if it terminates with this word.
After the complete config is downloaded, it is applied line by line to the running config. In this way you can apply multiple commands "at once".
HTH
W
Walter Roberson
No, not in PIX 4/5/6: each command is applied as soon as it is fully read in from the tftp server. The tftp server transfers 512 bytes at a time (not adjustable -- this is a property of tftp), so you can have the commands applied as a group only if you are *sure* that they are in the same 512 byte block.
PIX 4/5/6 do no look for "end". tftp has its own mechanism to signal end-of-file: by definition in tftp, if the tftp file payload size is less than 512 then that block is the last one of the transfer.
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.