[afnog] Interface configuration - IPv6

Vincent Ngundi vincent at kenic.or.ke
Sat Sep 8 09:23:27 UTC 2007


On Sep 8, 2007, at 12:12 PM, Frank Habicht wrote:

> On 9/8/2007 12:06 PM, Vincent Ngundi wrote:
>> Frank, John, Mark,
>>
>> On Sep 8, 2007, at 11:30 AM, Frank Habicht wrote:
>>
>>> On 9/8/2007 11:06 AM, Vincent Ngundi wrote:
>>>> Hi All,
>>>>
>>>> I have configured IPv6 on an ethernet interface and get the  
>>>> following
>>>> error when I try to ping the gateway. I have  done the same
>>>> configuration on other boxes and it works fine. F1 please.
>>>>
>>>> *ping6: sendmsg: Permission denied*
>>>> *ping6: wrote v6_address_of_gateway 16 chars, ret=-1*
>>>>
>>>> Regards,
>>>>
>>>> -Vincent
>>>>
>>> works as normal user?
>>> works as root?
>>
>> on the other boxes it works as both normal user and root.
>>
>> * on this box, I can ping the local v6 address though.
>>
>>> which OS?
>>
>> FreeBSD 6.0-RELEASE
>>
>>> is it a 2001:: ip ?
>>
>> yes.
>>
>>> copy&paste more around it, incl comand invocation, and options...
>>
>> #ping6 ip_of_default_gateway
>>
>> cat /etc/rc.conf
>>
>> <snip>
>>
>> ipv6_defaultrouter="ip_of_default_gateway"
>> ipv6_enable="YES"
>> ipv6_network_interfaces="em0"
>> ipv6_ifconfig_em0="v6_address_of_host prefixlen 64"
>>
>> </snip>
>>
>>
>> * I haven't enable the v6 firewall yet.
>>
>> # grep icmp /etc/protocols
>> icmp    1       ICMP            # internet control message protocol
>> ipv6-icmp       58      IPV6-ICMP       icmp6   # ICMP for IPv6
>>
>> Regards,
>>
>> -Vincent
>>
>
> does the "default_gw" (the other box) allow the ping (echo_request)  
> into
> that interface?

yes it does. I can ping it from other boxes.

Regards,

-Vincent

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the afnog mailing list