setup IP address as "192.168.xxx.xxx" does NOT work. Someone say I need use "crossover" type of cable, but I don't have. I put a switch and coneect cable from each PC and it work fine.
Thanks.
--- gnulinux gnulinux@comcast.net 說:
mcclnx mcc wrote:
I have two DELL servers with two Ethernet ports in
it.
Bith servers have CENTOS 4.5 installed. First Ethernet port connect to public Ethernet line and
work
correctly. Second Ethernet port I connect point-to-point as private Ethernet (cable direct connect without router or switch). Private
Ethernet
use IP asddress 1.1.1.1 and 1.1.1.2.
I check "ifconfig -a" and both eth0 and eth1 are
up
and active. when I tried to ping another server
use
second port (private) and no response. Does
anything
I configure wrong?
Thanks.
======== info ===
%ifconfig -a eth0 Link encap:Ethernet HWaddr 00:08:74:EA:54:64 inet addr:172.29.86.15
Bcast:172.29.85.255
Mask:255.255.255.0 inet6 addr: fe80::208:74ff:feea:5464/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1 RX packets:471 errors:0 dropped:0
overruns:0
frame:0 TX packets:91 errors:0 dropped:0
overruns:0
carrier:0 collisions:0 txqueuelen:0 RX bytes:65669 (64.1 KiB) TX
bytes:11847
(11.5 KiB)
eth1 Link encap:Ethernet HWaddr 00:0E:2E:C8:B9:80 inet addr:1.1.1.1 Bcast:1.1.1.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500
Metric:1
RX packets:0 errors:0 dropped:0
overruns:0
frame:0 TX packets:0 errors:0 dropped:0
overruns:0
carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:18 Base address:0x4c00
%ping 1.1.1.2 PING 1.1.1.2 (1.1.1.2) 56(84) bytes of data.
From 1.1.1.1 icmp_seq=1 Destination Host
Unreachable
From 1.1.1.1 icmp_seq=2 Destination Host
Unreachable
From 1.1.1.1 icmp_seq=3 Destination Host
Unreachable
--- 1.1.1.2 ping statistics --- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3015ms , pipe 3
%telnet 1.1.1.2 Trying 1.1.1.2... telnet: connect to address 1.1.1.2: No route to
host
Try a private network IP 192.168.xxx.xxx? Right ether cable, straight? _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
____________________________________________________________________________________ 設定安全圖章,保護您的 Yahoo!奇摩帳號不被駭客盜用! http://tw.info.yahoo.com/seal/index.html