Comparatif : TCP/IP
mardi 30 juin 2009
par
popularité : 2%
par
popularité : 2%
TCP / IP
Network IP configuration | lsattr -E -l inet0 | /etc/rc.conf | /etc/rc.config.d/netconf | /etc/sysconfig/network-scripts/ | /etc/hostname.* /etc/inet/* /etc/defaultrouter |
/etc/rc.config |
Hosts IP addresses | /etc/hosts | /etc/hosts | /etc/hosts | /etc/hosts | /etc/inet/hosts | /etc/hosts |
Name service switch | /etc/netsvc.conf | /etc/host.conf | /etc/nsswitch.conf | /etc/nsswitch.conf | /etc/nsswitch.conf | /etc/svc.conf |
paramètres réseaux | no -a | sysctl | ndd -h | sysctl -a | grep net | ndd /dev/[tcp|ip] ? | |
Routage | gated | routed | gated | routed | in.routed | routed |
NIC Configurations | ifconfig -a | ifconfig -a | lanscan -v | ifconfig -a | ifconfig -a | ifconfig -a |
Secondary IP Address | ifconfig en0 alias IP | ifconfig xl0 alias IP | ifconfig lan0:1 IP | modprobe ip_alias ifconfig eth0:1 IP |
ifconfig hme0:1 IP up | ifconfig ln0 alias |
Login prompt | HERALD @ /etc/security/login.cfg |
telnetd -b /etc/issue | /etc/issue | BANNER @ /etc/default/telnetd |
/etc/issue | |
Increase the # of pseudo-terminals | odmget -q "attribute=num and uniquetype=pty/pty/pty" PdAt
| sed "s/0-64/0-512/" | odmchange -q "attribute=num and uniquetype=pty/pty/pty" -o PdAt chdev -l pty0 -anum=256 -P |
rebuild your kernel with these new values NPTY=# NSTRPY=# reboot insf -d ptys -n # |
cd /dev ./MAKEDEV -v pty |
{/etc/system} set pt_cnt = # {SYSV} set npty = # {BSD} {/etc/iu.ap} halt |
cd /dev ./MAKEDEV PTY_1 |
|
Maximum # of ptys | 512 | {MAXUSERS} | 256 | 176
{BSD} 3000 {SYSV} |
8192 | |
Remote Shell | remsh rsh |
rsh | remsh | rsh | rsh | rsh |
YP/NIS service binder | /usr/lib/netsvc/yp/ypbind | /usr/sbin/ypbind | /usr/lib/netsvc/yp/ypbind | /sbin/ypbind | /usr/lib/netsvc/yp/ypbind | /usr/sbin/ypbind |
Commentaires Forum fermé