Linux treats IPv4 and IPv6 separately (as well it should). Its no problem to
have two gateways (one IPv4 ... one IPv6).
I think I'll go the route of modifying ifup and adding
/lib/services/ipv6-static* entries I guess... *groan* Although, I could just
ditch the current network start script and roll my own. Then I could use
/etc/sysconfig/ifconfig.eth0 in anyway that I wanted...
I also could just use the old method from 6.4 ... just copy the start script
from there and so on... I'll noodle on it awhile. Thanks for your help.
PS: might want to consider having IPv6 addressing support built in for future
versions as it is the future...
> From: "Bruce Dubbs" <[email protected]>
> To: "BLFS Support List" <[email protected]>
> Sent: Wednesday, September 9, 2015 1:50:20 PM
> Subject: Re: [blfs-support] LFS 7.7 and IPv6
> 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--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page