Subject: Re: unnumbered links.
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 07/24/2002 10:57:11
>> i don't understand what you mean by "unnumbered interface" here.
>> could you elaborate? (for instance, greconfig command line examples?)
>i'm sorry, i misread dennis' email. a greconfig
>command line using -d would implement the crude hack to
>which he referred.
>by "unnumbered interface", i mean something that would
>behave as expected if you did, for example,
># ifconfig gif0 create
># ifconfig gif0 tunnel x.x.x.x y.y.y.y
># ifconfig gif0 up
># route add z.z.z.z -ifp gif0
no, it is not possible. interfaces that emits IPv4 packet has to have
an IPv4 address. the following should work, but not tested.
with this example, you don't know the IPv4 address of the other side
of the tunnel.
# ifconfig gif0 create
# ifconfig gif0 tunnel x.x.x.x y.y.y.y
# ifconfig gif0 up
# ifconfig fxp0 u.u.u.u netmask 255.255.255.0
# ifconfig gif0 u.u.u.u netmask 255.255.255.255
# route add -inet default 127.0.0.1 -ifp gif0