[Ilugc] Network Problem with SystemRescueCD

  • From: mohan34u@xxxxxxxxx (Mohan R)
  • Date: Wed Oct 17 14:41:33 2007

I attached the typescript file. please find outputs.

Are you sure eth0 is the correct interface?

Is there any interface other than 'eth0', 'lo', 'dummy0' or 'bond0'? because
dhclient used only these three interfaces.. the output of dhclient is here..

root@sysresccd /mnt/windows % dhclient

Listening on LPF/eth0/00:e0:7d:7b:a4:7c
Sending on   LPF/eth0/00:e0:7d:7b:a4:7c
Listening on LPF/dummy0/3e:9f:c5:6f:47:95
Sending on   LPF/dummy0/3e:9f:c5:6f:47:95
Listening on LPF/bond0/00:00:00:00:00:00
Sending on   LPF/bond0/00:00:00:00:00:00
Sending on   Socket/fallback
option_space_encapsulate: option space agent does not exist, but is
configured.
DHCPDISCOVER on dummy0 to 255.255.255.255 port 67 interval 7
option_space_encapsulate: option space agent does not exist, but is
configured.
DHCPDISCOVER on bond0 to 255.255.255.255 port 67 interval 5
option_space_encapsulate: option space agent does not exist, but is
configured.

# ping 192.168.1.1

but It failed to detect the server.

1. What do you mean by "failed"?
2. Never describe the end result! It doesn't help in troubleshooting.
Post the output/error/log messages.

the ping output is here..

root@sysresccd /mnt/windows % ping 192.168.1.1

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.3 icmp_seq=2 Destination Host Unreachable
From 192.168.1.3 icmp_seq=3 Destination Host Unreachable
From 192.168.1.3 icmp_seq=4 Destination Host Unreachable
From 192.168.1.3 icmp_seq=6 Destination Host Unreachable
From 192.168.1.3 icmp_seq=7 Destination Host Unreachable
From 192.168.1.3 icmp_seq=8 Destination Host Unreachable
From 192.168.1.3 icmp_seq=10 Destination Host Unreachable
From 192.168.1.3 icmp_seq=11 Destination Host Unreachable
From 192.168.1.3 icmp_seq=12 Destination Host Unreachable

--- 192.168.1.1 ping statistics ---
15 packets transmitted, 0 received, +9 errors, 100% packet loss, time
13994ms
, pipe 3

the Kernel routing trable is here..

root@sysresccd /mnt/windows % route -n

Kernel IP routing table
Destination     Gateway         Genmask             Flags Metric Ref    Use
Iface
192.168.1.0     192.168.1.3    255.255.255.255   UGH   0       0        0
eth0
192.168.1.0     0.0.0.0           255.255.255.0      U         0
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.1     0.0.0.0                UG      0
0        0     eth0

what next..?
-------------- next part --------------
Script started on Wed Oct 17 13:57:57 2007

root@sysresccd /mnt/windows % dhclient

Internet Systems Consortium DHCP Client V3.1.0-Gentoo
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:e0:7d:7b:a4:7c
Sending on   LPF/eth0/00:e0:7d:7b:a4:7c
Listening on LPF/dummy0/3e:9f:c5:6f:47:95
Sending on   LPF/dummy0/3e:9f:c5:6f:47:95
Listening on LPF/bond0/00:00:00:00:00:00
Sending on   LPF/bond0/00:00:00:00:00:00
Sending on   Socket/fallback
option_space_encapsulate: option space agent does not exist, but is configured.
DHCPDISCOVER on dummy0 to 255.255.255.255 port 67 interval 7
option_space_encapsulate: option space agent does not exist, but is configured.
DHCPDISCOVER on bond0 to 255.255.255.255 port 67 interval 5
option_space_encapsulate: option space agent does not exist, but is configured.
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on bond0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on dummy0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on bond0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on dummy0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on bond0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on dummy0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on bond0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on bond0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on dummy0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on bond0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

root@sysresccd /mnt/windows % dhclient -s 192.168.1.1

Internet Systems Consortium DHCP Client V3.1.0-Gentoo
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:e0:7d:7b:a4:7c
Sending on   LPF/eth0/00:e0:7d:7b:a4:7c
Listening on LPF/dummy0/3e:9f:c5:6f:47:95
Sending on   LPF/dummy0/3e:9f:c5:6f:47:95
Listening on LPF/bond0/00:00:00:00:00:00
Sending on   LPF/bond0/00:00:00:00:00:00
Sending on   Socket/fallback
option_space_encapsulate: option space agent does not exist, but is configured.
DHCPDISCOVER on eth0 to 192.168.1.1 port 67 interval 3
option_space_encapsulate: option space agent does not exist, but is configured.
DHCPDISCOVER on dummy0 to 192.168.1.1 port 67 interval 6
option_space_encapsulate: option space agent does not exist, but is configured.
DHCPDISCOVER on bond0 to 192.168.1.1 port 67 interval 7
DHCPDISCOVER on eth0 to 192.168.1.1 port 67 interval 6
DHCPDISCOVER on dummy0 to 192.168.1.1 port 67 interval 11
DHCPDISCOVER on eth0 to 192.168.1.1 port 67 interval 13
DHCPDISCOVER on bond0 to 192.168.1.1 port 67 interval 21
DHCPDISCOVER on dummy0 to 192.168.1.1 port 67 interval 13
DHCPDISCOVER on eth0 to 192.168.1.1 port 67 interval 21
DHCPDISCOVER on bond0 to 192.168.1.1 port 67 interval 8
DHCPDISCOVER on dummy0 to 192.168.1.1 port 67 interval 8
DHCPDISCOVER on bond0 to 192.168.1.1 port 67 interval 15
DHCPDISCOVER on dummy0 to 192.168.1.1 port 67 interval 16
DHCPDISCOVER on eth0 to 192.168.1.1 port 67 interval 13
DHCPDISCOVER on bond0 to 192.168.1.1 port 67 interval 9
DHCPDISCOVER on dummy0 to 192.168.1.1 port 67 interval 7
DHCPDISCOVER on eth0 to 192.168.1.1 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

root@sysresccd /mnt/windows % ifconfig eth0 192.168.1.3 netmask 225.225.225.0

root@sysresccd /mnt/windows % ifconfig
bond0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          UP BROADCAST MASTER 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:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

dummy0    Link encap:Ethernet  HWaddr 3E:9F:C5:6F:47:95  
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:3858 (3.7 Kb)

eth0      Link encap:Ethernet  HWaddr 00:E0:7D:7B:A4:7C  
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:5 dropped:0 overruns:0 frame:0
          TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:4806 (4.6 Kb)
          Interrupt:11 Base address:0x6000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:69 errors:0 dropped:0 overruns:0 frame:0
          TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:5042 (4.9 Kb)  TX bytes:5042 (4.9 Kb)

root@sysresccd /mnt/windows % route

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo

root@sysresccd /mnt/windows % route -v add 192.168.1.0 gw 192.168.1.3

root@sysresccd /mnt/windows % route -v add default gw 192.168.1.1

root@sysresccd /mnt/windows % route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     192.168.1.3     255.255.255.255 UGH   0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      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.1     0.0.0.0         UG    0      0        0 eth0

root@sysresccd /mnt/windows % ping 192.168.1.1

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.3 icmp_seq=2 Destination Host Unreachable
From 192.168.1.3 icmp_seq=3 Destination Host Unreachable
From 192.168.1.3 icmp_seq=4 Destination Host Unreachable
From 192.168.1.3 icmp_seq=6 Destination Host Unreachable
From 192.168.1.3 icmp_seq=7 Destination Host Unreachable
From 192.168.1.3 icmp_seq=8 Destination Host Unreachable
From 192.168.1.3 icmp_seq=10 Destination Host Unreachable
From 192.168.1.3 icmp_seq=11 Destination Host Unreachable
From 192.168.1.3 icmp_seq=12 Destination Host Unreachable

--- 192.168.1.1 ping statistics ---
15 packets transmitted, 0 received, +9 errors, 100% packet loss, time 13994ms
, pipe 3
root@sysresccd /mnt/windows % ping 192.168.1.3

PING 192.168.1.3 (192.168.1.3) 56(84) bytes of data.
64 bytes from 192.168.1.3: icmp_seq=1 ttl=64 time=0.164 ms
64 bytes from 192.168.1.3: icmp_seq=2 ttl=64 time=0.020 ms
64 bytes from 192.168.1.3: icmp_seq=3 ttl=64 time=0.027 ms
64 bytes from 192.168.1.3: icmp_seq=4 ttl=64 time=0.013 ms
64 bytes from 192.168.1.3: icmp_seq=5 ttl=64 time=0.022 ms
64 bytes from 192.168.1.3: icmp_seq=6 ttl=64 time=0.017 ms
64 bytes from 192.168.1.3: icmp_seq=7 ttl=64 time=0.016 ms
64 bytes from 192.168.1.3: icmp_seq=8 ttl=64 time=0.014 ms
64 bytes from 192.168.1.3: icmp_seq=9 ttl=64 time=0.020 ms
64 bytes from 192.168.1.3: icmp_seq=10 ttl=64 time=0.013 ms

--- 192.168.1.3 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 8996ms
rtt min/avg/max/mdev = 0.013/0.032/0.164/0.044 ms

root@sysresccd /mnt/windows % exit

Script done on Wed Oct 17 14:04:48 2007

Other related posts: