1 / 14

네 트 워 크 기초

네 트 워 크 기초. ㈜ 그린벨시스템즈 기술지원부. O/S 설치 후 Network 설정. 네트워크 정보수집 시스템의 호스트 네임 및 IP Address Router(Default router) DNS Server Netmask 시스템의 호스트 네임 , IP Address 확인 /etc/hosts /etc/hostname.hme0. /etc/nodename /etc/net/ticlts/hosts, /etc/net/ticots/hosts, /etc/net/ticotsord/host

belle
Télécharger la présentation

네 트 워 크 기초

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 네 트 워 크 기초 ㈜그린벨시스템즈 기술지원부

  2. O/S 설치 후 Network설정 • 네트워크 정보수집 • 시스템의 호스트 네임 및 IP Address • Router(Default router) • DNS Server • Netmask • 시스템의 호스트 네임, IP Address 확인 • /etc/hosts • /etc/hostname.hme0 (주)그린벨시스템즈

  3. /etc/nodename • /etc/net/ticlts/hosts, /etc/net/ticots/hosts, /etc/net/ticotsord/host • 시스템의 NetMask 확인 및 설정 • /etc/netmasks (주)그린벨시스템즈

  4. Router 설정 /etc/defaultrouter 파일에 영구적으로 등록 /usr/sbin/route 명령어로 라우팅 테이블에 router 등록 # route add default 203.240.208.1 1 DNS 설정 /etc/nsswitch.conf (주)그린벨시스템즈

  5. /etc/resolv.conf 네트워크 설정확인 Network Interface Routing Table (주)그린벨시스템즈

  6. 네트워크 연결상태확인(/usr/sbin/ping) • localhost 점검 • router 연결 상태 • DNS 연결 상태 (주)그린벨시스템즈

  7. Network interface speed 및 mode 설정 설정방법 • /usr/sbin/ndd command 이용 일시적으로 설정 • /etc/system 파일에 parameter 등록 영구적인 설정 ndd 명령어 이용 parameter 설정 • 강제적으로 100M full-duplex mode 설정 # ndd -set /dev/hme adv_100fdx_cap 1 # ndd -set /dev/hme adv_100hdx_cap 0 # ndd -set /dev/hme adv_10fdx_cap 0 # ndd -set /dev/hme adv_10hdx_cap 0 # ndd -set /dev/hme adv_autoneg_cap 0 # ndd -set /dev/hme adv_100T4_cap 0 • 1 = ON 0 = OFF (주)그린벨시스템즈

  8. /etc/system 파일에 등록 • 강제적으로 100M full-duplex mode 설정 set hme:hme_adv_autoneg_cap=0 set hme:hme_adv_100T4_cap=0 set hme:hme_adv_100fdx_cap=1 set hme:hme_adv_100hdx_cap=0 set hme:hme_adv_10fdx_cap=0 set hme:hme_adv_10hdx_cap=0 • 1 = ON 0 = OFF 속도, 모드설정 및 auto-negotiation 상태확인 # ndd –get /dev/hme link_status (0=link down 1=link up) # ndd –get /dev/hme link_speed (0=10Mbps 1=100Mbps) # ndd –get /dev/hme link_mode (0=half 1=full duplex) # ndd –get /dev/hme autoneg_cap (0=Off 1=On) 링크 파트너 설정 검사 # ndd –get /dev/hme lp_autoneg_cap # ndd –get /dev/hme lp_100fdx_cap (1=enable/capable, 0=not “enable/capable”) (주)그린벨시스템즈

  9. Network Commend /usr/sbin/ifconfig • 모든 네트워크 인터페이스 파라미터들의 구성 정보를 보여주고, IP Address나 파라미터들을 재정의하는데 사용 • /usr/sbin/ifconfig –a : 로컬 호스트에서 사용하고 있는 모든 네트워크 인터페이스의 구성정보를 확인 • lo0, hme0 : 네트워크 인터페이스 이름 • flags : 인터페이스의 상태를 수로 표현한 것 • mtu : packet fragmentation을 결정 • inet : 인터페이스을 위한 IP Address • netmask : network layer에서 패킷의 incoming/outcoming을 위해 적용되며 network address bit들을 나타내는 bit 값을 정의하기 위해 사용 • broadcast : 모든 호스트에게 메시지를 보낼 때 사용되는 명령어 • ether : ARP에 의해 사용되는 ethernet address (주)그린벨시스템즈

  10. interface disable • # ifconfig hme0 down • interface enable • # ifconfig hme0 up • interface close • # ifconfig hme0 unplumb • interface open • # ifconfig hme0 plumb • IP Address 설정 • # ifconfig hme0 203.240.208.16 • netmask와 broadcast 값 변경 • # ifconfig hme0 down • # ifconfig netmask 255.255.255.0 boradcast + up • 파라미터들을 한 번에 설정 • # ifconfig hme0 down • # ifconfig hme0 203.240.208.16 netmask 255.255.255.0 broadcast + up (주)그린벨시스템즈

  11. /usr/sbin/snoop • 네트워크 패킷을 캡쳐하고 패킷의 목록을 보고자 할 때 • Summary mode를 사용하여 broadcast packets 검사 • # snoop broadcast (주)그린벨시스템즈

  12. verbose mode를 사용하여 broadcast의 packet 및 header 정보 출력 • # snoop –v broadcast (주)그린벨시스템즈

  13. Summary verbose mode를 사용하여 특정호스트로의 들오고 나가는 packet상의 정보 출력 • # snoop –V greenbell (주)그린벨시스템즈

  14. Summary verbose mode를 사용하여 특정호스트로의 들오고 나가는 packet상의 정보 출력을 파일로 저장 • # snoop –o /tmp/snooper –V greenbell • 파일로 저장된 snoop data를 읽을 때 • # snoop –i /tmp/snooper (주)그린벨시스템즈

More Related