Subject: gif interface question
To: None <tech-net@netbsd.org>
From: None <uwe@6bone.informatik.uni-leipzig.de>
List: tech-net
Date: 02/19/2004 15:23:26
hello,

I am using the following config:

ifconfig.rtk0
up
10.18.25.33 netmask 0xfffffff8 media autoselect
inet6 2001:638:902:1::1 prefixlen 64

ifconfig.ex0
up
10.18.25.34 netmask 0xffffffff media autoselect
tcp4csum ip4csum udp4csum
inet6 2001:638:902:1::10 prefixlen 64

ifconfig.gif0
up
inet tunnel 10.18.25.33 10.174.75.253
inet6 2001:638:0:800::902:2 2001:638:0:800::902:1 prefixlen 128

default gw is 10.18.25.38

the system use the ex0 interface as default interface, means all packets
from the gif0 interface are using ex0 for output.

if I start 'tcpdump -i ex0 proto 41' you can see outgoing packets
(is ok)
if I start 'tcpdump -i gif0 proto 41' you can see incoming packets
(is ok)

if I start 'tcpdump -i gif0' you can ONLY see outgoing packets. I think
that is not right. as result it is not possible to use the gif tunnel.

is it allowed to use that config?

thank you for your efforts
uwe