default route on pix 506e

Answered Question
Nov 5th, 2008
User Badges:

Can u help me with a default route when my pix already has ip address outside dhcp set route command in which pulls add from dhcp and when i tried adding anotehr static route ,, it says possible conflict as i have that one ,,

Correct Answer by Jon Marshall about 8 years 8 months ago

Sorry my last post was a little misleading.


If you want to keep DHCP for your outside interface but not get the default-route from DHCP


1) replace "ip address outside dhcp setroute" with "ip address outside dhcp"


2) add the default route as previous post.


If you want to assign a new IP address to your outside interface then


1) remove the complete line "ip address outside dhcp setroute"


2) configure the outside interface with your new IP address


3) add the default-route as per previous post.


Again, apologies if i mislead you.


Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Jon Marshall Wed, 11/05/2008 - 08:34
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Devi


The pix will not be able to use 2 default-routes.


What does the routing table on the pix show at the moment


pix# sh route


what route are you trying to add and what are you trying to achieve.


Jon

dbellamkonda Wed, 11/05/2008 - 08:41
User Badges:

we have dhcp set route on outside and on sh route we have default route for outside as static route pulling an address from dhcp server .

right now we are trying to give a static ip to cu and in order to do that am addin a default route pointing to interface bundle of router but as i already have one default route i am not able to add another one .


Lemme knw if u need ne thn

thnx for replyin soon

Jon Marshall Wed, 11/05/2008 - 08:51
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Sorry but it would really help if you could


1) Post the output of "sh route" from your pix

2) post the actual new route you are trying to add


Jon

dbellamkonda Wed, 11/05/2008 - 09:03
User Badges:

Here, is the output of sh route

outside 0.0.0.0 0.0.0.0 12.x.x.x 1 DHCP static

inside 10.x.x.x 255.255.255.0 10.x.x.x 1 CONNECT static

outside 12.x.x.x 255.255.252.0 12.x.x.x 1 CONNECT static



here, is the one we want to add :

route outside 0 0 < new staic ip add>

Jon Marshall Wed, 11/05/2008 - 09:07
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Okay, you can't do that. Do you really need another default-route or is the new route just for some specific destinations ?


Jon

dbellamkonda Wed, 11/05/2008 - 09:27
User Badges:

We are trying to assign a static route to cu, instead of getting an add from dhcp servers.


can you help me out,,how can we do that

Jon Marshall Wed, 11/05/2008 - 09:31
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Not sure what "cu" means ?


Assuming you want to put your own default-route in and not use the one assigned by DHCP


1) remove the "ip address dhcp setroute" command from your configuration


2) Add the following


route outside 0.0.0.0 0.0.0.0


Jon

dbellamkonda Wed, 11/05/2008 - 09:36
User Badges:

command i have on pix is ip address outside dhcp setroute.


so do i have to add a new outside ip after i remove the above statement and then add route statement ,, right ..


Thnx a ton for ur quick responses jon

Correct Answer
Jon Marshall Wed, 11/05/2008 - 09:42
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Sorry my last post was a little misleading.


If you want to keep DHCP for your outside interface but not get the default-route from DHCP


1) replace "ip address outside dhcp setroute" with "ip address outside dhcp"


2) add the default route as previous post.


If you want to assign a new IP address to your outside interface then


1) remove the complete line "ip address outside dhcp setroute"


2) configure the outside interface with your new IP address


3) add the default-route as per previous post.


Again, apologies if i mislead you.


Jon

dbellamkonda Wed, 11/05/2008 - 14:45
User Badges:

Hey am srry ,, i just have a small issue here,

I have remote access to the pix and when i am trying to change the ip address dhcp to manuall address. i am loosing connectin as i lost the route and i trued to setup a static route with metrix > 1 and try , it wrked once and have issue again,, ne ideas ,,, am i good do we have any other process,,


thnx

dbellamkonda Tue, 11/11/2008 - 11:19
User Badges:

Hey am srry ,, i just have a small issue here,

I have remote access to the pix and when i am trying to change the "ip address dhcp" to manuall address. i am loosing connectin as i lost the route and i trued to setup a static route with metrix > 1 and try , it wrked once and have issue again,, ne ideas ,,, am i good do we have any other process,,

Actions

This Discussion