zebra routing and gif interface question

Sergey Sysoev lists at avtf.org
Mon Nov 17 22:49:38 PST 2003


I  have  coulpe  of  ipip tunnels at 2 near servers and trying to make
backup link for each using zebra via multiple nexthop static route.

So,  2  boxes:  has  ipip  link to host and  also  has  ipip  link  to host (using other
uplink). Other side has network

Running zebra on and has following in zebra.conf:

> ip route gif3
> ip route

As a result I want to use route to in case of isp uplink
fail on external iface (accordingly gif3 link failed).

But  that  is  the  throuble..  It  seems there is no check for remote
endpoint  availability  at  gif interface and gif never will not be in
DOWN state, so no route change.

Trying  to  create gif interface and check it's state after each step.
You may see:

> mx2# ifconfig gif5 create

> mx2# ifconfig gif5
> gif5: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
    -  that is good

> mx2# gifconfig gif5

> mx2# ifconfig gif5
> gif5: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1280
>         tunnel inet -->
    -  that is good

> mx2# ifconfig gif5 netmask

> mx2# ifconfig gif5
> gif5: flags=8051< -----> UP <-----,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
>         tunnel inet -->
>         inet --> netmask 0xffffff00
        -  is that good??

interface  state  has  changed  to  UP  but there is no link to remote
endpoint  and never will be, I have no and
is fictitious address

Any ideas?

Best regards, Sergey

[FreeBSD 4.9]

More information about the freebsd-questions mailing list