From: Louis Krucker (lkrucker@xxxxxxxxxxxxxx)
Date: Mon Mar 18 2002 - 17:18:19 GMT-3
Hi Sundar
You shoud use the static route to a interface only if
the IF supp. Broadcast Media or if it is a ptp interface
e.g Ethernet, serial with hdlc enc., FR ptp, dialer interface(s)
Why? IOS assumes different ways on a ptmp Interface and thats
the point. On some releases it works on e.g a BRI Interface with
ONLY on dialer map statement.
If you whant be shure, use a dialer interface and it will work.
regards
Louis
-----Urspr|ngliche Nachricht-----
Von: Jens Niklaus Fischer, IKOM Kommunikations- und Unternehmensberatung
[mailto:jfischer@ikom.ch]
Gesendet: Montag, 18. Mdrz 2002 13:09
An: lkrucker@swissonline.ch
Betreff: Static Route pointing to the exit interface
Router A and Router B are connected via ISDN.
Router A BRI interface IP is: 172.16.10.1/24
Router B BRI interface IP is: 172.16.10.2/24
Router B's ethernet interface IP is: 192.168.10.1/24
ISDN works fine between these sites.
Assume no dynamic routing protocol is configured on both routers.
To enable connectivity to the ethernet segment on Router B, I added the
following static route on Router A pointing to the next hop address it works
fine.
"ip route 192.168.10.1 255.255.255.0 172.16.10.2"
When I added the following static route pointing to the exit interface on
Router A it fails.
"ip route 192.168.10.1 255.255.255.0 bri0/0"
Turned IP packets debug on and I was seeing "encapsulation failed" messages.
Trying to figure out what's causing the failure when the static route
pointing to the exit interface is used. Guessing the interface type (like
PPP, NBMA etc) is the problem.
Thanks for your replies in advance.
--Sundar
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:57:12 GMT-3