LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-29-2005, 03:19 AM   #1
Trio3b
Member
 
Registered: Oct 2004
Location: Texas, USA
Distribution: MDV 2008.1, PCLinuxOS,
Posts: 315

Rep: Reputation: 30
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:802
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

Last edited by Trio3b; 11-29-2005 at 03:21 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID 5 after Power outage RabidSquirrel Linux - Hardware 3 08-02-2005 07:46 PM
power outage jbzy3000 Linux - General 2 02-24-2005 10:11 PM
Power Outage horror Hampster Mandriva 5 01-13-2005 09:38 PM
Reboot after power outage oigeli Linux - General 1 12-02-2004 08:10 AM
Power Outage notslim General 30 08-28-2003 04:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration