How To Set Up a TCP/IP Peer-to-Peer Network Connection

好记性不如烂笔头--校园网下Parsec远程控制软件的使用 Parsec远程桌面的使用心得与踩坑记录 阅读详情

飞鸽传书How To Set Up a TCP/IP Peer-to-Peer Network Connection
View products that this article applies to.
Article ID : 150575
Last Review : July 13, 2004
Revision : 1.2
This article was previously published under Q150575
On This Page

SUMMARY

MORE INFORMATION

General Physical Network Connection Issues

Choosing IP Addresses for Your Machines

Configuring TCP/IP on the Macintosh

Configuring TCP/IP on Windows NT

Configuring TCP/IP on Windows 95

Testing the TCP/IP Connection
SUMMARY
The process for setting up a TCP/IP peer-to-peer network connection between two computers is not intuitively obvious, especially if you have never set up networks before. This article describes how to put together a TCP/IP peer-to-peer network connection between your PC and your Macintosh quickly and easily.
Back to the top

MORE INFORMATION
General Physical Network Connection Issues
There are three common types of network cabling: Twisted Pair, ThinNet, and ThickNet.

If you are using twisted-pair, which is thin wire with wide phone connectors (RJ-45), both your PC and Macintosh need to be plugged into a network hub so power is flowing through the network cable to carry data. Depending on the manufacturer and model, hubs usually allow between four and 20 machines to network.

Typically no extra hardware is required if you are using either ThinNet, which looks like Cable TV wiring with a round plug, or ThickNet, which is heavy, 1/4 inch cable with D-shell 15-pin connectors. The network cards can be connected to each other directly.

Several newer Macintosh models have a built-in network connector called FriendlyNet. You are required to obtain a network transceiver, such as Asante's 10T Adapter, to use one of the cables mentioned above.
Back to the top

Choosing IP Addresses for Your Machines
For simplicity, use class B IP addresses for your peer-to-peer network. The specifications for class B IP addresses are as follows:

• The first digit of the IP address must be between 128 to 191 inclusively. 
• The subnet mask is: 255.255.0.0 
• The first two digits of the IP address must match on both machines. For example:    machine1:  150.100.100.10
   machine2:  150.100.250.20
      
 
NOTE: When creating an IP address, avoid using 0 or 255 for any of the digits because these numbers are reserved for special use.

Here's a good example of a set of IP address to use:    Macintosh:                            150.100.100.10
   PC Running Windows NT or Windows 95:  150.100.100.20
    
Back to the top

Configuring TCP/IP on the Macintosh
If you see MacTCP on your Macintosh control panel, you are running MacTCP. If you see TCP/IP instead, you are running Apple's Open Transport.

The new PCI-based PowerMacs only come with Open Transport. Older models of the Macintosh come with MacTCP on the System 7.x installation media. Check Apple's documentation for installation details.

To configure your system using MacTCP:

1. From the MacTCP control panel, select Ethernet or Ethernet Built-In and enter the following:    IP Address:     150.100.100.10
      
 
2. Click More, and enter the following:    Obtain Address: Manually
   Class:          B
   Net:            38500
   Subnet:         0
   Node:           25610
   Gateway:        0.0.0.0
   Name Server:    <blank>
      
 
3. Click OK, and close the control panel. Restart your Macintosh to ensure that the settings take place. 
NOTE: MacTCP may not respond to network packets with its IP address until you initiate a TCP/IP network connection from the Macintosh end. Apple has a program available called MacTCP Ping that initializes your TCP/IP network connection on start up. Using MacTCP Ping allows your PC to see your Macintosh.

To configure your system using Open Transport TCP/IP:

1. Go to the TCP/IP control panel, and enter the following settings:    Connect Via:    ethernet
   Configure:      manually
   IP Address:     150.100.100.10
   Domain Name:    <blank>
   Subnet Mask:    255.255.0.0
   Router Address: <blank>
   Name Server:    <blank>
      
 
2. Close the control panel, and restart your Macintosh to ensure the settings take place. 

Back to the top

Configuring TCP/IP on Windows NT
1. Go to the Network control panel. 
2. From the Installed Network Software list box, select TCP/IP Protocol, and click Configure. 
3. Make sure the Enable Automatic DHCP Configuration is deselected, and enter the following:    IP Address:   150.100.100.20
   Subnet Mask:  255.255.0.0
      
 
4. Make sure the Default Gateway and the Primary/Secondary WINS Server entries are blank. 
5. Click DNS, and ensure everything is blank except for the Host Name, which contains the name of your Windows NT machine. Click OK. 
6. Click Advanced, and ensure that Enable LMHOSTS Lookup is selected. Everything else should be either blank or deselected. Click OK. 
7. Close the Network control panel, and restart Windows NT. 
8. Find the file named Hosts.sam in the /Winnt/System32/Drivers directory. Make a copy and name it Hosts, leaving it in the same directory. 
9. Edit the Hosts file, and add the following line at the bottom:    150.100.100.10  mymac
      
 
10. From the File menu, choose Save. You are now ready to test the connection. 

Back to the top

Configuring TCP/IP on Windows 95
1. From the Network control panel, select TCP/IP, and click Properties. 
2. Go to WINS Configuration, and select Disable WINS resolution. 
3. Go to the IP Address, select Specify an IP Address, and enter:    IP Address:   150.100.100.20
   Subnet Mask:  255.255.0.0
      
 
4. Go to Gateway, and make sure it is empty. 
5. Go to DNS cofiguration, and select Disable DNS. 
6. Click OK, and close out the Network control panel. Restart Windows 95. 
7. In the main Windows directory, usually C:/Windows, find the file named Hosts.sam. Copy the file, and name it Hosts. Place the file in the main Windows directory. 
8. Edit the Hosts file, and add the following line at the bottom:    150.100.100.10  mymac
      
 
9. From the File menu, choose Save. You are now ready to test the connection. 
NOTE: If the MSN login dialog box appears when you are connecting, click Cancel to continue. To disable this behavior, run the Internet applet from the control panel and clear the UseAutoDial option in the AutoDial Tab.
Back to the top

Testing the TCP/IP Connection
To test the network connection, use the Ping command line utility on the PC. Open an MS-DOS/Command window and type one of the following:
C:/>ping mymac

-or-

C:/>ping 150.100.100.10
Replace 150.100.100.10 and mymac with whatever you set in the Hosts file. Using mymac causes the TCP/IP service to look up the name in the Hosts file to resolve it to an IP address. The expected output from Ping looks like the following:    C:/>ping 150.100.100.10

   Pinging 150.100.100.10 with 32 bytes of data:

   Reply from 150.100.100.10: bytes=32 time=10ms TTL=254
   Reply from 150.100.100.10: bytes=32 time<10ms TTL=254
   Reply from 150.100.100.10: bytes=32 time<10ms TTL=254
   Reply from 150.100.100.10: bytes=32 time<10ms TTL=254
    
If you receive a Bad IP address error, you need to check your Hosts file entry to ensure that the IP address and name match what is set on the Macintosh.

If you receive a Request timed out error, you need to check the physical network connection and ensure that the IP address in the Hosts file matches what is set on the Macintosh. If you are running MacTCP, you can run MacTCP Ping to initialize the TCP/IP network.
Back to the top

P2P(Peer to Peer)网络的原理 在设计中,每个节点的功能都是一样的。如果需要加入到网络中,不一定跟创世节点链接假设已存在的节点: 创世节点,A、B、C节点,此时有个D节点想要加入到网络。那么D节点不一定非得链接到创世节点,可以链接到A、B、C中的任意一个节点,然后该节点再广播给其他节点说"Hey, 有个新人叫做D的加入了网络"。这样所有人都知道,有个叫做D的节点存在,你可以和它通信,同时D节点和会同步已存在的节点。这样D节点也知道了其他节点的存在了。 阅读详情

相关推荐

【信息科学与工程学】【产品体系】第三十三篇 DPU/smartinic芯片中的学科知识03

需求实现DMA 与流边界检测优化​分级超时状态机(短/中/长)+ 积压计数 + 批量触发DMA 控制器优化​描述符预取(深度 4)+ 中断合并(阈值 8)Fence 语义正确性验证​RTL 断言 + C 语言序列号检测 + 性能对比 + 硬件计数器所有代码均为可综合 Verilog,已在仿真器中通过基本功能测试。在 FPGA 原型上运行上述 RTL,配合 ChipScope 观察 fence 时序在 BlueField-3 上运行 DOCA DPA 测试程序,对比加/不加 fence 的结果。

weixin_49199313的博客 381

NAT and Peer-to-peer networking

 Peer-to-peer is a style of networking in which a group of computers communicate directly with each other, rather than through a central server. This is often used for multiplayer online games, such

郑州索曼的专栏 929

偏最小二乘结构方程(PLS-SEM)_TomatoSCI分析日记

①模型整体拟合指标(Goodness-of-Fit, GOF),这个可以看做整体的R方了,上限是1;②指标载荷的具体值;然而,当数据中包含潜变量(即由多个观测指标组合而成的综合概念)时,贝叶斯结构方程不太适用。指标过少(1-2 个)会削弱潜变量的解释力,而指标过多可能增加噪声,影响模型稳定性。如果指标较多,可考虑进一步划分潜变量,但应确保每个指标有意义。掌握这两类方法后,在处理多变量、因果或路径分析研究时,可以根据数据特点与研究需求灵活选择。对于一般的多变量研究,这两类结构方程均为常用且有效的分析方案。

qq_44684643的博客 2019

Peer-to-Peer (P2P) communication across middleboxes

Internet Draft                                                   B. FordDocument: draft-ford-midcom-p2p-01.txt                            M.I.T.Expires: April 27, 2004                                 

1711

HEC-HMS水文建模从入门到精通:手把手教你安装与配置(附常见问题解决)

本文详细指导HEC-HMS水文建模软件的安装与配置,重点解析了基于InstallShield Wizard的安装流程,并提供了针对常见错误代码(如-6003)的解决方案。旨在帮助水文、水利领域从业者快速搭建稳定的建模环境,为后续流域模拟与洪水预报奠定基础。

weixin_29213827的博客 507

基于STM32的多路火灾报警系统设计

本文设计了一款基于STM32的多路火灾报警系统,利用多个传感器组合(如烟雾传感器、温度传感器等)进行数据采集与处理,精确判断火灾情况,并及时发出报警信号,保障生命与财产安全。本系统设计了一款基于STM32的多路火灾报警系统,通过结合烟雾传感器和温度传感器,提升了火灾检测的准确性和可靠性。未来,系统可以进一步集成更多传感器,如气体传感器、湿度传感器等,进一步提升火灾报警系统的智能化水平。本系统采用STM32F103单片机作为核心处理单元,结合烟雾传感器、温度传感器和报警模块,实现多通道火灾报警功能。

stm32d1219的博客 2036

VNC Viwer The connection was refused by the computer问题解决

TonyPi机器人树莓派系统远程连接,需要在连接到机器人热点情况下在viewer端填入server的IP地址以远程访问,VNC在连接之后几秒便报错:The connection was refused by the computer。同门一键直连即可访问,说明Server部分没问题。询问gpt,可能是防火墙问题,全部关闭,卸载删除注册表重装,不行。解决办法,更改VMware虚拟网络适配器的IP地址范围,打开VMware的虚拟网络编辑器,选择VMnet1并修改IP地址为:192.168.150.0即可。

qq_46013939的博客 3895

pytorch实现手语识别

连续手语识别项目,中文数据集CSL

masteryi-0018的博客 1万+

【Parsec】笔记本远程连接主机,Parsec+ZeroTier,解决公网ip问题,校园网可用

1.zerotier注册时需要挂vpn,可以微软、谷歌、github直接登录。个人学习记录使用,如有侵权立删。

weixin_44185436的博客 2084

Simpack实战:5分钟搞定轨道车辆车轮不圆的3种定义方法(附详细参数设置)

本文详细介绍了在Simpack中定义轨道车辆车轮不圆的3种高效方法:Radius deviations、Fourier coefficients和Harmonic function,并提供了详细的参数设置指南。通过实战案例和参数优化技巧,帮助工程师快速掌握车轮不圆度的定义与仿真,提升轨道车辆动力学分析的准确性和效率。

weixin_29292535的博客 207

(第七章)FAST开发方法

摘要: FAST是一种轻量级、业务驱动的系统分析与开发框架,适用于中小型项目,强调快速交付和组件化开发。其核心包括8个阶段:范围定义、问题分析、需求分析、逻辑设计、决策分析、物理设计、构造测试和安装发布。特点为结构化、用户参与、迭代渐进,适合需求明确且需快速交付的项目。与RUP(重量级)、敏捷(极轻量)相比,FAST更侧重业务分析和模块化开发。软考中可通过口诀“范围问题求逻辑,决策物理构发布”记忆阶段,并掌握五大开发方法(瀑布、原型、FAST、RUP、敏捷)的核心区别及适用场景。

echo的博客 930

Introduction to the Peer-to-Peer Sockets Project

http://onjava.com/lpt/a/4421———————————————————————————————————————————————————————————— Published on ONJava.com (http://www.onjava.com/) See this if you're having trouble p...

dianchaozong3657的博客 2246

Python爬虫实战:全自动采集银行理财产品收益率数据

本文通过Playwright动态爬虫技术,成功实现了对银行理财产品收益率数据的实时采集,并通过 Pandas 数据清洗、SQLite 存储、调度自动化等模块,构建了一个可扩展的银行理财数据抓取系统。理财非儿戏,数据做决策。掌握银行收益信息是我们迈向理性投资的第一步。希望这套工具对你有所帮助!

2201_76125261的博客 1178

Peer-to-Peer (P2P) communication across middleboxes(2)

<br /><br />原文版权:Copyright (C) The Internet Society (2003).? All Rights Reserved.<br />原文地址:http://midcom-p2p.sourceforge.net/draft-ford-midcom-p2p-01.txt<br />译文版权申明:请引用此文的作者或网站注明出处:http://blog.csdn.net/hxhbluestar,以尊重译者的劳动成果!<br /><br /><br />3、基于代理服务上的P

wuwentao2000的专栏 617

Pytorch实现EdgeCNN(基于PyTorch实现)

本专栏整理了《图神经网络代码实战》,内包含了不同图神经网络的相关代码实现(PyG以及自实现),理论与实践相结合,如GCN、GAT、GraphSAGE等经典图网络,每一个代码实例都附带有完整的代码。

CSDN 精品推荐 1万+

ET2012新版免狗免安装绿色软件

ET2012新版免狗免安祖昂绿色软件。,新界面,新视觉,

class1-reading.presentation

Bitcoin:A peer-to-peer electronic cash system Abstract solve: double-spending problem using a peer-to-peer network The network timestamps transactions by hashing them into an ongoing chain of hash-based proof-of-work, forming a record that cannot be cha

ChangeW fafa的博客 508

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

Peer To Peer——对等网络

今年的考试,大问题没怎么出现。就是考英语第二天的下午,发生网络堵塞的现象,不影响大局,但是事出有因,我们还是需要看看是什么影响到了考生抽题。最后查了一圈,发现其他几场的英语考试听力都是19M大小,而那天下午的是22M。文件变大了,接近了临界值,导致当时总是报cookie传输失败的错误。老师就提到了一个P2P技术,回来之后查了查资料,给大家分享一下什么是P2P。   PEER-TO-PEE

周洲 (Julie) 7014

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

STM32F407中文手册

STM32f407中文手册 本参考手册面向应用开发人员,提供有关使用 STM32F405xx/07xx、STM32F415xx/17xx、 STM32F42xxx 和 STM32F43xxx 微控制器存储器与外设的完整信息。STM32F405xx/07xx、STM32F415xx/17xx、STM32F42xxx 和 STM32F43xxx 构成一个微 控制器系列,各产品具有不同的存储器大小、封装和外设。有关订购信息以及器件的机械与电气特性,请参见数据手册。有关 ARM Cortex™-M4F 内核的信息,请参见《Cortex™-M4F 技术参考手册》。

不可不知的P2P(Peer-To-Peer)

1.1 Peer-To-Peer 介绍 目前,在学术界、工业界对于P2P没有一个统一的定义,下面列举几个常用的定义供参考: 定义:1、Peer-to-peer is a type of Internet network allowing a group of computer users with the same networking program to connect with each other for the purposes of directly accessing files from o

weixin_40413961的博客 3673

个人云电脑-推荐方案 - Parsec / Fastlink

个人云电脑-推荐方案 - Parsec / Fastlink Parsec 安利原文 局域网游戏串流:让我们都做一回「云」玩家 Parsec 是游戏串流工具中的新秀。与其他不同的是,Parsec 推荐 PC-PC 间云游戏,不论是局域网还是公网通吃,这就是 Parsec 比较厉害的地方。 两台设备之间的流量不通过 Parsec 云服务器,而是 Peer to Peer,Parsec 自己宣称自己使用了很多技术来保证玩家的联机体验。但国内的家庭宽带一般都是 NAT 环境(部分运营商可以.

liyuanbicy的博客 1万+

ogg 故障解决一则

自己今天一个解决过程,希望能给大家一点启发 错误原因: 因两边同步出错,数据已不一致,我添加字段后也没有有同步过去,所以我把表删除重建。 但后来错误更多,想直接删除同步文件(./dirdat/gg000000)看看。但目标端一直要求此文件。 后来 重置Extract 和Replicat 进程的Trail 序列号     alter extract ext1,extseqno

好记忆也需烂博客 2万+

初学Android Wi-Fi Peer-to-Peer

后悔当年没有把英语学好,工作后再也没有认真学习英语了,曾经的那点四六级词汇也忘得差不多了, 现在要用点英语的时候,头就大了!这几天在弄有关wifi的东东,今天上Android开发者官网(http://developer.android.com) 上逛了下,突然发现了Wi-FiP2P( Peer-to-Peer),简单地学习了下,把官网上的代码给code了下来。 使用的大概步骤:sdk版本设置及添加网

true100的专栏 2253

CREDITS: Peer-to-peer (P2P) network and its components

CREDITS blockchain platform is a direct node interaction, decentralized, computer network or, so-called, peer-to-peer network. It works via the Internet and uses the TCP/IP network model as the main m...

omnispace的博客 723

P2P对等网络技术原理整合

P2P(Peer to Peer)对等网络 P2P技术属于覆盖层网络(Overlay Network)的范畴,是相对于客户机/服务器(C/S)模式来说的一种网络信息交换方式。在C/S模式中,数据的分发采用专门的服务器,多个客户端都从此服务器获取数据。 优点是:数据的一致性容易控制,系统也容易管理。 缺点是:因为服务器的个数只有一个(即便有多个也非常有限),系统容易出现单一失效点;单一服务器面

EricFantastic 1万+

AI 答案漂移检测:嵌入相似度、阈值标定与告警实现

做 GEO 监测的人迟早会遇到一个尴尬:上周还在报告里写「这个问句已经稳定被引用」,这周客户自己一问,答案换了个品牌。问题不在监测方法,而在多数监测系统只存「有没有提到」,不存「答案长什么样」。这篇写我们这套漂移检测模块的实现,目标是回答一个问题:同一个问句,今天的答案和两周前相比,变了多少,这个变化是正常抖动还是异常。

helloworld19920的博客 190

Vue开发篇之组件通信与表单:点了任务行,谁来更新列表

用四个Vue组件完成任务录入与状态切换,跟踪props、事件转发和表单草稿的归属。

code2cat的博客 285

import cn.hutool.core.collection.CollUtil常用库介绍一下

在平时的 Java 开发中,只要涉及到集合的判空、去重、求交集/差集、List 转 Map 等操作,都可以优先看看。

qq_26889291的博客 243
上一篇: 微软开放Xbox 360游戏开发平台
下一篇: Windows Storage Server 2003 R2 英文正式版已发布
普通网友
博客等级 码龄22年 1万+粉丝 3156原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址