⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 1567.html

📁 著名的linux英雄站点的文档打包
💻 HTML
📖 第 1 页 / 共 2 页
字号:
                          <TR>
                            <TD background="images/bgi.gif" tppabs="http://www.linuxhero.com/docs/images/bgi.gif" 
                          height=30></TD></TR></TBODY></TABLE>
                        <TABLE cellSpacing=0 cellPadding=3 width="95%" 
                        align=center border=0>
                          <TBODY>
                          <TR>
                            <TD>
                              <TABLE cellSpacing=0 cellPadding=3 width="100%" 
                              border=0>
                                <TBODY>
                                <TR>
                                      <TD vAlign=top> 
<p><FONT class=normalfont><B><font color=blue>跨网段的网上邻居问题已经解决了</font></B></FONT><BR><FONT class=smallfont color=#ff9900>2004-04-23 15:18 pm</FONT><BR><FONT class=normalfont>作者:platinum<br>来自:Linux知识宝库<br>联系方式:无名<br><br>具体说不清,反正很复杂,都是SAMBA里设置的<br>
关键几点<br>
1、os level要设到65,获得网络较高的优先权<br>
2、wins support=YES<br>
3、dns proxy=yes<br>
4、wins proxy=yes<br>
5、remote announce<br>
     这个要写广播给哪个网段<br>
   我的是192.168.0.255 192.168.2.255<br>
6、remote browse sync<br>
     和上面的一样,是NET-BIOS的列表用的<br>
<br>
还有的说要建立/etc/lmhost<br>
后来我一个一个筛的,到最后,SAMBA那里我怎么也筛不干净了<br>
<br>
不过确实能跨网段在网上邻居里显示了<br>
而且PING主机名字可以PING通<br>
而且能看出来,TTL=127,过了一次路由<br>
<br>
[quote:05cab36dd6]<br>
E:&gt;ipconfig<br>
<br>
Windows 2000 IP Configuration<br>
<br>
Ethernet adapter 内部网:<br>
<br>
        Connection-specific DNS Suffix  . :<br>
        IP Address. . . . . . . . . . . . : 192.168.2.2<br>
        Subnet Mask . . . . . . . . . . . : 255.255.255.0<br>
        Default Gateway . . . . . . . . . : 192.168.2.1<br>
<br>
E:&gt;<br>
[/quote:05cab36dd6]<br>
<br>
[quote:05cab36dd6]<br>
E:&gt;ping bchyi<br>
<br>
Pinging bchyi [192.168.0.3] with 32 bytes of data:<br>
<br>
Reply from 192.168.0.3: bytes=32 time&lt;10ms TTL=127<br>
Reply from 192.168.0.3: bytes=32 time&lt;10ms TTL=127<br>
Reply from 192.168.0.3: bytes=32 time&lt;10ms TTL=127<br>
Reply from 192.168.0.3: bytes=32 time&lt;10ms TTL=127<br>
<br>
Ping statistics for 192.168.0.3:<br>
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),<br>
Approximate round trip times in milli-seconds:<br>
    Minimum = 0ms, Maximum =  0ms, Average =  0ms<br>
<br>
E:&gt;<br>
[/quote:05cab36dd6]<br>
<br>
[quote:05cab36dd6]<br>
E:&gt;tracert 192.168.0.3<br>
<br>
Tracing route to BCHYI [192.168.0.3]<br>
over a maximum of 30 hops:<br>
<br>
  1   &lt;10 ms   &lt;10 ms   &lt;10 ms  ADSL-SERVER [192.168.2.1]<br>
  2   &lt;10 ms   &lt;10 ms   &lt;10 ms  BCHYI [192.168.0.3]<br>
<br>
Trace complete.<br>
<br>
E:&gt;<br>
[/quote:05cab36dd6]<br>
<br>
资料好难找,但最后终于解决了,呵呵<br>
<br>
另外,我是做的单臂路由器,三台机器一共才3块网卡,switch相连<br>
<br>
<br>
<br>
<br>
<br>
<br>
【发表回复】【查看CU论坛原帖】【关闭】<br>
 webfox 回复于:2003-11-05 14:11:26<br>
[quote:8d4c855f8a="aydge"]微软的协议绑定在tcp/ip.你只要作了tcp/ip的定向路由即可<br>
<br>
不要忘记7层协议<br>
<br>
基于netbios的应用跨网段互连,主要原理是ip(tcp/ip绑定netbios)广播跨路由器,[/quote:8d4c855f8a]<br>
可否说详细点?我不是很明白,我的客户机如果是win2k的就可以实现跨网段域登陆上samba的PDC,如果客户机操作系统是win2003的话就不能登陆上,虽然能加入到sambaPDC的域里面,但就是登陆时提示用户名或者密码错误,但在win2k上(同一个用户)就完全正常,是否在 win2003上的tcp/ip协议要设置什么呢?<br>
<br>
 網中人 回复于:2003-11-05 12:53:05<br>
嗯... SAMBA 有一堆文件在 /usr/share/doc 下面。<br>
找一下 browsing 方面的文件先將原理搞懂吧...<br>
<br>
要不然,先看小帝拙文也可了解個輪廓:<br>
http://www.study-area.org/tips/nbh.htm<br>
http://www.study-area.org/tips/browsing.htm<br>
http://www.study-area.org/linux/servers/linux_samba.htm<br>
<br>
 aydge 回复于:2003-11-05 12:43:35<br>
微软的协议绑定在tcp/ip.你只要作了tcp/ip的定向路由即可<br>
<br>
不要忘记7层协议<br>
<br>
基于netbios的应用跨网段互连,主要原理是ip(tcp/ip绑定netbios)广播跨路由器,<br>
<br>
 弱智 回复于:2003-10-31 23:35:17<br>
祝贺你。功夫不负有心人<br>
也可以算是原创。<br>
<br>
2、wins support=YES <br>
4、wins proxy=yes <br>
5、remote announce<br>
<br>
好像这三句是最重要的。<br>
<br>
 tsgm 回复于:2003-11-01 02:22:41<br>
关键在于WINS。吼吼<br>
<br>
 pluto_zj 回复于:2003-11-01 02:58:10<br>
关键在于 remote announce<br>
<br>
 tsgm 回复于:2003-11-01 03:07:05<br>
[quote:b4d1c20daf="pluto_zj"]关键在于 remote announce[/quote:b4d1c20daf]<br>
<br>
愿闻其详。 <br>
<br>
 platinum 回复于:2003-11-01 10:19:04<br>
补充一句:<br>
经测试,还要在/etc/hosts里建立关系,否则IP地址指向不到,或是错误的<br>
<br>
 linker_yxj 回复于:2003-11-01 12:08:12<br>
强烈建议加入精华<br>
<br>
 webfox 回复于:2003-11-01 22:51:27<br>
经测试,还要在/etc/hosts里建立关系,否则IP地址志向不到,或是错误的<br>
<br>
要在hosts怎样建立什么关系呢?怎么设置?<br>
如果这个samba设成了PDC了,并且代替原来win2k的PDC实现了域登陆了,那么这个办法不知是否可以实行跨网段的域登陆了?刚好我正想解决这个问题。<br>
<br>
 beansprouts1981 回复于:2003-11-01 23:24:54<br>
呵呵,祝贺你啊,终于搞定了,以后向你多学习^_^<br>
<br>
 hjp0021 回复于:2003-11-02 09:20:23<br>
补充一点,如果要在CISCO的路由器上设置不同网络的机器在网上邻居互相访问,只要在路由器上设置可以定向转发广播包,再将该网段添加入定向转发的网段中即可。<br>
<br>
<br>
这样看来<br>
[code:1:bc9e5cdbab]remote announce <br>
remote browse sync <br>
[/code:1:bc9e5cdbab]<br>
命令的作用就在于此吧。<br>
<br>
 microzt 回复于:2003-11-02 22:28:35<br>
高论!收藏。<br>
<br>
 platinum 回复于:2003-11-02 22:58:17<br>
另外我又发现,如果想犯点懒,可以写255.255.255.255:)<br>
<br>
 webfox 回复于:2003-11-03 15:54:56<br>
有个怪事情,就是。<br>
虽然按照上面的设置,samba作为PDC时可以实现跨网段的域登陆(在win2k的客户机上实现成功了),但是在win2003的客户机上就不能,有谁知道为什么会这样吗?
</FONT><br>
                                      </TD>
                                    </TR>
                                <TR>
                                <TD colSpan=2><FONT 
                                class=middlefont></FONT><BR>
                                        <FONT 
                                class=normalfont>全文结束</FONT> </TD>
                                    </TR>
                                <TR>
                                <TD background="images/dot.gif" tppabs="http://www.linuxhero.com/docs/images/dot.gif" colSpan=2 
                                height=10></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></TD>
                        <TD vAlign=top width="20%" 
                      background="images/line.gif" tppabs="http://www.linuxhero.com/docs/images/line.gif" rowSpan=2> 
                          <DIV align=center> 
                            <table class=tableoutline cellspacing=1 cellpadding=4 
                        width="100%" align=center border=0>
                              <tr class=firstalt> 
                                <td noWrap background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif" colspan=2 height=21>
                                <font class=normalfont><b>所有分类</b></font></td>
                              </tr>
<tr class=secondalt> <td noWrap width=27%> <font class=normalfont>1:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type1.html" tppabs="http://www.linuxhero.com/docs/type1.html">非技术类</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>2:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type2.html" tppabs="http://www.linuxhero.com/docs/type2.html">基础知识</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>3:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type3.html" tppabs="http://www.linuxhero.com/docs/type3.html">指令大全</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>4:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type4.html" tppabs="http://www.linuxhero.com/docs/type4.html">shell</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>5:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type5.html" tppabs="http://www.linuxhero.com/docs/type5.html">安装启动</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>6:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type6.html" tppabs="http://www.linuxhero.com/docs/type6.html">xwindow</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>7:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type7.html" tppabs="http://www.linuxhero.com/docs/type7.html">kde</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>8:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type8.html" tppabs="http://www.linuxhero.com/docs/type8.html">gnome</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>9:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type9.html" tppabs="http://www.linuxhero.com/docs/type9.html">输入法类</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>10:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type10.html" tppabs="http://www.linuxhero.com/docs/type10.html">美化汉化</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>11:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type11.html" tppabs="http://www.linuxhero.com/docs/type11.html">网络配置</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>12:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type12.html" tppabs="http://www.linuxhero.com/docs/type12.html">存储备份</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>13:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type13.html" tppabs="http://www.linuxhero.com/docs/type13.html">杂项工具</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>14:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type14.html" tppabs="http://www.linuxhero.com/docs/type14.html">编程技术</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>15:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type15.html" tppabs="http://www.linuxhero.com/docs/type15.html">网络安全</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>16:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type16.html" tppabs="http://www.linuxhero.com/docs/type16.html">内核技术</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>17:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type17.html" tppabs="http://www.linuxhero.com/docs/type17.html">速度优化</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>18:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type18.html" tppabs="http://www.linuxhero.com/docs/type18.html">apache</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>19:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type19.html" tppabs="http://www.linuxhero.com/docs/type19.html">email</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>20:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type20.html" tppabs="http://www.linuxhero.com/docs/type20.html">ftp服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>21:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type21.html" tppabs="http://www.linuxhero.com/docs/type21.html">cvs服务</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>22:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type22.html" tppabs="http://www.linuxhero.com/docs/type22.html">代理服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>23:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type23.html" tppabs="http://www.linuxhero.com/docs/type23.html">samba</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>24:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type24.html" tppabs="http://www.linuxhero.com/docs/type24.html">域名服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>25:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type25.html" tppabs="http://www.linuxhero.com/docs/type25.html">网络过滤</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>26:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type26.html" tppabs="http://www.linuxhero.com/docs/type26.html">其他服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>27:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type27.html" tppabs="http://www.linuxhero.com/docs/type27.html">nfs</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>28:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type28.html" tppabs="http://www.linuxhero.com/docs/type28.html">oracle</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>29:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type29.html" tppabs="http://www.linuxhero.com/docs/type29.html">dhcp</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>30:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type30.html" tppabs="http://www.linuxhero.com/docs/type30.html">mysql</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>31:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type31.html" tppabs="http://www.linuxhero.com/docs/type31.html">php</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>32:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type32.html" tppabs="http://www.linuxhero.com/docs/type32.html">ldap</a></font></td>    </tr>  </table></td></tr>                            </table>
                          </DIV></TD></TR>
                    <TR vAlign=top>
                        <TD width="80%"> 
                          <DIV align=center><BR>
                          </DIV>
                        </TD></TR></TBODY></TABLE></TD></TR>
                </TABLE></TD></TR>
          </TABLE>
      <TABLE cellSpacing=0 cellPadding=4 width="100%" bgColor=#eeeeee 
        border=0><TBODY>
        <TR>
          <TD width="50%">
              <P><FONT class=middlefont>版权所有 &copy; 2004 <A 
            href="mailto:bjchenxu@sina.com">linux知识宝库</A><BR>
                违者必究. </FONT></P>
            </TD>
          <TD width="50%">
              <DIV align=right><FONT class=middlefont>Powered by: <A 
            href="mailto:bjchenxu@sina.com">Linux知识宝库</A> Version 0.9.0 </FONT></DIV>
            </TD></TR></TBODY></TABLE>
      <CENTER></CENTER></TD></TR>
    </TABLE></CENTER></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -