LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   PC network changed after power outage (http://www.linuxquestions.org/questions/linux-networking-3/pc-network-changed-after-power-outage-387503/)

Trio3b 11-29-2005 03:19 AM

PC network changed after power outage
 
New to networks, but had 2 PC network w/ both PCs running MDV 2005Le working fine with ssh thru Konqueror and 'net sharing. Power outage seems to have changed things.
Both ethernet show up as OK during PC1 boot.
I have tried:
1. ifconfig eth0 up in console, but NetApplet shows it as disconnected,
2. bring up eth0 in MCC monitor conections, connects briefly then shows as disconnected
3. reconfigured eth0 as static and as dynamic
4. switched eth0 and eth1 on PC1. Whichever NIC is on the DSL -> internet side works fine

PC2 (192.168.10.2) -> eth0 (static) -> hub <- eth0 (static) <- PC1 (192.168.10.1) -> eth1 (dynamic) -> DSL modem -> internet

this was all setup using MCC and was working fine. Had ssh enabled in services and firewalls off. All NIC cards are working as I am able to connect to 'net thru DSL separately with all 3 NICs, but ssh and 'net sharing to PC2 is no longer there. Have tried to remove and/or reconfigure eth0 on PC1 but no luck. I have internet on PC1 thru eth1.
PC2 is able to ping itself but PC1 is 'unreachable'
HERE are some stats for PC1

here is cat ifcfg -eth1on PC1
DEVICE=eth1
BOOTPROTO=dhcp
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=yes
DHCP_CLIENT=dhclient
NEEDHOSTNAME=yes
PEERDNS=yes
PEERYP=no
PEERNTPD=no

cat ifcfg -eth0

DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.10.1
NETMASK=255.255.255.0
NETWORK=192.168.10.0
BROADCAST=192.168.10.255
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=no
USERCTL=no

HERE are pings for PC1
ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data.
64 bytes from 192.168.10.1: icmp_seq=1 ttl=64 time=0.176 ms
64 bytes from 192.168.10.1: icmp_seq=2 ttl=64 time=0.159 ms
64 bytes from 192.168.10.1: icmp_seq=3 ttl=64 time=0.165 ms
64 bytes from 192.168.10.1: icmp_seq=4 ttl=64 time=0.159 ms
64 bytes from 192.168.10.1: icmp_seq=5 ttl=64 time=0.163 ms
64 bytes from 192.168.10.1: icmp_seq=6 ttl=64 time=0.159 ms

--- 192.168.10.1 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 4999ms
rtt min/avg/max/mdev = 0.159/0.163/0.176/0.014 ms

ping 192.168.10.2
PING 192.168.10.2 (192.168.10.2) 56(84) bytes of data.
From 192.168.10.1 icmp_seq=2 Destination Host Unreachable
From 192.168.10.1 icmp_seq=3 Destination Host Unreachable
From 192.168.10.1 icmp_seq=4 Destination Host Unreachable
From 192.168.10.1 icmp_seq=6 Destination Host Unreachable
From 192.168.10.1 icmp_seq=7 Destination Host Unreachable
From 192.168.10.1 icmp_seq=8 Destination Host Unreachable

--- 192.168.10.2 ping statistics ---
9 packets transmitted, 0 received, +6 errors, 100% packet loss, time 8000ms
, pipe 3

ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:02:45:80:D2
inet addr:192.168.10.1 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::201:2ff:fe45:80d2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:58 errors:0 dropped:0 overruns:0 frame:0
TX packets:382 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5466 (5.3 Kb) TX bytes:36409 (35.5 Kb)
Interrupt:9 Base address:0x4000

eth1 Link encap:Ethernet HWaddr 00:02:E3:0A:24:61
inet addr:192.168.1.69 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::202:e3ff:fe0a:2461/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6617 errors:0 dropped:0 overruns:0 frame:0
TX packets:3138 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2739280 (2.6 Mb) TX bytes:332265 (324.4 Kb)
Interrupt:10 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:150 errors:0 dropped:0 overruns:0 frame:0
TX packets:150 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14599 (14.2 Kb) TX bytes:14599 (14.2 Kb)

sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::192.168.10.1/96 Scope:Compat
inet6 addr: ::127.0.0.1/96 Scope:Unknown
inet6 addr: ::192.168.1.69/96 Scope:Compat
UP RUNNING NOARP MTU:1480 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:0
RX bytes:0 (0.0 cool.gif TX bytes:0 (0.0 cool.gif


route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 10 0 0 eth1
192.168.10.0 192.168.10.1 255.255.255.0 UG 0 0 0 eth0
192.168.10.0 0.0.0.0 255.255.255.0 U 10 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.254 0.0.0.0 UG 10 0 0 eth1

Any help appreciated
Thanks


All times are GMT -5. The time now is 10:16 PM.