I want to change the contents of my /etc/sysconfig/static-routes-ipv6 and NOT restart the network.
Is there a way to do this???
I know about ifup and ifdown for interfaces, but what about routing (and IP6 at that).
Quoting Robert Moskowitz rgm@htt-consult.com:
I want to change the contents of my /etc/sysconfig/static-routes-ipv6 and NOT restart the network.
Is there a way to do this???
I know about ifup and ifdown for interfaces, but what about routing (and IP6 at that).
Have you tried /etc/sysconfig/network-scripts/ifup-routes ??
Barry
Barry Brimer wrote:
Quoting Robert Moskowitz rgm@htt-consult.com:
I want to change the contents of my /etc/sysconfig/static-routes-ipv6 and NOT restart the network.
Is there a way to do this???
I know about ifup and ifdown for interfaces, but what about routing (and IP6 at that).
Have you tried /etc/sysconfig/network-scripts/ifup-routes ??
oh, that sounds promising. I will be trying it later. Though I will probably have to run ifdown-routes first? (This is a change.)
Barry Brimer wrote:
Quoting Robert Moskowitz rgm@htt-consult.com:
I want to change the contents of my /etc/sysconfig/static-routes-ipv6 and NOT restart the network.
Is there a way to do this???
I know about ifup and ifdown for interfaces, but what about routing (and IP6 at that).
Have you tried /etc/sysconfig/network-scripts/ifup-routes ??
This did the trick. Thanks.
on 8-26-2008 3:57 PM Robert Moskowitz spake the following:
I want to change the contents of my /etc/sysconfig/static-routes-ipv6 and NOT restart the network.
Is there a way to do this???
Change the routes in /etc/sysconfig/static-routes-ipv6 then manually add them with the route command. Example from route man page;
For IPv6, only the slash format is accepted. The following example creates an IPv6 route to the destination 33fe:: with a netmask of 16 one-bits followed by 112 zero-bits.
example# route add -inet6 3ffe::/16 somegateway
In cases where the gateway does not uniquely identify the output interface (for example, when several interfaces have the same address), you can use the -ifp ifname modifier to specify the interface by name. For example, -ifp lo0 associ- ates the route with the lo0 interface.
I know about ifup and ifdown for interfaces, but what about routing (and IP6 at that).
Scott Silva wrote:
on 8-26-2008 3:57 PM Robert Moskowitz spake the following:
I want to change the contents of my /etc/sysconfig/static-routes-ipv6 and NOT restart the network.
Is there a way to do this???
Change the routes in /etc/sysconfig/static-routes-ipv6 then manually add them with the route command. Example from route man page;
For IPv6, only the slash format is accepted. The following example creates an IPv6 route to the destination 33fe:: with a netmask of 16 one-bits followed by 112 zero-bits.
example# route add -inet6 3ffe::/16 somegateway
I knew about the route command, was hoping for something that would read the file. The ifup-routes sounds like the command I need.
In cases where the gateway does not uniquely identify the output interface (for example, when several interfaces have the same address), you can use the -ifp ifname modifier to specify the interface by name. For example, -ifp lo0 associ- ates the route with the lo0 interface.
I know about ifup and ifdown for interfaces, but what about routing (and IP6 at that).
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos