w**2 发帖数: 724 | 1 【 以下文字转载自 EmergingNetworking 讨论区 】
发信人: wds2 (阿旺), 信区: EmergingNetworking
标 题: 一个pc只有一个NIC,能跟2个不同的subnet connect 吗?
发信站: BBS 未名空间站 (Sat Jan 10 12:18:18 2015, 美东)
我的意思是,从pc一开始
ping 192.168.1.10
ping 192.168.2.10
都可以,
tracert只分别看到别的一个next hop,
192.168.1.254
192.168.2.254
netmask 255.255.255.0,
然后把192.168.1.10 ethernet 线给拔了,
我的ping 192.168.2.10 也断了,为什么?
菜鸟一个,会提供更多信息,请各位大牛相助! |
Y**G 发帖数: 1089 | 2 一个NIC可以有多个IP吧,try ifconfig看看 |
w**2 发帖数: 724 | 3 this is win7, i'm only using 1 IP for this NIC.
【在 Y**G 的大作中提到】 : 一个NIC可以有多个IP吧,try ifconfig看看
|
c**y 发帖数: 172 | 4 You need to figure out the following questions.
What is the IP of the NIC on your PC?
Where is the gateway of the subnet your PC belongs to?
What is the IP of the gateway?
Whose IP is 192.168.1.10? and the same question for 192.168.2.10. |
n*****t 发帖数: 22014 | 5 可以给 NIC 加个 IP
【在 w**2 的大作中提到】 : this is win7, i'm only using 1 IP for this NIC.
|
w**2 发帖数: 724 | 6
192.168.50.10
believe it's 192.168.50.254
don't know yet, i'm not physically there now
these are the IPs for the 2 remote systems across the network.
think about my PC connects to 2 other PCs in your room,
and you unplug 1 ethernet cable.
【在 c**y 的大作中提到】 : You need to figure out the following questions. : What is the IP of the NIC on your PC? : Where is the gateway of the subnet your PC belongs to? : What is the IP of the gateway? : Whose IP is 192.168.1.10? and the same question for 192.168.2.10.
|
w**2 发帖数: 724 | 7 not doing that now,
i'm trying to understand if my current config works or now.
if 1 ip for my pc just won't work for this case, then that's all i need to
know ...
【在 n*****t 的大作中提到】 : 可以给 NIC 加个 IP
|
n*****t 发帖数: 22014 | 8 如果你的 default gw = 192.168.50.254,那是 254 那里的问题了
【在 w**2 的大作中提到】 : not doing that now, : i'm trying to understand if my current config works or now. : if 1 ip for my pc just won't work for this case, then that's all i need to : know ...
|
w**2 发帖数: 724 | 9 周1去看下,谢老姜!
【在 n*****t 的大作中提到】 : 如果你的 default gw = 192.168.50.254,那是 254 那里的问题了
|