I know its an ugly hack, but it works for me. Try building the gre
interface and than destroying it, and then again rebuild, with enough
pause betwine each action. I am running this in a script called from
crontab, with timing set @reboot, but i guess its the same if you put it
in rc.d or similar place.

G-le


            /bin/sleep 20
            /sbin/ifconfig gre0 create
            /bin/sleep 20
            /sbin/ifconfig gre0 212.110.x.y 212.110.m.n netmask
255.255.255.255 link0 up
            /bin/sleep 20
            /sbin/ifconfig gre0 tunnel 212.110.x.y 212.110.m.n

            /bin/sleep 20
            /sbin/ifconfig gre0 destroy
            /bin/sleep 20
            /sbin/ifconfig gre0 create
            /bin/sleep 20
            /sbin/ifconfig gre0 212.110.x.y 212.110.m.n netmask
255.255.255.255 link0 up
            /bin/sleep 20
            /sbin/ifconfig gre0 tunnel 212.110.x.y 212.110.m.n


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to