From: Mark Lasarko (mlasarko@co.ba.md.us)
Date: Fri Jan 14 2005 - 14:21:24 GMT-3
default-gateway?
I thought this was only applicable when the router was not being a
router??
Anyway, I was a bit curious, as I remember that, at least on recent
code,
IOS will parse EIGRP code in interesting ways with options that do not
seem to exist, for example:
3725#config t
Enter configuration commands, one per line. End with CNTL/Z.
3725(config)#router eigrp 1
3725(config-router)#default ?
address-family Enter Address Family command mode
auto-summary Enable automatic network number summarization
default-information Control distribution of default information
default-metric Set metric of redistributed routes
distance Define an administrative distance
distribute-list Filter networks in routing updates
eigrp EIGRP specific commands
maximum-paths Forward packets over multiple paths
metric Modify EIGRP routing metrics and parameters
neighbor Specify a neighbor router
network Enable routing on an IP network
offset-list Add or subtract offset from RIP metrics
passive-interface Suppress routing updates on an interface
redistribute Redistribute information from another routing
protocol
timers Adjust routing timers
traffic-share How to compute traffic share over alternate
paths
variance Control load balancing variance
3725(config-router)#default network ?
A.B.C.D Network number
3725(config-router)#default network 100.100.100.0
3725(config-router)#end
This does nothing, the router just accepts the command and forgets
about it?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Now, on to the default-network...
First, we see our EIGRP AS has two networks defined with no static
routes.
router eigrp 1
network 1.1.1.0 0.0.0.255
network 2.2.2.0 0.0.0.255
no auto-summary
!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Now we issue the command "ip default-network 100.100.100.0"
3725#config t
Enter configuration commands, one per line. End with CNTL/Z.
3725(config)#ip default-network 100.100.100.0
3725(config)#end
3725#sh run
!
router eigrp 1
network 1.1.1.0 0.0.0.255
network 2.2.2.0 0.0.0.255
no auto-summary
!
ip route 100.0.0.0 255.0.0.0 100.100.100.0
!
We see that the command inserted the line "ip route 100.0.0.0 255.0.0.0
100.100.100.0"
A classful route was entered as a result of the command
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Let's add a second default-network...
3725#
3725#config t
Enter configuration commands, one per line. End with CNTL/Z.
3725(config)#ip default-network 172.172.172.0
3725(config)#end
3725#sh run
!
router eigrp 1
network 1.1.1.0 0.0.0.255
network 2.2.2.0 0.0.0.255
no auto-summary
!
ip route 100.0.0.0 255.0.0.0 100.100.100.0
ip route 172.172.0.0 255.255.0.0 172.172.172.0
!
Again we see a classful static route installed for the network we
defined.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Not trying to over-simplify, just understand more :) ?????
Now I am more confused than when I started.
Can anyone explain this better?
I understand the installation of the classful networks,
it's the anomalies I can't get past
Commands that do nothing
April fools?
Not that it matters:
3725#sh ver
Cisco Internetwork Operating System Software
IOS (tm) 3700 Software (C3725-JK9S-M), Version 12.3(9b), RELEASE
SOFTWARE (fc1)
~M
>>> "McCallum, Robert" <robert.mccallum@thus.net> 1/14/2005 10:07:06 AM
>>>
try default-gateway
Robert McCallum
> -----Original Message-----
> From: jellyboy [mailto:jellyboy@gmail.com]
> Sent: 14 January 2005 15:03
> To: ccielab@groupstudy.com
> Subject: IGRP=default-network EIGRP=?
>
>
> Hi all, I was doing a lab which was running IGRP. My newer
> routers do not have IGRP in the IOS (!), so I was using EIGRP
> with auto-summary so simulate the classful properties of IGRP
> if you get my drift. The original exercise was not to allow
> an redistribution of static routes, but to allow a default
> route to another IGRP neighbor. The original solution was to
> use the default-network command which is automatically
> redistributed into IGRP. With running EIGRP instead of IGRP
> in my case the default-network does not seem to propogate a
> default route to its EIGRP neighbor. Apart from using a
> 0.0.0.0 and redistrubute static or redisributing a quad zero
> into another routing protocol and then redistribute that with
> EIGRP, does anyone know how to do the equivalent of the
> default-network with IGRP in EIGRP?
>
> Cheers,
>
> jellyboy
>
> ______________________________________________________________
> _________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Wed Feb 02 2005 - 22:10:22 GMT-3