Hi all,

 

I am trying to setup a VIPA interface on my RHEL V5.2 and distribute the
routes using ospfd (using the quagga package).

What I am trying to accomplish is having 3 physical interfaces (ctc0, hsi0
and eth0) and one dummy interface representing the VIPA interface.

The main reason for doing this is getting z/OS machines to use hsi device
when connecting to the VIPA address and the rest of the world should connect
using the eth interface. Furthermore in the case of an hsi failure I would
like the z/OS to automatically use the eth interface in order to connect to
the Linux machine.

I really don't want to use static routes so I went to OSPF to find the
answer.

Can anyone please send a zebra.conf and ospfd.conf example to accomplish
that?

 

This are the files I created (obviously there is something wrong there… I
know very little about ospf but I did my best J)

zebra.conf file:

hostname LNXS3

password zebra

# log file /var/log/quagga/zebra.log information

interface eth0

no shutdown 

ospfd.conf file:

! -*- ospf -*-

!

! OSPFd sample configuration file

!

!

hostname ospfd

password zebra

log file /var/log/quagga/ospfd.log

!enable password please-set-at-here

!

interface eth0

        ip ospf priority 1

!interface hsi0

!        ip ospf priority 2

interface ctc0

        ip ospf priority 2

!

interface dummy0

router ospf

redistribute connected

passive-interface dummy0

network 172.20.140.0/24 area 0.0.0.0

network 172.20.101.1/32 area 0.0.0.0

network 10.10.3.0/24 area 0.0.0.0

network 10.10.2.0/24 area 0.0.0.0

 

this is my ifconfig output:

ctc0      Link encap:Serial Line IP  

          inet addr:10.10.3.1  P-t-P:10.10.3.2  Mask:255.255.255.255

          UP POINTOPOINT RUNNING NOARP  MTU:32760  Metric:1

          RX packets:210 errors:0 dropped:0 overruns:0 frame:0

          TX packets:224 errors:16 dropped:16 overruns:0 carrier:16

          collisions:0 txqueuelen:100 

          RX bytes:15008 (14.6 KiB)  TX bytes:16532 (16.1 KiB)

 

dummy0    Link encap:Ethernet  HWaddr 92:C9:FC:44:84:11  

          inet addr:172.20.101.1  Bcast:172.20.101.3  Mask:255.255.255.252

          inet6 addr: fe80::90c9:fcff:fe44:8411/64 Scope:Link

          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0 

          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

 

eth0      Link encap:Ethernet  HWaddr 02:00:00:00:00:03  

          inet addr:172.20.140.13  Bcast:172.20.140.255  Mask:255.255.255.0

          inet6 addr: fe80::200:0:200:3/64 Scope:Link

          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1492  Metric:1

          RX packets:2923 errors:0 dropped:0 overruns:0 frame:0

          TX packets:1562 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:242871 (237.1 KiB)  TX bytes:201379 (196.6 KiB)

 

hsi0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00  

          inet addr:10.10.2.36  Bcast:10.10.2.255  Mask:255.255.255.0

          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link

          UP BROADCAST RUNNING NOARP MULTICAST  MTU:16384  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:195 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:0 (0.0 b)  TX bytes:12256 (11.9 KiB)

 

lo        Link encap:Local Loopback  

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:648 errors:0 dropped:0 overruns:0 frame:0

          TX packets:648 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0 

          RX bytes:51461 (50.2 KiB)  TX bytes:51461 (50.2 KiB)

 

 


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

Reply via email to