[PLUG] Networking problem. (warning, newbie alert)

Lee Jamieson leejam at gmail.com
Thu Sep 29 22:40:18 WST 2005


Hiya all...

I'm using Ubuntu Breezy and am having a whole stack of problems getting my
network to run. I have a Windows box and my gateway, connected to a ISDN. I
have a 8 port switch and 2 NIC's in my linux box.

I have got the network cable plugged into eth0.

I have done some searching on the net and came up with a variety of commands
that give me a whole heap of information, but I know nothing about how it
interpret it.

Here is the output from these commands that I found:

lee at kubuntu:~$ sudo dhclient eth0
Password:
There is already a pid file /var/run/dhclient.pid with pid 0
Internet Systems Consortium DHCP Client V3.0.2
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/eth0/00:0a:eb:9e:04:ee
Sending on LPF/eth0/00:0a:eb:9e:04:ee
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 <http://255.255.255.255> port 67
interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 <http://255.255.255.255> port 67
interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 <http://255.255.255.255> port 67
interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 <http://255.255.255.255> port 67
interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 <http://255.255.255.255> port 67
interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 <http://255.255.255.255> port 67
interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 <http://255.255.255.255> port 67
interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
lee at kubuntu:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0A:EB:9E:04:EE
inet6 addr: fe80::20a:ebff:fe9e:4ee/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:94 errors:0 dropped:0 overruns:0 frame:0
TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13249 (12.9 KiB) TX bytes:32868 (32.0 KiB)
Interrupt:11 Base address:0xec00
lee at kubuntu:~$ dmesg | grep eth0
lee at kubuntu:~$ sudo ifconfig eth0 192.168.0.50 <http://192.168.0.50>
lee at kubuntu:~$ ping 192.168.0.1 <http://192.168.0.1>
PING 192.168.0.1 <http://192.168.0.1> (192.168.0.1 <http://192.168.0.1>)
56(84) bytes of data.
64 bytes from 192.168.0.1 <http://192.168.0.1>: icmp_seq=1 ttl=128 time=
0.319 ms
64 bytes from 192.168.0.1 <http://192.168.0.1>: icmp_seq=2 ttl=128 time=
0.314 ms
64 bytes from 192.168.0.1 <http://192.168.0.1>: icmp_seq=3 ttl=128 time=
0.310 ms
64 bytes from 192.168.0.1 <http://192.168.0.1>: icmp_seq=4 ttl=128 time=
0.338 ms
64 bytes from 192.168.0.1 <http://192.168.0.1>: icmp_seq=5 ttl=128 time=
0.339 ms
64 bytes from 192.168.0.1 <http://192.168.0.1>: icmp_seq=6 ttl=128 time=
0.308 ms
64 bytes from 192.168.0.1 <http://192.168.0.1>: icmp_seq=7 ttl=128 time=
0.322 ms
--- 192.168.0.1 <http://192.168.0.1> ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 5999ms
rtt min/avg/max/mdev = 0.308/0.321/0.339/0.020 ms
lee at kubuntu:~$ping www.google.com <http://www.google.com>
ping: unknown host www.google.com <http://www.google.com>
lee at kubuntu:~$ dig @192.168.0.1 <http://192.168.0.1>
ubuntu.com<http://ubuntu.com>
; <<>> DiG 9.3.1 <<>> @192.168.0.1 <http://192.168.0.1>
ubuntu.com<http://ubuntu.com>

; (1 server found)
;
; global options: printcmd
;; connection timed out; no servers could be reached
lee at kubuntu:~$

Pinging from my xp box to linux

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\AdministratorLee>ping
192.168.0.50<http://192.168.0.50>

Pinging 192.168.0.50 <http://192.168.0.50> with 32 bytes of data:

Reply from 192.168.0.50 <http://192.168.0.50>: bytes=32 time<1ms TTL=64
Reply from 192.168.0.50 <http://192.168.0.50>: bytes=32 time<1ms TTL=64
Reply from 192.168.0.50 <http://192.168.0.50>: bytes=32 time<1ms TTL=64
Reply from 192.168.0.50 <http://192.168.0.50>: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.0.50 <http://192.168.0.50>:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Documents and Settings\AdministratorLee>


After that I rebooted my linux box and now I can't access the network
anymore. I have no idea what I am doing now.

I am sure that my gateway is 192.168.0.1 <http://192.168.0.1> - that's the
xp box - so why is "DHCPDISCOVER on eth0" to
"255.255.255.255<http://255.255.255.255>"?
Have I not set the gateway somewhere?

I don't know what to do.

Thanks in advance for any help.

--
-
Regards,

Lee Jamieson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20050929/0f2c351b/attachment.html>


More information about the plug mailing list