Hello,

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:  192.168.5.1  has  ipip  link to host 210.210.210.1 and
192.168.5.3  also  has  ipip  link  to host 210.210.210.1 (using other
uplink). Other side has network 192.168.81.0/24.

Running zebra on 192.168.5.3 and has following in zebra.conf:

> ip route 192.168.81.0/24 gif3
> ip route 192.168.81.0/24 192.168.5.1

As a result I want to use route to 192.168.5.1 in case of isp uplink
fail on 192.168.5.3 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 200.200.200.1 210.210.210.1

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

> mx2# ifconfig gif5 192.168.5.3 192.168.82.0 netmask 255.255.255.0

> mx2# ifconfig gif5
> gif5: flags=8051< -----> UP <-----,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
>         tunnel inet 200.200.200.1 --> 210.210.210.1
>         inet 192.168.5.3 --> 192.168.82.0 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 200.200.200.1 and 210.210.210.1
is fictitious address

Any ideas?
Thanks

-- 
Best regards, Sergey

[FreeBSD 4.9]



_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to