[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[altq 1093] Re: AltQ-IPv6 Please help



On Sat, Oct 13, 2001 at 12:53:01 +0900, Kenjiro Cho wrote:
> 
> Hasan wrote:
> > I have an IPv6 test environment like this
> > 
> > source [xl0] <---> [xl0] altq box [xl2] <---> [xl0] sink
> > 
> > I run FreeBSD 4.2 + AltQ3.0
> > 
> > I couldn't disable the bridge functionality (if any)
> > of the altq box
> > 
> > # sysctl -w net.link.ether.bridge=0
> > sysctl: unknown oid 'net.link.ether.bridge'
> > 
> > so I assumed there was no bridge functionality existing
> 
> The BRIDGE option is not enabled in the ALTQ or GENERIC kernel config
> files.

I see.

> 
> > I want to make sure that the marking do function, so
> > I mark whatever class incl. BE
> > 
> > But no packet sent from source to sink is marked by
> > the altq box. Can anybody help? Thank you in advance...
> > I have dual stack on all the boxes. And the ipv4 version
> > of the altq config file run well.
> 
> The IPv6 conditioner hook is missing in the original altq-3.0
> patches.  It's my merge mistake from the KAME development tree.
> Please apply the following patch.
> 
> diff -urN ../sys/netinet6/ip6_input.c ./netinet6/ip6_input.c
> --- ../sys/netinet6/ip6_input.c	Fri Apr 20 09:17:51 2001
> +++ ./netinet6/ip6_input.c	Thu May 24 20:03:07 2001
> @@ -328,6 +328,12 @@
>  			return;
>  	}
>  
> +#ifdef ALTQ
> +	if (altq_input != NULL && (*altq_input)(m, AF_INET6) == 0) {
> +		/* packet is dropped by traffic conditioner */
> +		return;
> +	}
> +#endif
>  	/*
>  	 * Scope check
>  	 */
> 
> -Kenjiro

thanks for the hints. I'll try it as soon as possible.

Kind regards,
Hasan