On Fri, 28 Jul 2000, Adrian Chew wrote:
> I've seen this in some configurations where traffic is sent via a route-map
> to an IP address that is on the same subnet as a router's loopback
> interface.
>
> Eg.
>
> interface ethernet 0
> ip address 192.168.1.1 255.255.255.0
> ip policy route-map abc
>
> interface loopback 0
> ip address 192.168.255.1 255.255.255.0
>
> access-list 100 permit ip 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255
>
> route-map abc permit 10
> match ip address 100
> set ip next-hop 192.168.255.2
>
> Could anyone explain how having traffic routed via a loopback interface
> might help in certain situations?
load balacing for one.........
For example:
R1
ip cef
int loopback 0
ip address 10.1.1.1 255.255.255.0
int ethernet 0
ip address 192.168.2.1 255.255.255.0
int serial 0
ip address 192.168.1.1 255.255.255.252
ip load-sharing per-packet
int serial 1
ip address 192.168.1.5 255.255.255.252
ip load-sharing per-packet
ip route 10.1.2.1 255.255.255.0 192.168.1.2
ip route 10.1.2.1 255.255.255.0 192.168.1.6
ip route 0.0.0.0 0.0.0.0 10.1.2.1
R2
ip cef
int loopback 0
ip address 10.1.2.1 255.255.255.0
int serial 0
ip address 192.168.1.2 255.255.255.252
ip load-sharing per-packet
int serial 1
ip address 192.168.1.6 255.255.255.252
ip load-sharing per-packet
ip route 10.1.1.1 255.255.255.0 192.168.1.1
ip route 10.1.1.1 255.255.255.0 192.168.1.5
ip route 192.168.2.0 255.255.255.0 10.1.1.1
You could save yourself some configuring and whatnot by using an IGP to
get the dual routes injected instead of declaring them statically here,
but I did static here to illustrate
Brian
>
> Thanks.
>
> Regards,
> Adrian
>
>
> ___________________________________
> UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
> FAQ, list archives, and subscription info: http://www.groupstudy.com
> Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
>
-----------------------------------------------
Brian Feeny, CCNA, CCDA [EMAIL PROTECTED]
Network Administrator
ShreveNet Inc. (ASN 11881)
___________________________________
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]