?????????? - PowerPoint PPT Presentation

1 / 42
About This Presentation
Title:

??????????

Description:

Title: PowerPoint Author: limhai Last modified by: limhai Created Date: 4/24/2003 10:39:27 AM Document presentation format: – PowerPoint PPT presentation

Number of Views:75
Avg rating:3.0/5.0
Slides: 43
Provided by: lim125
Category:
Tags:

less

Transcript and Presenter's Notes

Title: ??????????


1
????
??????
2
???? ??????
13.1 ?????? 13.1.1 TCP/IP???? 13.1.2 ??TCP/IP?? 13.1.3 ?????? 13.2 ?????? 13.2.1 ?????? 13.2.2 ?????? 13.2.3 ???? 13.2.4 ???
3
???? ??????(2)
????
??TCP/IP???????? ??TCP/IP??????? ??TCP/IP??????? ?
?TCP/IP?????????
4
13.1.1 TCP/IP????
5
TCP/IP????
?????? ??
syslogd portmap inetd named lpd routed or gated sendmail snmpd, dpid2 dhcpcd, dhcprd, dhrcpsd ?????? RPC?????? ?????????? ???? ???? ???? ???? ?????? DHCP????IP??
6
??TCP/IP????
  • ????TCP/IP?????
  • startsrc g tcpip
  • ????TCP/IP?????,??inetd ??
  • startsrc s inetd
  • ????TCP/IP?????
  • stopsrc g tcpip???/etc/tcp.clean??

7
????
??????? ???? ??
entx entx tokx atmx fddix Sx25a sax sax enx etx trx atx fix xsx slx ppx ??????? IEEE 802.3????? ????? ???????? ????????? X.25???? ?????? ???????
8
inet0
  • Aix?TCP/IP???,????????????,???????? inet0
  • Inet0 ????????ODM??,????
  • ? chdev ?????inet0???,?????ODM??
  • ????????server3
  • chdev -l inet0 -a hostnameserver3
  • inet0 changed

9
13.1.2 ??TCP/IP??
10
Minimum??
smit mktcpip
???????????
11
Further??
12
??????
13
13.1.3 ??????
  • ?????????
  • ?smit tcpip???????
  • ?mkdev?chdev???????
  • ?ifconfig???????
  • ?chdev?mkdev???ODM??????,???????
  • ifconfig??????,?????,?????????.

14
?????????
  • Up??,????????????
  • Down??,?????????,????????????????
  • Detach??,????????
  • ?????????????,???????,???????????detach??

15
?smit??????
16
?chdev??????
?chdev???????????(permanent),??????????ODM
  • ??
  • ?en0????ip?9.3.240.58,?????255.255.255.0
  • chdev -l en0 -a netaddr'9.3.240.58' -a
    netmask255.255.255.0
  • en0 changed

17
?ifconfig??????
????down??
18
9.2.1 ??????
ping
traceroute
netstat
ifconfig
lsdev
19
ping
  • ???????ICMP????????????,????????????????,????????
    ??????,????ping???
  • ?????????????,??ping??????????

20
traceroute
  • ?????????????????????
  • ???????????,????,?????????????

21
netstat
??????????
22
netstat(2)
?????????
23
ifconfig
??en0????
?en0???????IP
en0?????????IP
24
ifconfig
  • ?ifconfig,??ipconfig
  • ????????????????IP??,???ifconfig a
  • ??????????(available)????,???ifconfig l
  • ???????mtu ??,no??????

25
lsdev
??????????
26
9.2.2 ??????
/etc/hosts
/etc/resolv.conf
/etc/inetd.conf
/etc/services
27
/etc/hosts
??????IP?????,??????
28
/etc/resolv.conf
????????????
????????
29
/etc/inetd.conf
??????????
30
/etc/services
????????(port)??? ftp
21/tcp telnet 23/tcp ..
  • ??
  • telnet???????7777/tcp,??????????????,??telnet
    202.115.48.141 7777??

31
9.2.3 ????
telnet
ftp
rcp?rsh?rlogin
rexec
sendmail
32
ftp?telnet
telnet ??????????,???Internet?????????????,??????
???????????????,?????????????????
ftp ??TCP/IP?????????????,?????????????????
33
rexec
rexec ?????????????,????????rexec?????,?????/et
c/inetd.conf???? HOME/.netrc??????rexec
?ftp????????????,????rexec ?ftp??,??????????????,?
???,??.netrc????????,??????????600,??.netrc???
34
rexec(2)
  • ??
  • HOME/.netrc??????
  • Machine p610 login limhai password 123456
  • ????ftp p610?rexec p610 command??????,??.netrc???
    ???????limhai ????p610??????123456
  • ??????????????????rexec??,????,?????????????.netr
    c ??????

35
rsh?rcp?rlogin
???? ftp rcp ?????? rexec
rsh ???? telnet rlogin
rsh?rcp?rlogin ?Berkeley????UNIX???????
36
rsh?rcp?rlogin(2)
  • ???????daemon(????)?????(nontrusted),?????????/et
    c/hosts.equiv ?HOME/.rhosts???????????,??????????
    ????
  • ??rcp?rlogin? rsh? tftp
  • ????rlogind?rshd?tftpd

37
rsh?rcp?rlogin???
??
/etc/hosts.equiv ?????? ????
?????? /etc/passwd?
??? root?
?????? ?????? ????
N
Y
N
Y
Y
N
Y
HOME/.rhosts ??????? ?????
N
Y
??
N
Y
Y
?? rlogin?
N
???????
??
N
38
rsh?rcp?rlogin???(2)
  • /etc/hosts.equiv
  • ?????????
  • HOME/.rhosts
  • ????????????
  • ??????limhai??????
  • rcp limhai_at_p610file2 file3
  • ?p610????file2???????,?????file3

39
sendmail
  • ????sendmail??????/etc/sendmail.cf
  • ???sendmail.cf ?,?????,????
  • refresh s sendmail
  • ?/etc/aliases?????sendmail???(alias)
  • ??/etc/aliases???,????sendmail bi?newaliases
    ??????

40
9.2.4 ???(1)
1?????????IP,?????????
  1. smitty chgenet
  2. smitty add_interface
  3. ifconfig en0 newipaddress netmask netmask alias
  4. ????????

41
???(2)
2???????????stop and restart TCP/IP??????
  1. Use netstat command
  2. Use the SRC utility to stop and restart
  3. Use the netconfig utility menu
  4. Issue the rmdev command on the appropriate
    network adapter

42
???(3)
?? 1?C 2?B
Write a Comment
User Comments (0)
About PowerShow.com