Petersen, Jim wrote:
We are using quagga and ospf for z/Linux.  We have a dummy0 which is the
VIPA address   say 1.2.3.4

                                                                We have
a eth0 which is the Ethernet address    say 10.1.1.1

                                                                 We have
a hsi0 which is the Hipersockets interface  say 20.1.1.1



So how would one 1) code a route-map to use 1.2.3.4 for all applications
whether they go out 10.1.1.1 or 20.1.1.1

And 2) how do you include the route-map in the qugga (or would it be the
zebra) configuration file.



Hello Jim,
rather than "by interface", really one would set the src-vipa based on
destination.

If as in your above example your destinations consist of 2 subnets
10.1.1.0/24 and 20.1.1.0/24 then a suitable route-map in
/etc/quagga/zebra.conf may look similar to the following:

---------------------------------------------------
password xxxxxxxx
enable password xxxxxxx
ip route 0.0.0.0/0 x.x.x.x
route-map vipa1 permit 10
 match ip address prefix-list DEST
 set src 1.2.3.4
 continue
route-map vipa1 permit 20
ip protocol ospf route-map vipa1
ip prefix-list DEST permit 10.1.1.0/24 le 32
ip prefix-list DEST permit 20.1.1.0/24 le 32
log file /var/log/quagga/quagga.log
---------------------------------------------------

Not that you can then telnet into your quagga and display this list.

telnet hostname 2601
show ip prefix-list detail

Hope that helps ;-)

mark

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to