Jason Joines wrote:
There was a USE_IPV6 variable in the 9.3 /etc/sysconfig/network/config that could be set to "no" to disable IPv6. There is no such variable in the 10.0 /etc/sysconfig/network/config. How do you disable IPv6 in 10.0?
Thanks,
Jason Joines ==============================
Looking at the stuff in 9.3 it looked like the command "ip -6 address flush dev eth0" would work. Running it manually does work just fine. I added the USE_IPV6=no variable to the /etc/sysconfig/network/config file on the 10.0 box. Then this was added to the /sbin/ifup script on the 10.0 box in the same place as it was found on the 9.3 box: if [ "$SCRIPTNAME" != ifstatus -a "$USE_IPV6" = no ] ; then ip -6 address flush dev $INTERFACE fi With this I could manually go down to runlevel 1 and then back up to runlevel 3 and see that there were no ipv6 addresses assigned to any NICs. However, if I rebooted the box, the interfaces would again have ipv6 when it came back up. I tried adding this script to flush ipv6 to /etc/sysconfig/network/if-up.d/ #!/bin/bash for J in `ifconfig | grep Link | awk '{print $1}'` do echo flushing IPv6 from $J ip -6 addr flush dev $J done Again, running it manually works fine. However, when the box boots I see the output "nothing to flush" for each interface and then they still have ipv6 addresses when the box if completely up. Seems like the ipv6 stuff must be happening after these scripts run but I haven't got it sorted it out yet. Are there any ways of disabling ipv6 support in the kernel at boot? Any other good way to disable it? Jason Joines =================================