- 论坛徽章:
- 1
|
原帖由 cuci 于 2008-7-17 23:20 发表 ![]()
同一台机器的不同网卡是不能设置同网段的ip的
我是负责维护的,这个网络是别人设计的,具体配置我发下,大家来看看,的确是两个网卡配置同一网段IP,bge0作为物理IP,bge1
作为代表IP。BPRQSD22,作为备份用,平时不连在网络处于关机状态。我现在搞不懂的是这种配置,出去的通信用的源地址都是10.91.210.44 么?
因为10.91.210.46 那行显示是0。这样的话难道访问10.91.210.46 的通信,都要从bge1进从bge0出?
BPRQSD21{root}41: ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.91.210.44 netmask ffffff00 broadcast 10.91.210.255
ether 0:14:4f:b7:af:8a
bge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 10.91.210.46 netmask ffffff00 broadcast 10.91.210.255
ether 0:14:4f:b7:af:8b
sppp0: flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU> mtu 1500 index 4
inet 10.0.10.2 --> 10.0.10.1 netmask ff000000
ether 0
BPRQSD21{root}42: netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ---------- ---------
default 10.91.210.247 UG 1 12
10.0.10.1 10.0.10.2 UH 1 0 sppp0
10.91.210.0 10.91.210.44 U 1 107 bge0
10.91.210.0 10.91.210.46 U 1 0 bge1
224.0.0.0 10.91.210.46 U 1 0 bge1
127.0.0.1 127.0.0.1 UH 5 23236 lo0 |
|