Strange problem of route table [7:59533]
Hi all, Can anybody tell me when I add static route to my default network it shows with Administrative distance of 1,whereas we know that static routes to our own interface have AD. of zero. Example C 10.77.152.128/25 is directly connected, FastEthernet1/0 S* 0.0.0.0/0 [1/0] via 10.77.152.129 is directly connected, FastEthernet1/0 Its showing here with administrative distance of 1 the route with default gateway of FastEthernet1/0. Please do clear me where I am wrong Thanx in advance Munit Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=59533&t=59533 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
Re: Strange problem of route table [7:59533]
all static routes have an AD of 1...whether it is using ur interface or not. all directly connected interface have an AD of 0 - Original Message - From: "Munit Singla" To: Sent: Thursday, December 19, 2002 4:44 PM Subject: Strange problem of route table [7:59533] > Hi all, > Can anybody tell me when I add static route to my default network it shows > with Administrative distance of 1,whereas we know that static routes to our > own interface have AD. of zero. > Example > C 10.77.152.128/25 is directly connected, FastEthernet1/0 > S* 0.0.0.0/0 [1/0] via 10.77.152.129 > is directly connected, FastEthernet1/0 > > Its showing here with administrative distance of 1 the route with default > gateway of FastEthernet1/0. > Please do clear me where I am wrong > Thanx in advance > Munit Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=59537&t=59533 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
Re: Strange problem of route table [7:59533]
Hi Tunde, Thanx for reply but can u tell me that I know that this static route to my own interface should have AD of 0 or am i wrong.Its mentioned in all the books. can u clarify it or give me some link where its mentioned as u have written. Regards, Munit Singla Tunde Kalejaiye wrote: > all static routes have an AD of 1...whether it is using ur interface or not. > all directly connected interface have an AD of 0 > - Original Message - > From: "Munit Singla" > To: > Sent: Thursday, December 19, 2002 4:44 PM > Subject: Strange problem of route table [7:59533] > > > Hi all, > > Can anybody tell me when I add static route to my default network it shows > > with Administrative distance of 1,whereas we know that static routes to > our > > own interface have AD. of zero. > > Example > > C 10.77.152.128/25 is directly connected, FastEthernet1/0 > > S* 0.0.0.0/0 [1/0] via 10.77.152.129 > > is directly connected, FastEthernet1/0 > > > > Its showing here with administrative distance of 1 the route with default > > gateway of FastEthernet1/0. > > Please do clear me where I am wrong > > Thanx in advance > > Munit Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=59538&t=59533 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
Re: Strange problem of route table [7:59533]
> all static routes have an AD of 1...whether it is using ur interface or not. > all directly connected interface have an AD of 0 > > Hi all, > > Can anybody tell me when I add static route to my default network it shows > > with Administrative distance of 1,whereas we know that static routes to > our > > own interface have AD. of zero. > > Example > > C 10.77.152.128/25 is directly connected, FastEthernet1/0 > > S* 0.0.0.0/0 [1/0] via 10.77.152.129 > > is directly connected, FastEthernet1/0 > > > > Its showing here with administrative distance of 1 the route with default > > gateway of FastEthernet1/0. > > Please do clear me where I am wrong > > Thanx in advance > > Munit When using static routes: A route pointing to another IP address has an AD of 1 A route pointing to an interface has an AD of 0 -chris Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=59560&t=59533 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
Re: Strange problem of route table [7:59533]
Hi, Static routes can either have the AD of 1 or 0 depending on the way you add them to your router. e.g lates RouterA interface FE0=192.168.0.1/27 and it is connected to RouterB FE1=192.168.0.2/27 & FE3=10.1.0.1/24. To define route to 10.1.0.1/24 on RouterA you have two methods. 1. RouterA# IP route 10.0.0.0 255.255.255.0 192.168.0.2 (AD=1) 2. RouterA#IP route 10.0.0.0 255.255.255.0 FE0 (AD=0) If both commands are entered option 2 will be the prefered route. So you are correct, choose the one you prefer, it also depends whether you want to do load balancing, floating static route, etc... Regards. Godswill Oletu - Original Message - From: Munit Singla To: Sent: Thursday, December 19, 2002 11:44 AM Subject: Strange problem of route table [7:59533] > Hi all, > Can anybody tell me when I add static route to my default network it shows > with Administrative distance of 1,whereas we know that static routes to our > own interface have AD. of zero. > Example > C 10.77.152.128/25 is directly connected, FastEthernet1/0 > S* 0.0.0.0/0 [1/0] via 10.77.152.129 > is directly connected, FastEthernet1/0 > > Its showing here with administrative distance of 1 the route with default > gateway of FastEthernet1/0. > Please do clear me where I am wrong > Thanx in advance > Munit Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=59561&t=59533 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
Re: Strange problem of route table [7:59533]
Hi Godswill, Thanx for reply.I agree with u,but Still the doubt persists if both the commands are used then both entries come to the route table.As per your and mine theory also only better administrative distance should come into the route table,but here both are introduced into the route table ,as it seems it has administrative distance of 1 for default gateway of its own interface(obviosly zero is preffered then one)? Why both entries in route table. As confusion is creating from different answers so please reply ,so that all confusions are over. Regards, Munit Godswill Oletu wrote: > Hi, > > Static routes can either have the AD of 1 or 0 depending on the way you add > them to your router. > e.g lates RouterA interface FE0=192.168.0.1/27 and it is connected to > RouterB FE1=192.168.0.2/27 & FE3=10.1.0.1/24. > > To define route to 10.1.0.1/24 on RouterA you have two methods. > > 1. RouterA# IP route 10.0.0.0 255.255.255.0 192.168.0.2 (AD=1) > 2. RouterA#IP route 10.0.0.0 255.255.255.0 FE0 (AD=0) > > If both commands are entered option 2 will be the prefered route. > > So you are correct, choose the one you prefer, it also depends whether you > want to do load balancing, floating static route, etc... > > Regards. > Godswill Oletu > > - Original Message - > From: Munit Singla > To: > Sent: Thursday, December 19, 2002 11:44 AM > Subject: Strange problem of route table [7:59533] > > > Hi all, > > Can anybody tell me when I add static route to my default network it shows > > with Administrative distance of 1,whereas we know that static routes to > our > > own interface have AD. of zero. > > Example > > C 10.77.152.128/25 is directly connected, FastEthernet1/0 > > S* 0.0.0.0/0 [1/0] via 10.77.152.129 > > is directly connected, FastEthernet1/0 > > > > Its showing here with administrative distance of 1 the route with default > > gateway of FastEthernet1/0. > > Please do clear me where I am wrong > > Thanx in advance > > Munit Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=59565&t=59533 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
Re: Strange problem of route table [7:59533]
Hi Chris, Hi the why its showing in the rout table.I have already given my route table.Please refer it and do clear my confusion. Regards, Munit chris kane wrote: > > all static routes have an AD of 1...whether it is using ur interface or > not. > > all directly connected interface have an AD of 0 > > > Hi all, > > > Can anybody tell me when I add static route to my default network it > shows > > > with Administrative distance of 1,whereas we know that static routes to > > our > > > own interface have AD. of zero. > > > Example > > > C 10.77.152.128/25 is directly connected, FastEthernet1/0 > > > S* 0.0.0.0/0 [1/0] via 10.77.152.129 > > > is directly connected, FastEthernet1/0 > > > > > > Its showing here with administrative distance of 1 the route with > default > > > gateway of FastEthernet1/0. > > > Please do clear me where I am wrong > > > Thanx in advance > > > Munit > > When using static routes: > A route pointing to another IP address has an AD of 1 > A route pointing to an interface has an AD of 0 > > -chris Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=59568&t=59533 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
Re: Strange problem of route table [7:59533]
Hi Munit, Let assume you put both coomands say: 1. IP route 10.0.0.0 255.255.255.0 172.16.0.1 2. IP route 10.0.0.0 255.255.255.0 FE1 since the AD of 1 is 1 and that of 2 is 0, option 2 will be the prefered route for any routing activity to network 172.16.0.1. The route defined by option 1 will be a floating route to the same network, it will not be in your rotuing table. Remember the routing rule, 'Only prefered routes are selected and inserted into the routing table" option one will only show in the routing table if by some means option become unavailable or fails. Try then on your router and see. If you enter both commands on ur router and implement 'Sh ip route' you will only see the route defined by option 2, however if you remove the option 2 command, the route defined by option 1 will surface in your 'sh ip route' I hope this will help you. Regards. Godswill - Original Message - From: Munit Singla To: Godswill Oletu Cc: [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 5:56 PM Subject: Re: Strange problem of route table [7:59533] Hi Godswill, Thanx for reply.I agree with u,but Still the doubt persists if both the commands are used then both entries come to the route table.As per your and mine theory also only better administrative distance should come into the route table,but here both are introduced into the route table ,as it seems it has administrative distance of 1 for default gateway of its own interface(obviosly zero is preffered then one)? Why both entries in route table. As confusion is creating from different answers so please reply ,so that all confusions are over. Regards, Munit Godswill Oletu wrote: Hi, Static routes can either have the AD of 1 or 0 depending on the way you add them to your router. e.g lates RouterA interface FE0=192.168.0.1/27 and it is connected to RouterB FE1=192.168.0.2/27 & FE3=10.1.0.1/24. To define route to 10.1.0.1/24 on RouterA you have two methods. 1. RouterA# IP route 10.0.0.0 255.255.255.0 192.168.0.2 (AD=1) 2. RouterA#IP route 10.0.0.0 255.255.255.0 FE0 (AD=0) If both commands are entered option 2 will be the prefered route. So you are correct, choose the one you prefer, it also depends whether you want to do load balancing, floating static route, etc... Regards. Godswill Oletu - Original Message - From: Munit Singla To: Sent: Thursday, December 19, 2002 11:44 AM Subject: Strange problem of route table [7:59533] > Hi all, > Can anybody tell me when I add static route to my default network it shows > with Administrative distance of 1,whereas we know that static routes to our > own interface have AD. of zero. > Example > C 10.77.152.128/25 is directly connected, FastEthernet1/0 > S* 0.0.0.0/0 [1/0] via 10.77.152.129 > is directly connected, FastEthernet1/0 > > Its showing here with administrative distance of 1 the route with default > gateway of FastEthernet1/0. > Please do clear me where I am wrong > Thanx in advance > Munit Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=59573&t=59533 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
WAS RE: Strange problem of route table [7:59533]
I seem to recall that the Administrative Distance of static routes that specify a local interface has differed between 0 and 1 depending on IOS version. I have a hand written note that (I think) says the value is 0 for 11.3 and 12.0; but is now 1 for newer IOS versions. If true, your results will depend on which IOS your routers are running. I'd appreciate comments for those who have more specific info. I'll see if I can find time to experiment. > -Original Message- > From: Munit Singla [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 19, 2002 4:57 PM > To: [EMAIL PROTECTED] > Subject: Re: Strange problem of route table [7:59533] > > > Hi Godswill, > Thanx for reply.I agree with u,but Still the doubt persists > if both the > commands > are used then both entries come to the route table.As per > your and mine > theory > also only better administrative distance should come into the > route table,but > here both are introduced into the route table ,as it seems it has > administrative > distance of 1 for default gateway of its own > interface(obviosly zero is > preffered then one)? > Why both entries in route table. > As confusion is creating from different answers so please > reply ,so that all > confusions are over. > Regards, > Munit > > Godswill Oletu wrote: > > > Hi, > > > > Static routes can either have the AD of 1 or 0 depending on > the way you add > > them to your router. > > e.g lates RouterA interface FE0=192.168.0.1/27 and it is > connected to > > RouterB FE1=192.168.0.2/27 & FE3=10.1.0.1/24. > > > > To define route to 10.1.0.1/24 on RouterA you have two methods. > > > > 1. RouterA# IP route 10.0.0.0 255.255.255.0 192.168.0.2 (AD=1) > > 2. RouterA#IP route 10.0.0.0 255.255.255.0 FE0 (AD=0) > > > > If both commands are entered option 2 will be the prefered route. > > > > So you are correct, choose the one you prefer, it also > depends whether you > > want to do load balancing, floating static route, etc... > > > > Regards. > > Godswill Oletu > > > > - Original Message - > > From: Munit Singla > > To: > > Sent: Thursday, December 19, 2002 11:44 AM > > Subject: Strange problem of route table [7:59533] > > > > > Hi all, > > > Can anybody tell me when I add static route to my default > network it > shows > > > with Administrative distance of 1,whereas we know that > static routes to > > our > > > own interface have AD. of zero. > > > Example > > > C 10.77.152.128/25 is directly connected, FastEthernet1/0 > > > S* 0.0.0.0/0 [1/0] via 10.77.152.129 > > > is directly connected, FastEthernet1/0 > > > > > > Its showing here with administrative distance of 1 the > route with default > > > gateway of FastEthernet1/0. > > > Please do clear me where I am wrong > > > Thanx in advance > > > Munit Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=59629&t=59533 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
Re: WAS RE: Strange problem of route table [7:59533]
Great Daniel, But I need clarification on this part me be if u have some documnet or some link please send me the link...Thanx for the help.anybody has comments since it seems a trivial question but not. Regards, Munit Daniel Cotts wrote: > I seem to recall that the Administrative Distance of static routes that > specify a local interface has differed between 0 and 1 depending on IOS > version. I have a hand written note that (I think) says the value is 0 for > 11.3 and 12.0; but is now 1 for newer IOS versions. If true, your results > will depend on which IOS your routers are running. > I'd appreciate comments for those who have more specific info. I'll see if I > can find time to experiment. > > > -Original Message- > > From: Munit Singla [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, December 19, 2002 4:57 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Strange problem of route table [7:59533] > > > > > > Hi Godswill, > > Thanx for reply.I agree with u,but Still the doubt persists > > if both the > > commands > > are used then both entries come to the route table.As per > > your and mine > > theory > > also only better administrative distance should come into the > > route table,but > > here both are introduced into the route table ,as it seems it has > > administrative > > distance of 1 for default gateway of its own > > interface(obviosly zero is > > preffered then one)? > > Why both entries in route table. > > As confusion is creating from different answers so please > > reply ,so that all > > confusions are over. > > Regards, > > Munit > > > > Godswill Oletu wrote: > > > > > Hi, > > > > > > Static routes can either have the AD of 1 or 0 depending on > > the way you add > > > them to your router. > > > e.g lates RouterA interface FE0=192.168.0.1/27 and it is > > connected to > > > RouterB FE1=192.168.0.2/27 & FE3=10.1.0.1/24. > > > > > > To define route to 10.1.0.1/24 on RouterA you have two methods. > > > > > > 1. RouterA# IP route 10.0.0.0 255.255.255.0 192.168.0.2 (AD=1) > > > 2. RouterA#IP route 10.0.0.0 255.255.255.0 FE0 (AD=0) > > > > > > If both commands are entered option 2 will be the prefered route. > > > > > > So you are correct, choose the one you prefer, it also > > depends whether you > > > want to do load balancing, floating static route, etc... > > > > > > Regards. > > > Godswill Oletu > > > > > > - Original Message - > > > From: Munit Singla > > > To: > > > Sent: Thursday, December 19, 2002 11:44 AM > > > Subject: Strange problem of route table [7:59533] > > > > > > > Hi all, > > > > Can anybody tell me when I add static route to my default > > network it > > shows > > > > with Administrative distance of 1,whereas we know that > > static routes to > > > our > > > > own interface have AD. of zero. > > > > Example > > > > C 10.77.152.128/25 is directly connected, FastEthernet1/0 > > > > S* 0.0.0.0/0 [1/0] via 10.77.152.129 > > > > is directly connected, FastEthernet1/0 > > > > > > > > Its showing here with administrative distance of 1 the > > route with default > > > > gateway of FastEthernet1/0. > > > > Please do clear me where I am wrong > > > > Thanx in advance > > > > Munit Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=59630&t=59533 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]