[TriLUG] IPv6 Networking on CentOS (RHEL)
Kevin Otte
nivex at nivex.net
Wed Dec 21 16:18:21 EST 2011
Unfortunately I would only be able to offer guesses as to why the
differences exist.
It makes a certain amount of sense, however, that routes only be brought
up on the interfaces for which you know the packets are destined. Even
if the gateway changes, you're still going to be editing that file anyway.
On 12/20/2011 09:22 AM, Brian Weaver wrote:
> Hi All,
>
> I'm the resident OS guy at the office where I work and I've been
> tasking with adding IPv6 support to our appliance which uses CentOS
> as its base system. Most of the network setup has been very
> straightforward. I have a curses program, written in Perl, that the
> customer uses to configure their network setting. Gathering the
> information isn't really hard but I've noticed some differences with
> network scripts that setup the IPv4 addressing when compared with the
> IPv6 addressing.
>
> I'll admit that I'm not an IPv6 expert so I'm wondering if it's just
> an oversight or if the differences are by design. The particular area
> where I'm running into issues is allowing the user to add their own
> static routes. For the IPv4 static routes I stored the customer's
> route information in the file '/etc/sysconfig/static-routes'. The
> static routing information for IPv4 is stored so that the first
> argument on any line is the device associated with the route (eth0,
> eth1, etc) or the keyword 'any'. If the device is 'any' then when the
> network is started by the init script those routes are added.
>
> The static routing file for IPv6 does not appear to support adding
> what I'll term as global routes (the 'any' device) when networking is
> started via the init script. The '/etc/sysconfig/static-routes-ipv6'
> file is only processed by the ifup-ipv6 script when an interface is
> assigned an IPv6 address, and it only processes routes assigned to
> the device passed to the ifup-ipv6 script. I guess I'm wondering why
> there is a difference w/regards to the IPv6 static routes as compared
> to the IPv4 static routes?
>
> -- Cmdr Clueless
More information about the TriLUG
mailing list