[Wylug-discuss] Manual IPv6 on Fedora Core 6
Jim Jackson
jj at franjam.org.uk
Tue Nov 13 16:08:48 GMT 2007
Kevin,
On Tue, 13 Nov 2007, Kevin Barrass wrote:
> I am having trouble assigning a static/Manual IPv6 address on a PC
> running Fedora Core 6 with ALL latest patches applied.
> In /etc/sysconfig/networking/devices/ifcfg-eth0 I have the below:
>
> DEVICE=eth0
> BROADCAST=x.x.x.x
> HWADDR=xx:xx:xx:xx:xx:xx
> IPADDR=x.x.x.x
> IPV6ADDR=xxxx:xxxx:xxxx:2::6/64
> IPV6PREFIX=64
> NETMASK=255.255.255.248
> NETWORK=x.x.x.x
> ONBOOT=YES
> GATEWAY=x.x.x.x
> TYPE=Ethernet
>
> Running ifconfig eth0 shows that the Global IPv6 address assigned on the
> interface is an auto configured one not the one configured above.
>
> Has anyone had any experience doing this and had the same problem. Also
> I noticed there is nowhere during the fedora installation to configure
> an IPv6 default gateway, on Linux are you assumed to rely on router
> advertisements for the default gateway.
on a working statically configured Fedora box....
/etc/sysconfig/networking/devices/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:13:72:93:7B:47
ONBOOT=yes
IPV6INIT=yes
IPV6ADDR=2001:630:62:59::80/64
/sbin/ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:13:72:93:7B:47
inet addr:129.11.59.52 Bcast:129.11.59.255 Mask:255.255.255.0
inet6 addr: 2001:630:62:59:213:72ff:fe93:7b47/64 Scope:Global
inet6 addr: fe80::213:72ff:fe93:7b47/64 Scope:Link
inet6 addr: 2001:630:62:59::80/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:745029 errors:0 dropped:0 overruns:0 frame:0
TX packets:742173 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:112373305 (107.1 MiB) TX bytes:85041094 (81.1 MiB)
Interrupt:16
notice the autoconf address as well as the statically assigned one.
More information about the Wylug-discuss
mailing list