could someone check my rc.conf please? a small error/warning there somewhere

Pedro Goncalves pgoncalves@net.telepac.pt
Thu, 21 Mar 2002 20:00:36 -0000


This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C1D113.113E8BA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hello Robert

Assuming that you have a FreeBSD 4.x, heres the sample IPv6 option that i
have on my /etc/default/rc.conf on nasca.ipv6.telepac.pt.

Hope it helps...

ifconfig_fxp0_alias0="inet6 3ffe:3102:ffff:1::3 prefixlen 64" # My IPv6 IP
address
### IPv6 options: ###
ipv6_enable="YES"
ipv6_network_interfaces="fxp0"
ipv6_static_routes=""
ipv6_gateway_enable="NO"
ipv6_router_enable="NO"
ipv6_router="/usr/sbin/route6d"
ipv6_router_flags=""
#ipv6_network_interfaces="ed0 ep0"
#ipv6_prefix_ed0="fec0:0000:0000:0001 fec0:0000:0000:0002"  # Examples for
rtr.
#ipv6_prefix_ep0="fec0:0000:0000:0003 fec0:0000:0000:0004"  # Examples for
rtr.
ipv6_default_interface=""
prefixcmd_enable="YES"
rtadvd_enable="YES"
mroute6d_enable="NO"
mroute6d_program="/usr/sbin/pim6dd"
mroute6d_flags=""
gif_interfaces="NO"
#gif_interfaces="gif0 gif1"
#gifconfig_gif0="10.1.1.1 10.1.2.1"
#gifconfig_gif1="10.1.1.2 10.1.2.2"
stf_interface_ipv4addr=""
stf_interface_ipv4plen="0"
stf_interface_ipv6_ifid="0:0:0:1"
stf_interface_ipv6_slaid="0000"

Best Regards

Pedro Goncalves
  -----Original Message-----
  From: owner-6bone@ISI.EDU [mailto:owner-6bone@ISI.EDU]On Behalf Of Robert
  Sent: quinta-feira, 21 de Março de 2002 5:40
  To: 6bone
  Subject: could someone check my rc.conf please? a small error/warning
there somewhere


  I have something ? out of place here, because it's giving the error on
startup shown below this config file. Apart from that one error? I think
everything else is ok?
  Thanks a lot for any help, I appreciate it.
  Robert

  # -- sysinstall generated deltas -- #
  ifconfig_lo0="inet 127.0.0.1"
  ifconfig_ed0="inet 203.1.96.6  netmask 255.255.255.0"
  ifconfig_stf0="inet6 2002:cb01:6006::1 prefixlen 16 alias"
  hostname="ruby.chalmers.com.au"
  named_enable="YES"

  defaultrouter="203.1.96.5"
  static_routes=""
  gateway_enable="NO"
  router_enable="NO"
  mrouted_enable="NO"
  inetd_enable=YES
  tcp_extensions="YES"

  ### IPv6 options: ###
  ipv6_enable="YES"
  ipv6_network_interfaces="auto"
  ipv6_gateway_enable="YES"
  ipv6_prefix_ed0="2002:cb01:6006"
  ipv6_static_routes="default"
  ipv6_route_default="default 2002:cdb2:5ac2::1"
  stf_interface_ipv4addr="203.1.96.6"
  -------------------------------------------------------------------------

  error from startup
  Mar 21 15:19:15 ruby kernel: ifconfig:
  Mar 21 15:19:15 ruby kernel: 2002:cb01:6006:240:5ff:fe4e:a982: bad value


  ------------------------------------------------------------------------
  output of startup.

  Mar 21 15:19:14 ruby kernel: ed0:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
  Mar 21 15:19:14 ruby kernel: inet 203.1.96.6 netmask 0xffffff00 broadcast
203.1.96.255
  Mar 21 15:19:14 ruby kernel: inet6 fe80::240:5ff:fe4e:a982%ed0 prefixlen
64 tentative scopeid 0x1
  Mar 21 15:19:14 ruby kernel: ether 00:40:05:4e:a9:82
  Mar 21 15:19:14 ruby kernel: lo0:
flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
  Mar 21 15:19:14 ruby kernel: inet6 ::1 prefixlen 128
  Mar 21 15:19:14 ruby kernel: inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
  Mar 21 15:19:14 ruby kernel: inet 127.0.0.1 netmask 0xff000000
  Mar 21 15:19:15 ruby kernel: add net default: gateway 203.1.96.5
  Mar 21 15:19:15 ruby kernel: Additional routing options:
  Mar 21 15:19:15 ruby kernel: Routing daemons:
  Mar 21 15:19:15 ruby kernel: Doing IPv6 network setup:
  Mar 21 15:19:15 ruby kernel: add net ::ffff:0.0.0.0: gateway ::1
  Mar 21 15:19:15 ruby kernel: add net ::0.0.0.0: gateway ::1
  Mar 21 15:19:15 ruby kernel: net.inet6.ip6.forwarding:
  Mar 21 15:19:15 ruby kernel: 0
  Mar 21 15:19:15 ruby kernel: ->
  Mar 21 15:19:15 ruby kernel: 1
  Mar 21 15:19:15 ruby kernel:
  Mar 21 15:19:15 ruby kernel: net.inet6.ip6.accept_rtadv:
  Mar 21 15:19:15 ruby kernel: 0
  Mar 21 15:19:15 ruby kernel: ->
  Mar 21 15:19:15 ruby kernel: 0
  Mar 21 15:19:15 ruby kernel:
  Mar 21 15:19:15 ruby kernel: ifconfig:
  Mar 21 15:19:15 ruby kernel: 2002:cb01:6006:240:5ff:fe4e:a982: bad value


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^



  Mar 21 15:19:15 ruby kernel:
  Mar 21 15:19:15 ruby kernel: ed0:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
  Mar 21 15:19:15 ruby kernel: inet6 fe80::240:5ff:fe4e:a982%ed0 prefixlen
64 scopeid 0x1
  Mar 21 15:19:15 ruby kernel: inet6 2002:cb01:6006:: prefixlen 64 anycast
  Mar 21 15:19:15 ruby kernel: lp0:
flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
  Mar 21 15:19:15 ruby kernel: ifconfig:
  Mar 21 15:19:15 ruby kernel: lp0 has no inet6 interface address!
  Mar 21 15:19:15 ruby kernel:
  Mar 21 15:19:15 ruby kernel: lo0:
flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
  Mar 21 15:19:15 ruby kernel: inet6 ::1 prefixlen 128
  Mar 21 15:19:15 ruby kernel: inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
  Mar 21 15:19:15 ruby kernel: add net 2002:e000::: gateway ::1
  Mar 21 15:19:15 ruby kernel: add net 2002:7f00::: gateway ::1
  Mar 21 15:19:15 ruby kernel: add net 2002:0000::: gateway ::1
  Mar 21 15:19:15 ruby kernel: add net 2002:ff00::: gateway ::1
  Mar 21 15:19:15 ruby kernel: add net fe80::: gateway ::1
  Mar 21 15:19:15 ruby kernel: add net ff02::: gateway ::1
  Mar 21 15:19:15 ruby kernel: add net default: gateway 2002:cdb2:5ac2::1
  Mar 21 15:19:15 ruby kernel: IPv4 mapped IPv6 address support=YES
  Mar 21 15:19:15 ruby kernel: .
  Mar 21 15:19:15 ruby kernel: Additional daemons:
  Mar 21 15:19:15 ruby kernel: syslogd






------=_NextPart_000_0005_01C1D113.113E8BA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2713.1100" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D050085119-21032002><FONT face=3DArial color=3D#0000ff =
size=3D2>Hello=20
Robert</FONT></SPAN></DIV>
<DIV><SPAN class=3D050085119-21032002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D050085119-21032002><FONT face=3DArial color=3D#0000ff =

size=3D2>Assuming that you have a FreeBSD 4.x, heres the sample =
IPv6&nbsp;option=20
that i have on my /etc/default/rc.conf on=20
nasca.ipv6.telepac.pt.</FONT></SPAN></DIV>
<DIV><SPAN class=3D050085119-21032002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D050085119-21032002><FONT face=3DArial color=3D#0000ff =
size=3D2>Hope=20
it helps...</FONT></SPAN></DIV>
<DIV><SPAN class=3D050085119-21032002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D050085119-21032002><FONT face=3DArial color=3D#0000ff =

size=3D2>ifconfig_fxp0_alias0=3D"inet6 3ffe:3102:ffff:1::3 prefixlen 64" =
# My IPv6=20
IP address<BR>### IPv6 options: ###<BR>ipv6_enable=3D"YES"=20
<BR>ipv6_network_interfaces=3D"fxp0"<BR>ipv6_static_routes=3D""<BR>ipv6_g=
ateway_enable=3D"NO"<BR>ipv6_router_enable=3D"NO"<BR>ipv6_router=3D"/usr/=
sbin/route6d"<BR>ipv6_router_flags=3D""<BR>#ipv6_network_interfaces=3D"ed=
0=20
ep0"<BR>#ipv6_prefix_ed0=3D"fec0:0000:0000:0001 =
fec0:0000:0000:0002"&nbsp; #=20
Examples for rtr.<BR>#ipv6_prefix_ep0=3D"fec0:0000:0000:0003=20
fec0:0000:0000:0004"&nbsp; # Examples for=20
rtr.<BR>ipv6_default_interface=3D""<BR>prefixcmd_enable=3D"YES"<BR>rtadvd=
_enable=3D"YES"<BR>mroute6d_enable=3D"NO"<BR>mroute6d_program=3D"/usr/sbi=
n/pim6dd"<BR>mroute6d_flags=3D""=20
<BR>gif_interfaces=3D"NO"<BR>#gif_interfaces=3D"gif0=20
gif1"<BR>#gifconfig_gif0=3D"10.1.1.1 =
10.1.2.1"<BR>#gifconfig_gif1=3D"10.1.1.2=20
10.1.2.2"<BR>stf_interface_ipv4addr=3D""<BR>stf_interface_ipv4plen=3D"0"<=
BR>stf_interface_ipv6_ifid=3D"0:0:0:1"<BR>stf_interface_ipv6_slaid=3D"000=
0"</FONT></SPAN></DIV>
<DIV><SPAN class=3D050085119-21032002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D050085119-21032002><FONT face=3DArial color=3D#0000ff =
size=3D2>Best=20
Regards</FONT></SPAN></DIV>
<DIV><SPAN class=3D050085119-21032002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D050085119-21032002><FONT face=3DArial color=3D#0000ff =
size=3D2>Pedro=20
Goncalves</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> =
owner-6bone@ISI.EDU=20
  [mailto:owner-6bone@ISI.EDU]<B>On Behalf Of </B>Robert<BR><B>Sent:</B> =

  quinta-feira, 21 de Mar=E7o de 2002 5:40<BR><B>To:</B> =
6bone<BR><B>Subject:</B>=20
  could someone check my rc.conf please? a small error/warning there=20
  somewhere<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>I have something ? out of place here, =
because=20
  it's giving the error on startup shown below this config file. Apart =
from that=20
  one error? I think everything else is ok?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Thanks a lot for any help, I =
appreciate it.=20
  </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Robert</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2># -- sysinstall generated deltas --=20
  #<BR>ifconfig_lo0=3D"inet 127.0.0.1"<BR>ifconfig_ed0=3D"inet =
203.1.96.6&nbsp;=20
  netmask 255.255.255.0"<BR>ifconfig_stf0=3D"inet6 2002:cb01:6006::1 =
prefixlen 16=20
  alias"<BR>hostname=3D"ruby.chalmers.com.au"</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>named_enable=3D"YES"</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial=20
  =
size=3D2>defaultrouter=3D"203.1.96.5"<BR>static_routes=3D""<BR>gateway_en=
able=3D"NO"<BR>router_enable=3D"NO"<BR>mrouted_enable=3D"NO"<BR>inetd_ena=
ble=3DYES<BR>tcp_extensions=3D"YES"<BR></FONT><FONT=20
  face=3DArial size=3D2><BR>### IPv6 options:=20
  =
###<BR>ipv6_enable=3D"YES"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  <BR>ipv6_network_interfaces=3D"auto"&nbsp;=20
  <BR>ipv6_gateway_enable=3D"YES"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  <BR>ipv6_prefix_ed0=3D"2002:cb01:6006"</FONT></DIV>
  <DIV><FONT face=3DArial=20
  =
size=3D2>ipv6_static_routes=3D"default"<BR>ipv6_route_default=3D"default =

  =
2002:cdb2:5ac2::1"<BR>stf_interface_ipv4addr=3D"203.1.96.6"</FONT></DIV>
  <DIV><FONT face=3DArial=20
  =
size=3D2>----------------------------------------------------------------=
---------</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>error from startup </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Mar 21 15:19:15 ruby kernel: =
ifconfig:<BR>Mar 21=20
  15:19:15 ruby kernel: 2002:cb01:6006:240:5ff:fe4e:a982: bad =
value</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  =
<DIV>--------------------------------------------------------------------=
----</DIV>
  <DIV>output of startup.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Mar 21 15:19:14 ruby kernel: ed0:=20
  flags=3D8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; mtu =
1500<BR>Mar 21=20
  15:19:14 ruby kernel: inet 203.1.96.6 netmask 0xffffff00 broadcast=20
  203.1.96.255<BR>Mar 21 15:19:14 ruby kernel: inet6 =
fe80::240:5ff:fe4e:a982%ed0=20
  prefixlen 64 tentative scopeid 0x1<BR>Mar 21 15:19:14 ruby kernel: =
ether=20
  00:40:05:4e:a9:82<BR>Mar 21 15:19:14 ruby kernel: lo0:=20
  flags=3D8049&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; mtu 16384<BR>Mar 21 =
15:19:14=20
  ruby kernel: inet6 ::1 prefixlen 128<BR>Mar 21 15:19:14 ruby kernel: =
inet6=20
  fe80::1%lo0 prefixlen 64 scopeid 0x3<BR>Mar 21 15:19:14 ruby kernel: =
inet=20
  127.0.0.1 netmask 0xff000000<BR>Mar 21 15:19:15 ruby kernel: add net =
default:=20
  gateway 203.1.96.5<BR>Mar 21 15:19:15 ruby kernel: Additional routing=20
  options:<BR>Mar 21 15:19:15 ruby kernel: Routing daemons:<BR>Mar 21 =
15:19:15=20
  ruby kernel: Doing IPv6 network setup:<BR>Mar 21 15:19:15 ruby kernel: =
add net=20
  ::ffff:0.0.0.0: gateway ::1<BR>Mar 21 15:19:15 ruby kernel: add net =
::0.0.0.0:=20
  gateway ::1<BR>Mar 21 15:19:15 ruby kernel: =
net.inet6.ip6.forwarding:<BR>Mar=20
  21 15:19:15 ruby kernel: 0<BR>Mar 21 15:19:15 ruby kernel: =
-&gt;<BR>Mar 21=20
  15:19:15 ruby kernel: 1<BR>Mar 21 15:19:15 ruby kernel:<BR>Mar 21 =
15:19:15=20
  ruby kernel: net.inet6.ip6.accept_rtadv:<BR>Mar 21 15:19:15 ruby =
kernel:=20
  0<BR>Mar 21 15:19:15 ruby kernel: -&gt;<BR>Mar 21 15:19:15 ruby =
kernel:=20
  0<BR>Mar 21 15:19:15 ruby kernel:<BR>Mar 21 15:19:15 ruby kernel:=20
  ifconfig:<BR>Mar 21 15:19:15 ruby kernel: =
2002:cb01:6006:240:5ff:fe4e:a982:=20
  bad value</DIV>
  <DIV>&nbsp;</DIV>
  =
<DIV>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^=
^^^^^^^^^^^</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><BR>Mar 21 15:19:15 ruby kernel:<BR>Mar 21 15:19:15 ruby kernel: =
ed0:=20
  flags=3D8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; mtu =
1500<BR>Mar 21=20
  15:19:15 ruby kernel: inet6 fe80::240:5ff:fe4e:a982%ed0 prefixlen 64 =
scopeid=20
  0x1<BR>Mar 21 15:19:15 ruby kernel: inet6 2002:cb01:6006:: prefixlen =
64=20
  anycast<BR>Mar 21 15:19:15 ruby kernel: lp0:=20
  flags=3D8851&lt;UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST&gt; mtu =
1500<BR>Mar 21=20
  15:19:15 ruby kernel: ifconfig:<BR>Mar 21 15:19:15 ruby kernel: lp0 =
has no=20
  inet6 interface address!<BR>Mar 21 15:19:15 ruby kernel:<BR>Mar 21 =
15:19:15=20
  ruby kernel: lo0: flags=3D8049&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; =
mtu=20
  16384<BR>Mar 21 15:19:15 ruby kernel: inet6 ::1 prefixlen 128<BR>Mar =
21=20
  15:19:15 ruby kernel: inet6 fe80::1%lo0 prefixlen 64 scopeid =
0x3<BR>Mar 21=20
  15:19:15 ruby kernel: add net 2002:e000::: gateway ::1<BR>Mar 21 =
15:19:15 ruby=20
  kernel: add net 2002:7f00::: gateway ::1<BR>Mar 21 15:19:15 ruby =
kernel: add=20
  net 2002:0000::: gateway ::1<BR>Mar 21 15:19:15 ruby kernel: add net=20
  2002:ff00::: gateway ::1<BR>Mar 21 15:19:15 ruby kernel: add net =
fe80:::=20
  gateway ::1<BR>Mar 21 15:19:15 ruby kernel: add net ff02::: gateway =
::1<BR>Mar=20
  21 15:19:15 ruby kernel: add net default: gateway =
2002:cdb2:5ac2::1<BR>Mar 21=20
  15:19:15 ruby kernel: IPv4 mapped IPv6 address support=3DYES<BR>Mar 21 =
15:19:15=20
  ruby kernel: .<BR>Mar 21 15:19:15 ruby kernel: Additional =
daemons:<BR>Mar 21=20
  15:19:15 ruby kernel: syslogd</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0005_01C1D113.113E8BA0--