Show Table of Contents
25.3.2. LCS 장치 추가하기
LAN 채널 스테이션(LAN channel station,LCS) 장치 드라이버는 1000Base-T 이더넷을 OSA-Express 2나 OSA-Express 3에서 지원합니다.
추가된 인터페이스 유형에 알맞게 LCS 드라이버는 다음 중 한가지 기본 인터페이스 이름을 할당합니다:
- OSA-Express Fast Ethernet/Gigabit Ethernet에 대해 ethn
여기서 n은 장치를 식별하는 정수를 말합니다. 해당 유형의 첫번째 장치의 n는 0이며, 두번째 장치는 1, 그 이후는 계속 숫자가 증가되어 할당됩니다.
25.3.2.1. LCS 장치를 동적으로 추가하기
- 장치 드라이버를 로딩하기:
# modprobe lcs cio_ignore명령으로 네트워크 채널을 무시할 장치 목록에서 제거하여, Linux가 인식하도록 합니다:# cio_ignore -r read_device_bus_id,write_device_bus_idread_device_bus_id과 write_device_bus_id를 네트워크 장치를 표현하는 2개의 장치 버스 ID로 변경합니다. 예를 들어:# cio_ignore -r 0.0.09a0,0.0.09a1- 그룹 장치를 생성하십시오:
# echo read_device_bus_id,write_device_bus_id > /sys/bus/ccwgroup/drivers/lcs/group - 장치를 설정합니다. OSA 카드는 한 CHPID에 최대 16개 포트까지 제공합니다. LCS 그룹 장치는
0포트를 기본으로 사용합니다. 다른 포트를 사용하려면, 다음과 같은 명령을 입력하시면 됩니다:# echo portno > /sys/bus/ccwgroup/drivers/lcs/device_bus_id/portnoportno를 원하는 포트 번호로 지정하십시오. LCS 드라이버 설정에 대한 더 많은 정보는 Linux on System z Device Drivers, Features, and Commands on Red Hat Enterprise Linux 6의 LCS에 대한 장을 참조하십시오. - 장치를 온라인 상태로 설정하십시오:
# echo 1 > /sys/bus/ccwgroup/drivers/lcs/read_device_bus_id/online - 네트워크 장치가 할당되었는지 알아보기 위해, 다음 명령을 입력하십시오:
# ls -l /sys/bus/ccwgroup/drivers/lcs/read_device_bus_ID/net/ drwxr-xr-x 4 root root 0 2010-04-22 16:54 eth1

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.