ipv6.xml 4.33 KB
Newer Older
Clément Stenac's avatar
Clément Stenac committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="ipv6"><title id="tipv6">
Stream in IPv6
</title>

<sect1><title>
Stream in IPv6
</title>

<sect2><title>
Requirements
</title><para> You will need an IPv6-aware operating
system, like Linux 2.4 or 2.6 with the <emphasis>ipv6</emphasis> module
loaded, Windows 2000 with the IPv6 stack, Windows XP Service Pack 1 or
Mac OS X version 10.2 or higher. Please look at the features pages on
the <ulink url="http://www.videolan.org">VideoLAN web site</ulink> to
know about the status of IPv6 in VLC and VLS for each O.S..
</para>

<para>
</para>

<note><para>

Under Windows 2000, you must add by hand a default
multicast IPv6 route, with the following command:

</para>

<screen>
<prompt># </prompt><userinput>ipv6 rtu ff::/8 4</userinput>
</screen>

<para>

where the last number (<emphasis>4</emphasis> in
this example) is the number of your true IPv6 interface. To have a list
of your IPv6 interfaces, run <command>ipv6 if</command>.

</para></note>

<warning><para>

Under Windows XP, you may have problems with a
hidden IPv6 firewall. To solve the problem, go to the list of Windows
Services and stop the IPv6 firewalling service.

</para></warning>

<warning><para>
If you are using VMware under Linux, you will have
to stop VMware and unload the VMware kernel modules, because we noticed
it prevented IPv6 streaming !
</para></warning>

</sect2>

<sect2><title>
Stream with VLC
</title>

<screen>
<prompt>% </prompt><userinput>vlc -vvv video1.xyz --ipv6 --sout udp:[ff08::1] --ttl 12</userinput>
</screen>

<para>
where:
</para>

<itemizedlist>

<listitem><para><filename>video1.xyz</filename>
 is the file you want to stream (you can also put
<command>dvdsimple:/dev/dvd</command> to stream a DVD or any other input
configuration)
,</para></listitem>

<listitem><para><emphasis>ff08::1</emphasis> 
is either :
</para>

<itemizedlist>

<listitem><para>
the IPv6 address of the machine you want to unicast
to
;</para></listitem>

<listitem><para>
or the multicast IPv6 address.
</para></listitem>

</itemizedlist>

</listitem>

<listitem><para><emphasis>12</emphasis>
 is the value of the TTL (Time To
Live) of your IP packets (which means that the stream will be
able to cross 11 routers).
</para></listitem>

</itemizedlist>

<note><para>
Under Unix/Linux, you may have to protect the square
brackets around the IPv6 address:
</para>

<screen>
<prompt>% </prompt><userinput>vlc -vvv video1.xyz --ipv6 --sout udp:\[ff08::1\] --ttl 12</userinput>
</screen>

</note>

<note><para>
You may have to specify the output network
interface:
</para>

<screen>
<prompt>% </prompt><userinput>vlc -vvv video1.xyz --ipv6 --sout udp:[ff08::1%eth0] --ttl 12</userinput>
</screen>

<para>
where <emphasis>eth0</emphasis> is the name of the
network interface (under Linux the network interfaces
are named <emphasis>ethX</emphasis>, under Mac OS X it's
<emphasis>enX</emphasis> and under Windows it's <emphasis>X</emphasis>,
where <emphasis>X</emphasis> is the appropriate number).
</para>

</note>

</sect2>

<sect2><title>
Stream with VLS
</title>

<para>
You will need to use the configuration
file <filename>vls.cfg</filename>. Please, see the <ulink url="http://www.videolan.org/doc/">VLS user guide</ulink> to know how to
write one for IPv6 streaming in unicast or multicast.
</para>

</sect2>
</sect1>

<sect1><title>
Receive in IPv6
</title>

<sect2><title>
Receive an unicast stream
</title>

<screen>
<prompt>% </prompt><userinput>vlc -vvv --ipv6 udp:</userinput>
</screen>

</sect2>

<sect2><title>
Receive a multicast stream
</title><screen>
<prompt>% </prompt><userinput>vlc -vvv --ipv6 udp:@[ff08::1]</userinput>
</screen>

<note><para>
Under Unix/Linux, you may have to protect the square
brackets around the IPv6 address:
</para>

<screen>
<prompt>% </prompt><userinput>vlc -vvv --ipv6 udp:@\[ff08::1\]</userinput>
</screen>

</note>

<note><para>
You may have to specify the output network
interface:
</para>

<screen>
<prompt>% </prompt><userinput>vlc -vvv video1.xyz --ipv6 --sout udp:[ff08::1%eth0] --ttl 12</userinput>
</screen>

<para>
where <emphasis>eth0</emphasis> is the name of the
network interface (under Linux the network interfaces
are named <emphasis>ethX</emphasis>, under Mac OS X it's
<emphasis>enX</emphasis> and under Windows it's <emphasis>X</emphasis>,
where <emphasis>X</emphasis> is the appropriate number).
</para>

</note>
</sect2>

</sect1>
</chapter>