4/5/09

Solaris | Comandos varios

Configurar la placa de red:
#ifconfig xl0 inet 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255

IP -> /etc/hosts
Netmask -> /etc/netmasks
Gateway -> /etc/defaultrouter
IP (again) -> /etc/inet/ipnodes (This is new in Solaris 10)
DNS Servers -> /etc/resolv.conf

svcadm restart network/physical



FIREWALL

Enable Solaris IP Filter
#svcadm enable network/ipfilter

Re-enable packet filtering
#ipf -E

Activate packet filtering
#ipf -f

Active NAT (optional)
#ipnat -f

Desactivar las reglas
#ipf -D


VER PROCESOS QUE SE ESTAN CORRIENDO:

ps -Aef


VER PROCESOS (como el top de Linux):
prstat

No hay comentarios:

Publicar un comentario