하드웨어/Network 장비2010. 12. 11. 11:54
네트워크 카드를 묶어서 사용하는것으로 teaming / channel boding 식으로 부르는데
Intel Pro/100 이런 구형 카드도 지원하는것으로 보인다.

2010.12.16 추가
어쩌면 Pro/100 이라도 Server 나 Management 급에서만 되고 Desktop 은 안되는걸려나?



Supported Adapters
Teaming options are supported on Intel® PRO/100, PRO/1000, PRO/10GbE, Gigabit, and 10 Gigabit server adapters and the Intel® Gigabit CT Desktop Adapter. Teaming options are supported on Intel desktop adapters if there is at least one server adapter installed. Selected LAN adapters and LAN on Motherboard (LOM) connections from other manufacturers are also supported on a best effort basis.

[링크 : http://www.intel.com/support/network/sb/cs-009747.htm]

[링크 : http://support.dell.com/support/edocs/network/9195p/en/Intel_nic_teaming_10.pdf]
Posted by 구차니
하드웨어/Network 장비2010. 12. 11. 10:13
RealTek PCIe GbE Link Unstable / MAC loopback fail


전원관리라던가 여러가지 설정을 해보아도 차도가 없어서 허브 문제인가? 막 고민을 해봤는데,
생각을 해보니 세대 전부 끊어진다 -_-
Netgear 허브던 3COM 이던간에 일단 본체가 전부 동일 회사 제품이고
비슷한 모델인지라 일단 랜카드 역시 동일 기종이다.


일단 사용하는 모델은
Realtek PCI-express GbE 이고 내부 모델명은 RT8167 이었다.

그리고 진단 프로그램으로 링크가 끊어졌을때 테스트를 해보니
MAC Lookback에서 실패가 뜬다.



예전에 배운 OSI 7계층을 떠올려보니..
MAC이라면 하드웨어 계층일텐데 드라이버 보다는 그럼... 칩셋자체 문제일려나? 라는 의심이 무럭무럭 -_-
[링크 : http://en.wikipedia.org/wiki/OSI_model]
    [링크 : http://en.wikipedia.org/wiki/PHY_%28chip%29]
    [링크 : http://en.wikipedia.org/wiki/Media_Access_Control]

NIC는 Network Interface Card 또는 Network Interface Controller라고도 합니다. 보통 LAN 카드를 지칭하며 가끔 MAC Controller Chip을 지칭하기도 합니다. 보통의 Ethernet 계층 중 H/W로 구현되는 주요한 chipset은 MAC Chip과 PHY chip으로 나뉩니다.(요즘 UTP를 쓰는 LAN 환경에서는 두 가지 기능이 하나의 chip으로 구현된 경우가 많습니다.) MAC chip은 Data Link의 MAC 계층(Media Access Control)을 구현한 chip이며(CSMA/CD 기능 등), PHY 칩은 Physical Layer 기능을 구현한 chip입니다(부호변환 등). 좀 더 도움이 필요하시면 알려드리도록 하겠습니다.

[링크 : http://www.2cpu.co.kr/bbs/board.php?bo_table=QnA&wr_id=174802]

Realtek의 최신드라이버를 받아봐도 예전히 해결이 안되는건 어쩌리오 -_-
[링크 : http://www.realtek.com.tw/downloads/downloadsView.aspx]
Posted by 구차니
하드웨어/Network 장비2010. 12. 10. 15:31
회사의 컴퓨터 중에 랜카드를 통해서 테스트 하는 넘이 3대가 있는데
이번에 증원한 3com 관리용 허브 + 쿼드코어(코어 듀오) 녀석이 이상한 현상을 보여주었다.

증상. 랜덤하게 네트워크가 먹통이 됨
        선을 뽑았다 꼽거나 허브를 껐다켜기 전에는 복구가 안됨



아무튼 unstable realtek GbE 이렇게 해도 딱히 대답은 없는데
불현듯 스치는 생각...

"혹시 랜덤한 시간은... 키보드 건드리지 않아지는 시간
 즉, 절전모드와 관련이 있는게 아닐까?"




그런 이유로.. win7의 전원관리 모드를 성능으로 돌리고
랜카드 자체 절전모드 설정도 풀어 버리고 냅두니
짧으면 3분 길면 10분 이내 끊어지던 현상이 사라졌다 -_-

오후 07:31 추가
여전히 죽는문제는 발생한다. 단지 주기가 길어졌을뿐.
솔찍히 변수가 많아지기 때문에 정말 이 설정으로 길어졌는지는 미지수.




결론 : 24시간 켜놔야 하는 네트워크 서버계열은 절전모드 설정을 기본으로 쓰지 말고 반드시 확인하자!


현재로서 알아낸것은 MAC Loopback 테스트를 통과하지 못한다는 사실뿐 -_-
2010/12/11 - [분류가 모호한 글] - 리얼텍 내장 기가비트 이더넷 링크 불안정

Posted by 구차니
하드웨어/Network 장비2010. 12. 9. 16:46
삼성 고객지원 센터에 전화하니
노트북은 설계상 원격지에서 완전 전원을 끈상태에서 켜야 할 이유가 없기에
완전히 끈 상태에서 켜지는 WOL은 지원하지 않고
절전모드에서 켜지는 WOL만 지원한다고 한다.



이게 머야 -_-
내 전화비 돌리도 ㅠ.ㅠ
Posted by 구차니
하드웨어/Network 장비2010. 11. 20. 23:00
안드로이드 핸드폰을 보면 VPN 설정이라는 것이 있다.
중국이라던가 이런 검열이 심한 곳에서 위키피디아 접속하는 방법으로
국내의 VPN 서버로 접속 국내 아이피를 통해 회피하는 수단등으로 사용되는데

핸드폰에 보면
 PPTP
 L2TP
 L2TP/IPSec PSK(사전키 공유 기반)
 L2TP/IPSec CRT(인증서 기반)
이렇게 네가지 서비스를 지원한다.

그중에서 PPTP는 MS가 설계해서 가장 손쉽고 널리 사용이 가능하다지만,
아래와 같이 MS 에서도 보안상의 문제로 추천하지 않고 있다고 한다.
PPTP is known to be a faulty protocol. The designers of the protocol, Microsoft, recommend not to use it due to the inherent risks. Lots of people use PPTP anyway due to ease of use, but that doesn't mean it is any less hazardous. The maintainers of PPTP Client and Poptop recommend using OpenVPN (SSL based) or IPSec instead.

[링크 : http://poptop.sourceforge.net/dox/protocol-security.phtml]

그리고 openvpn은 안드로이드 에서 사용하려면 루팅을 한뒤
여러가지 파일을 복사 해야 해서 상당히 복잡하다고 하고 -_-
Step 3 - Perform the following bold text commands at a command prompt
ADB shell mount /system
ADB shell
cd /system/lib
cp libcrypto.so libcrypto-orig.so
cp libssl.so libssl-orig.so

These last 2 entries are just a 2ndary backup. you can skip if you like
exit

From the unzipped fries download find all the files (should be 5 in total) and do
adb push libcrypto.so /system/lib/
adb push liblzo.so /system/lib/
adb push libssl.so /system/lib/
adb push openssl /system/bin/
adb push openvpn /system/bin/
adb shell chmod 4755 /system/bin/openssl
adb shell chmod 4755 /system/bin/openvpn

[링크 : http://android.modaco.com/content/software/291919/openvpn-on-android/]

L2TP로 검색을 하니 L2TP는 시스코의 L2 포워딩과 PPTP를 결합한거라고 하는데
대부분 openswan과 결합이 되는지(아무래도 IPSec 때문?) 같이 검색이 걸려 나온다.
Debian: xl2tpd is in the unstable tree, l2tpd is in the stable tree, and l2tpns is in both. Executing an 'apt-get install xl2tpd' (or likewise for l2tpd) should get you started. Alternative, you can use my RPM processed through alien, as reported by Nicolas Pouvesle:
  • apt-get install rpm
  • rpmbuild --rebuild l2tpd-0.69-10jdl.src.rpm
  • alien /usr/src/RPMS/i386/l2tpd-0.69-10jdl.rpm
  • dpkg -i l2tpd-0.69-10jdl.deb

[링크 : http://www.jacco2.dds.nl/networking/openswan-l2tp.html]

[링크 : http://openvpn.net/]
[링크 : http://www.openswan.org/] IPSec
[링크 : http://poptop.sourceforge.net/] PPTP

[링크 : http://kldp.org/node/80521]
[링크 : http://pptp.kr/]

Posted by 구차니
하드웨어/Network 장비2010. 11. 13. 12:19
문득 네트워크 대역폭을 느릴 이유가 있어서
본딩을 검색하다 보니 Teaming이라는 용어가 나오길래 한번 검색을 해보았다.

근원은 집합연결 이고
하위 기술로 Ethernet bonding, NIC teaming 등이 존재한다.
이러한 기술의 근원은 과거 네트워크가 느렸기 때문 속도의 제약을 뛰어넘고,
안정성의 확보를 위해(단일 링크일 경우 하나만 끊어지면 전체망이 죽어 버리므로) 사용해왔다고 한다.

Other terms for link aggregation include Ethernet bonding, NIC teaming, Trunking, port channel, link bundling, EtherChannel, Multi-link trunking (MLT), NIC bonding, network bonding,[1] Network Fault Tolerance (NFT), Smartgroup (from ZTE), and EtherTrunk (from Huawei).

Link aggregation addresses two problems with Ethernet connections: bandwidth limitations and lack of resilience.

  With regard to the first issue: bandwidth requirements do not scale linearly. Ethernet bandwidths historically have increased by an order of magnitude each generation: 10 Megabit/s, 100 Mbit/s, 1000 Mbit/s, 10,000 Mbit/s. If one started to bump into bandwidth ceilings, then the only option was to move to the next generation which could be cost prohibitive. An alternative solution, introduced by many of the network manufacturers in the early 1990s, is to combine two physical Ethernet links into one logical link via channel bonding. Most of these solutions required manual configuration and identical equipment on both sides of the aggregation.[2]

  The second problem involves the three single points of failure in a typical port-cable-port connection. In either the usual computer-to-switch or in a switch-to-switch configuration, the cable itself or either of the ports the cable is plugged into can fail. Multiple physical connections can be made, but many of the higher level protocols were not designed to failover completely seamlessly.

[링크 : http://en.wikipedia.org/wiki/Link_aggregation]

요즘 고속 무선은 이러한 네트워크 결합기능을 이용하여 갑자기 속도가 이렇게 팍팍 오른듯
On 802.11 (Wi-Fi) channel bonding is used in "Super G" technology, also referred as 108Mbit/s. It bonds two channels of classic 802.11g, which has 54Mbit/s signaling rate.

[링크 : http://en.wikipedia.org/wiki/Channel_bonding]

RAID 와 비슷하지만, 아무튼 RAIN 이라는 녀석도 존재!
[링크 : http://en.wikipedia.org/wiki/Redundant_Array_of_Inexpensive_Nodes) RAIN




이런 이유로 랜카드 구경하다가 발견한 괴물같은 녀석 -_-
무려 가격이 20만원대!
그런데 PCI / PCI-X 라는데 Ex도 아니고 뭐지!?

아래 광고(!)에 의하면
32 / 64bit
33/66/100/133Mhz
를 지원한다고 하는데 PCI는 32bit에 33Mhz 므로 PCI로는 제성능을 못낼듯 -_-
이런건 언넝 PCI-Ex 1x 자리로 나와주어야 하는거 아냐?


Year created 1998
Created by IBM, HP, and Compaq
Superseded by PCI Express (2004)
Width in bits 64
Capacity 1064 MB/s
Style Parallel
Hotplugging interface yes



[링크 : http://en.wikipedia.org/wiki/PCI-X]

Posted by 구차니