techwiki:network

Differences

This shows you the differences between two versions of the page.


Previous revision
techwiki:network [2023/07/04 05:53] (current) – [10Gb Direct Connection Setup] ying
Line 1: Line 1:
 +
 +====== Learn Networking and Related ======
 +
 +  * PowerCert Animated Videos: https://www.youtube.com/channel/UCJQJ4GjTiq5lmn8czf8oo0Q/videos
 +
 +====== Solution - Use OneDrive 5GB as mountable network work ======
 +
 +  * https://www.youtube.com/watch?v=NI0g0gwzRpY
 +    * note, the onedrive/outlook acc should not have 2-step authenication
 +  * step:
 +    * login in onedrive https://onedrive.live.com to check your "cid" number in your url
 +    * then, in your computer, map network drive, and put address as https://d.docs.live.net/YOUR_CID_NUMER
 +    * then, when pop up the login, just type in login as like in browser
 +
 +====== Problem - Router Give My PC 169.254.xxx.xxx IP ======
 +
 +  * Normally, in a local network setup like Home WiFi network, it gives every device a local IP address, like 192.168.1.xxx;
 +  * Problem: If your PC are in 169.254.xxx.xxx situation (check with "ipconfig" command in cmd app) during network setup, you can't access your router at its default 192.168.1.1 address in internet browser
 +  * Solution: in order to access 192.168.1.1 address, you may need to manually set your PC IP to like 192.168.1.xxx; here is the steps:
 +    - Open Control Panel > Network and Internet > Network Connections to see the actual Ethernet port/WIFI connection that you are using
 +    - Right click on the your current network connection icon, choose property > check "internet Protocol Version 4 (TCP/IPv4) Property
 +    - Instead of letting IPv4 auto get your IP, you use manual entered IP address: 192.168.1.x (e.g. 192.168.1.5), subnet mask: 255.255.255.0; empty default gateway
 +    - now you should be able to access your Router by either Ethernet or WIFI at 192.168.1.1
 +
 +====== Problem - Router can't be accessed using default password ======
 +
 +  * press and hold reset button at router back for 5+ seconds to reset router, use Wifi or Ethernet to access 192.168.1.1 page in internet browser. (search internet for default password for your router model)
 +
 +
 +====== Can't Map a Network Drive ======
 +
 +  * make sure the computer which is sharing the folder has a username with password,
 +  * then, in other computer, map that network driver with <nowiki>"\\PC_Name\path_to_the_fodler"</nowiki>, with credential as "PC_Name\user_name" and "Password" 
 +  * additional note: make sure setting the folder permission with "full control" or "change" if you want end user create or modify on that folder, as default one is read only.
 +
 +====== 1Gb Ethernet Direct Connection ======
 +
 +  * crossover wiring type ethernet cable is a part of history already, nowadays all ethernet adapter ports support Auto-MDIX (automatic medium-dependent interface crossover)
 +    * which means: the port interface automatically detects the required cable connection type (straight through or crossover) and configures the connection appropriately
 +    * wiki ref: https://en.wikipedia.org/wiki/Medium-dependent_interface
 +
 +  * Thus, you just need a cat6 cable or better, (cat5 is part of history as well and not available commonly) to connect 2 computer ethernet port directly.
 +
 +  * The Direct Connection Ethernet adapter setup (**Note**: if win10 interface hard to set ip, then just commandline admin mode faster)
 +    * on that direct Network Connection property, setup IP4 connection IP manually,  (cmd "Lighting" is my ethernet adapter name when you cmd ipconfig)
 +      * 1.1.1.1 on one computer with mask 255.255.255.0 <code>netsh interface ip set address name="Lighting" static 1.1.1.1 255.255.255.0 1.1.1.1</code>
 +      * 1.1.1.2 on other computer with mask 255.255.255.0 <code>netsh interface ip set address name="Lighting" static 1.1.1.2 255.255.255.0 1.1.1.1</code>
 +      * 1.1.1.3 on other computer with mask 255.255.255.0 <code>netsh interface ip set address name="Lighting" static 1.1.1.3 255.255.255.0 1.1.1.1</code>
 +      * and map network drive with that direct ip address like, access \\1.1.1.1\myShareFolderName on 1.1.1.2 computer
 +    * For win10 auto change ip setting after restart, you need to go Windows 10 setting > Network > that Adapter: IP settings set
 +      * ip assignment: manual, ipv4: 1.1.1.1; subnet length: 24; gateway: 1.1.1.0
 +    * if auto configure still kick back, go regedit admin right: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{GUID}, you can check your ip setting to locate which guid is the one you want,
 +      * then, add a DWORD "IPAutoconfigurationEnabled", value as 0
 +
 +^ 1Gigabit speed ^ 125MegaByte/s ^
 +| real small files | 61MB/s in direct connection |
 +| large 20GB file | 128MB/s in direct connection |
 +| through a cheap wifi router Ethernet port | 12MB/s |
 +
 +====== 10Gb Direct Connection Setup ======
 +
 +  * 10GbE speed = 1250MB/s, and setup is similar as 1GbE setup, but the hardware needs to meet the spec to achieve it.
 +  * First, computer needs to have a 10Gb port.
 +    * there are same Ethernet cable based ports network adapters and cable
 +    * there are also copper wire cable based ports and cable (sfp+) (which is older than those new Ethernet port option)
 +    * there are also other solution, which require driver setup properly and configured properly
 +
 +  * Cheap option
 +    * sfp+ copper cable and sfp+ network adapter (normally around 60SGD in 2nd hand, cable around 3 meter most time)
 +    * old generation of intel X540-T1,T2 10Gb Ethernet adapter (90sgd in 2nd hand) and standard cat6 Ethernet cable (6sgd for 5meter new)
 +    * new generation of intel X550 10Gb Ethernet adapter (???sgd in 2nd hand) and standard cat6 Ethernet cable
 +    * brand new Asus XG-C100C 10Gb Ethernet adaper (99USD new)
 +      * https://www.youtube.com/watch?v=8aqzd_jNj_s
 +
 +^ adapter / NIC (network interface card) ^
 +| LR-link tehuti tn4010b0 10gb single port card | pice 3.0x4 | 90 sgd |
 +| Asus XG-C100C | PCIe 3.0x4 | 160 sgd |
 +| AQtion AQN-107 | pcie 3.0x4 | 150 sgd |
 +| Intel x550-t1/t2 | PCIe 3.0x4 | 250-500sgd |
 +| Intel x540-t1/t2 | PCIe 2.0x8 | 100-120sgd used |
 +^ switch ^
 +| netgear xs505m | 4x 10GbE | 690 sgd |
 +| netgear xs708ev2 | 8 x 10GbE | 920 sgd |
 +| asus XG-U2008 | 2x10GbE + 8x1Gb | 310 sgd |
 +^ cable ^
 +| cat6a | 10Gbps (100m) | 
 +| cat6 | 10Gbps (55m) |
 +| cat5e | 10Gbps (30m) |
 +| cat5e | 1Gbps (~) |
 +| cat5 | 100Mbps |
 +
 +  * 2.5G ethernet as inbetween solution of 1G and 10G: 
 +    * https://www.tp-link.com/sg/business-networking/unmanaged-switch/tl-sg108-m2/v1/
 +  * 10G option:
 +    * https://www.tp-link.com/sg/business-networking/unmanaged-switch/tl-sx1008/v1/
 +    * full list of 10gb netgear switch: http://info.netgear.com/NA_10g
 +    * cheap list of 10gb switch: https://nascompares.com/2018/01/19/cheapest-10gbe-switches/
 +    * cheap list of 10gb nic: https://nascompares.com/2017/12/14/cheapest-10gb-1-port-pci-express-network-cards-rj45/
 +  * https://planetechusa.com/blog/ethernet-different-ethernet-categories-cat3-vs-cat5e-vs-cat6-vs-cat6a-vs-cat7-vs-cat8/
 +  * https://www.youtube.com/watch?v=8aqzd_jNj_s
 +  * Understanding Switches: https://www.youtube.com/watch?v=9yYqNqTNnqI
 +  * Networkwork optics overview:
 +    * 1GB SFP - 100GB Optics: https://www.youtube.com/watch?v=7KGFWGbdfps
 +  * https://item.jd.com/28030017748.html
 +
 +  * Chinese Name: 万兆以太网
 +    * Intel X540-T1, X540AT2 ([[https://world.taobao.com/item/541750901793.htm|link]], [[https://world.taobao.com/item/531690888969.htm|link]])
 +
 +====== Networking Solution ======
 +
 +  * Hub, Switch, & Router: https://www.youtube.com/watch?v=1z0ULvg_pW8
 +    * Hub sends signal to all ports
 +    * Switch send signal from one to another ports
 +    * Router connects between networks (inter-network), while hub and switch create a network
 +
 +  * switch and networking: https://www.youtube.com/watch?v=_VRToy-9SD0
 +
 +====== Port Number and Port Forward  ======
 +
 +  * ports, router, ips: https://www.youtube.com/watch?v=2G1ueMDgwxw
 +
 +**Ports**
 +  * port numbers are often associated with certain protocol, application, type of usage
 +    * like port 80 for http, 20,21 for ftp, 443 for https
 +  * port number are in range of 0-65535
 +====== Local DNS Server ======
 +
 +  * router setup example for dns database
 +    * https://www.linksys.com/ca/support-article?articleNum=164490
 +    * example spec: https://www.hachi.tech/product/0745883632411/Linksys-LRT224-Dual-WAN-Business-Gigabit-VPN-Router
 +  * windows dns check command <code batch>
 +ipconfig /all
 +nslookup
 +</code>
 +
 +====== Samsung TV and Android Connection ======
 +
 +  * Samsung App store, install SmartThings.
 +
 +====== Network Content Filtering ======
 +
 +^ wechat |  
 +| res.wx.qq.com |
 +| up-hl.3g.qq.com |
 +| cc.map.qq.com |
 +| dldir1v6.qq.com |
 +
 +^ wechat channel |
 +| sgminorshort.wechat.com |
 +| sgshort.wechat.com |
 +| wx.qlog.cn |
 +| dns.weixin.qq.com |
 +| Web File Transfer |
 +| wxapp.tc.qq.com |