免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 617 | 回复: 0
打印 上一主题 下一主题

connect to internet from a virtual LAN [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-08-18 00:29 |只看该作者 |倒序浏览
today evening , after spending 2 hours in the networks config under
linux , i found the right the configuration to enable the pc connect to
internet finally.
My PC have two OS:XP and SUSE Linux . And it is in a virtual LAN bulit
by homeshare(a virtual delailing software).There are 3 PCs in the LAN
,usually ,all the 3 PCs can connect to internet staticly ,while one of
them be set as the LAN server by homeshare , and the others as client
mechine. The server has the responsbility to delail to SP ,and then
share the connection in the virtual LAN. The server mechine has two IP
address , one for ethernet and the other for virtual LAN .The client
mechines just need to have one IP address for virtual LAN .
When my pc running under XP , it is a client mechine and the IP should
be set to a LAN IP ,which can only be used in the virtual LAN . The
pockets transmitted between the client mechine and ethernet are
procesed by homeshare server .The server changes its LAN IP to
ethernet  IP before the pocket is transmited to ethernet.
there is no problem to connect to ethernet under XP.
But ,when I changed to Linux OS, problems came immediately. I configed
my networks just like it was under XP, but ,I can't ping to gateway
,can't ping to any other IPs except the local pc IP .
It seems like that the networks configuration is right ,but ,i don't know why the problem comes .
I tried everything i knew.just like "route","netstat -nr",etc. And i
found the gateway is always 0.0.0.0, I have configed the gateway of
eth0 , but I don't know why it became zero here.
I tried many ways .and finally ,i tried to change the IPs. I changed the IP to ethernet IP, and the gateway .
and finally ,it succeed to conect to ethernet .
Even it succeed finally , but i don't know why .
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/12876/showart_156956.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP