Tuesday, January 18, 2011

Disable IPv6 in Debian

As I've posted before that there may be reasons you want to disable IPv6.  A simple way to do this in Debian is to edit /etc/modprobe.d/aliases with the following lines

alias net-pf-10 off
alias ipv6 off

Restart and verify you are no longer running IPv6 by using the netstat command.

netstat -tunlp

Wednesday, January 12, 2011

Restarting interfaces in Solaris

On occasion you may just want to bring an interface down and then backup up again without actually restarting the network services.  To restart interfaces in Solaris simply do the following.

For the example we'll say and ifconfig -a showed you ce0, ce1, ce2, ce3

To bring an interface down:   ifconfig ce0 down
To bring an interface up:       ifconfig cd0 up