Конфигурирование TCP/IP на SunSPARC

Конфигурирование TCP/IP на SunSPARC

  • Конфигурирование TCP/IP на SunSPARC.
  • UDP checksums

  • Сперва надо определиться, как нас звут, и какой у нас IP-адрес. Например:

          hostname: sun20
          Домен: mfu.msk.su

          Мост(gateway): router1.mgts.msk.su
    Заполняем файлы /etc/nodename, /etc/hostname.le0, /etc/hosts, /etc/nsswitch.conf, /etc/resolv.conf /etc/defaultdomain, /etc/defaultgateway, и перезагружаемся. Все.
    /etc/nodename :------------------------------------------------- sun20
    /etc/hostname.le0 :--------------------------------------------- sun20
    /etc/defaultdomain :-------------------------------------------- mfu.msk.su
    /etc/defaultgateway :------------------------------------------- router1
    /etc/resolv.conf :---------------------------------------------- domain ips.ras.ru search ips.ras.ru ras.ru nameserver nameserver
    /etc/nsswitch.conf :----------------------------------------------
    /etc/hosts: # . . . sun20.mfu.msk.su sun20 router1.mfu.msk.su router1

    UDP checksums

    75) I keep getting "data corruption" when using NFS over a wan,
          or slip/ppp link. What do I do? or
          Does anybody know how to enable UDP checksum on NFS?

          The usually cause for this(at least for SunOS4.x) is not
          having udp checksumming turned on.

          You can turn it at boot and while the machine is running
          by using the following adb script:

          adb -w -k /vmunix /dev/mem << EOF

          Install or call this script from rc.local.

          Or edit /usr/kvm/sys/netinet/in_proto.c and change the
          udp_cksum line (near the end from udp_cksum = 0 to udp_cksum =1
          and reconfigure your kernel and reboot)

          For Solaris2.3:

          udp checksumming is turned on by default under SunOS5.x.

    Home | UK Shop Center |Contact | Buy Domain | Directory | Web Hosting | Resell Domains

    Copyleft 2005 ruslib.us