perl-list wrote:
I need to do both IPv4 and IPv6. It was addressed in LFS 6.4 (the last one I
used) wasn't it?
No, we've never addressed ipv6
Just needed to create a file /etc/sysconfig/network-devices/ifconfig.eth0/ipv6
with contents of:
ONBOOT=yes
SERVICE=ipv6-static
PREFIX=64
IP=XXXX:X:XXXX:XXXX::XXX
GATEWAY=XXXX:X:XXXX:XXXX::X
where the X are actually the relevant IP and gateway :)
We don't have a ipv6-static service, but it shouldn't be hard to create
one from ipv4-static. The problem would be in /sbin/ifup because it
won't allow more than one gateway.
The easiest way to do this would be to create a custom boot script to do
ip route add default via ${GATEWAY} dev ${IFACE}
but I've never tried more than one gateway.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page