[afnog] Interface configuration - IPv6

Frank Habicht geier-lists-afnog at tih.co.tz
Sat Sep 8 09:12:05 UTC 2007


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?

Frank



More information about the afnog mailing list