随笔分类 - tcp/ip
摘要:UIP协议栈笔记http://blog.chinaunix.net/uid-23247944-id-2974928.html
阅读全文
摘要:ssh username@10.2.1.23无法连接经过排查各种openSSH版本等,最终因为两个机器不是一个段(A:255.255.0.0 B:255.255.255.0)造成的.关于IP需要以后多多讨论.
阅读全文
摘要:ifconfig lo0 alias 172.16.123.1will add an alias IP 172.16.123.1 to the loopback adaptersudo ifconfig en1 alias 172.16.123.1ifconfig lo0 -alias 172.16.123.1will remove itsudo ifconfig en1 -alias 172.16.123.1Reference:http://stackoverflow.com/questions/87442/virtual-network-interface-in-mac-os-x
阅读全文
摘要:IP地址:是给每个连接在Internet上的主机分配的一个32bit地址。地址有两部分组成,一部分为网络地址,另一部分为主机地址。IP地址分为A、B、C、D、E 5类。常用的是B和C两类。网络地址的位数直接决定了可以分配的网络数;主机地址的位数则决定了网络中最大的主机数。A类地址: 网络位8(7)位+主机位24位,IP范围:1.0.0.0--126.255.255.255127网络位是本地测试地址,不能用于数据通讯。 IP范围:127.0.0.0--127.255.255.255B类地址:网络位16(14)位+主机位16位,IP范围:128.0.0.0--191.255.255.255C类地址
阅读全文
摘要:I recently usedifconfig en1 1.2.3.4to set the IP address of a network interface (specifically, the wireless card) on a Mac… How can I remove/unset it?Using the graphical network configuration tool doesn't seem to change (or even be aware of) this address - when I use it to manually set an addres
阅读全文

浙公网安备 33010602011771号