IPv6 not loading in FreeBSD 8.1 64 bit

Network related discussions (including general TCP/IP stuff, routing, etc).

IPv6 not loading in FreeBSD 8.1 64 bit

Postby linuxunix » 25 Nov 2010, 06:46

Hello,

I am unable to assign the Ipv6 to em0 interface. When I run this command:

[CMD=" "]/etc/rc.d/network_ipv6 restart[/CMD]

It says:

Code: Select all
add net ::ffff:0.0.0.0: gateway ::1: route already in table
add net ::0.0.0.0: gateway ::1: route already in table
net.inet6.ip6.forwarding: 0 -> 0
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
net.inet6.ip6.accept_rtadv: 1 -> 1
add net fe80::: gateway ::1: route already in table
add net ff02::: gateway ::1: route already in table
IPv4 mapped IPv6 address support=NO


I tried assiging IPv6 through sysinstall > post-package configuration > network services > Do you want to enable Ipv6?
But still its not assigning the same.

Pls Help.
linuxunix
Junior Member
 
Posts: 73
Joined: 18 Nov 2010, 13:36

Postby SirDice » 25 Nov 2010, 07:46

Post the relevant bits from your [file]/etc/rc.conf[/file] please.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16149
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby sk8harddiefast » 25 Nov 2010, 08:03

Your rc.conf should have:
Code: Select all
ipv6_enable="YES"
ifconfig_em0="inet [B]your ipv6[/B] netmask 255.255.255.0"
====================================
| -------> [color="Blue"]UNIX[/color]. Live Free Or Die! <-------- |
====================================
[color="RoyalBlue"]You can say:[/color] I can't do something because is difficult.
[color="RoyalBlue"]You must say:[/color] I tried a lot before say that I can't.
Never Give up.
[color="Green"]http://unixsystems.dyndns.org/[/color]
[color="Sienna"]I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!
[/color]
Nice wallpapers to make your desktop more hardcore :) ---> [color="DarkOliveGreen"]http://forums.freebsd.org/showthread.php?t=13416[/color]
User avatar
sk8harddiefast
Senior Member
 
Posts: 1977
Joined: 01 Mar 2010, 00:47
Location: Athens, Greece

Postby SirDice » 25 Nov 2010, 08:06

sk8harddiefast wrote:Your rc.conf should have:
Code: Select all
ifconfig_em0="inet [B]your ipv6[/B] netmask 255.255.255.0"


This is wrong. It's:
Code: Select all
ipv6_ifconfig_em0="<IPv6 Address> prefixlen <prefix>"
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16149
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby sk8harddiefast » 25 Nov 2010, 08:14

Ooops. You have right!
====================================
| -------> [color="Blue"]UNIX[/color]. Live Free Or Die! <-------- |
====================================
[color="RoyalBlue"]You can say:[/color] I can't do something because is difficult.
[color="RoyalBlue"]You must say:[/color] I tried a lot before say that I can't.
Never Give up.
[color="Green"]http://unixsystems.dyndns.org/[/color]
[color="Sienna"]I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!
[/color]
Nice wallpapers to make your desktop more hardcore :) ---> [color="DarkOliveGreen"]http://forums.freebsd.org/showthread.php?t=13416[/color]
User avatar
sk8harddiefast
Senior Member
 
Posts: 1977
Joined: 01 Mar 2010, 00:47
Location: Athens, Greece


Return to Networking

Who is online

Users browsing this forum: No registered users and 0 guests