Re: GIF MTU parmeter is needed

2009-12-28 Thread Hideki Yamamoto
Hi, Thank you for your information. I understand what happened in my freebsd box. As David and Julian said, "route change" command control MTU of gif, and the initial value is set from gif interface MTU value when "route add" command is executed. The initial value is independent from the gif inte

Re: GIF MTU parmeter is needed

2009-12-28 Thread Julian Elischer
David DeSimone wrote: Hideki Yamamoto wrote: h99# ifconfig xl0 inet6 2001:99::1 h99# ifconfig gif0 create h99# ifconfig gif0 inet tunnel 192.168.1.8 192.168.1.4 h99# route add -inet6 2001:98::/64 -interface gif0 add net 2001:98::/64: gateway gif0 h99# ifconfig gif0 up

Re: GIF MTU parmeter is needed

2009-12-28 Thread David DeSimone
Hideki Yamamoto wrote: > > h99# ifconfig xl0 inet6 2001:99::1 > h99# ifconfig gif0 create > h99# ifconfig gif0 inet tunnel 192.168.1.8 192.168.1.4 > h99# route add -inet6 2001:98::/64 -interface gif0 > add net 2001:98::/64: gateway gif0 > h99# ifconfig gif0 up I wonder if

Re: GIF MTU parmeter is needed

2009-12-27 Thread Hideki Yamamoto
Hi, Thank you for your replies. I have tested again. And I found that extension of gif MTU depends on the command sequence. After waking up gif0 and then changing gif MTU, packets on gif are fragmented by MMTU, 1280. However, when I changed the command sequence as changing gif0 MTU and then waki

Re: GIF MTU parmeter is needed

2009-12-26 Thread Julian Elischer
Hideki Yamamoto wrote: Hi, I often use FreeBSD for developing the gateway. For example, I use gif for the tunnel protocol when using IPv6 over IPv4 and use an application for changing packet address for special purpose. When we were using old FreeBSD, such as FreeBSD 4.11, the MTU of the tunnel

Re: GIF MTU parmeter is needed

2009-12-26 Thread Hiroki Sato
Hideki Yamamoto wrote in <90dbee150912261333l602c4161nccaf1995dc836...@mail.gmail.com>: hy> Hi, hy> hy> I often use FreeBSD for developing the gateway. For example, I use gif for the hy> tunnel protocol when using IPv6 over IPv4 and use an application for changing hy> packet address for speci

GIF MTU parmeter is needed

2009-12-26 Thread Hideki Yamamoto
Hi, I often use FreeBSD for developing the gateway. For example, I use gif for the tunnel protocol when using IPv6 over IPv4 and use an application for changing packet address for special purpose. When we were using old FreeBSD, such as FreeBSD 4.11, the MTU of the tunnel packets or forwarded pac