[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting IP address not working



On Wednesday 15 June 2005 16:31, Kent West wrote:

> Whoa! So your network is working?

Yes but with the wrong ip address

> What's the output of "ifconfig"?
eth0      Link encap:Ethernet  HWaddr 00:50:DA:CF:A5:06
          inet addr:169.254.50.3  Bcast:0.0.0.0  Mask:255.255.0.0
          inet6 addr: fe80::250:daff:fecf:a506/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:89616 errors:0 dropped:0 overruns:0 frame:0
          TX packets:58120 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:108856836 (103.8 MiB)  TX bytes:4467081 (4.2 MiB)
          Interrupt:5 Base address:0xd400

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:210 errors:0 dropped:0 overruns:0 frame:0
          TX packets:210 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:42780 (41.7 KiB)  TX bytes:42780 (41.7 KiB)



> What's the output of "lspci -v"?
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 735 Host (rev 01)
        Flags: bus master, medium devsel, latency 32
        Memory at d0000000 (32-bit, non-prefetchable) [size=64M]
        Capabilities: [c0] AGP version 2.0

0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI 
bridge (AGP) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 0000b000-0000bfff
        Memory behind bridge: cfe00000-cfefffff
        Prefetchable memory behind bridge: afc00000-cfcfffff

0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC 
Bridge)
        Flags: bus master, medium devsel, latency 0

0000:00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
        Flags: medium devsel
        I/O ports at 0c00 [size=32]

0000:00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 
Controller (rev 07) (prog-if 10 [OHCI])
        Subsystem: Elitegroup Computer Systems: Unknown device 0a14
        Flags: bus master, medium devsel, latency 64, IRQ 5
        Memory at cfffe000 (32-bit, non-prefetchable) [size=4K]

0000:00:02.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 
Controller (rev 07) (prog-if 10 [OHCI])
        Subsystem: Elitegroup Computer Systems: Unknown device 0a14
        Flags: bus master, medium devsel, latency 64, IRQ 11
        Memory at cffff000 (32-bit, non-prefetchable) [size=4K]

0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 
d0) (prog-if 80 [Master])
        Subsystem: Silicon Integrated Systems [SiS] SiS5513 EIDE Controller 
(A,B step)
        Flags: bus master, fast devsel, latency 128
        I/O ports at ff00 [size=16]

0000:00:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 
07)
        Subsystem: Creative Labs SBLive! Player 5.1
        Flags: bus master, medium devsel, latency 64, IRQ 11
        I/O ports at d800 [size=32]
        Capabilities: [dc] Power Management version 1

0000:00:0b.1 Input device controller: Creative Labs SB Live! MIDI/Game Port 
(rev 07)
        Subsystem: Creative Labs Gameport Joystick
        Flags: bus master, medium devsel, latency 64
        I/O ports at dc00 [size=8]
        Capabilities: [dc] Power Management version 1

0000:00:0f.0 Ethernet controller: 3Com Corporation 3cSOHO100-TX Hurricane (rev 
30)
        Subsystem: 3Com Corporation 3cSOHO100-TX Hurricane
        Flags: bus master, medium devsel, latency 64, IRQ 5
        I/O ports at d400 [size=128]
        Memory at cfffdf80 (32-bit, non-prefetchable) [size=128]
        Expansion ROM at cffc0000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 1

0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 
9200] (rev 01) (prog-if 00 [VGA])
        Subsystem: Giga-byte Technology: Unknown device 4018
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 10
        Memory at c0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at b800 [size=256]
        Memory at cfef0000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at cfec0000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
        Capabilities: [50] Power Management version 2

0000:01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200] 
(Secondary) (rev 01)
        Subsystem: Giga-byte Technology: Unknown device 4019
        Flags: bus master, 66MHz, medium devsel, latency 64
        Memory at b8000000 (32-bit, prefetchable) [size=128M]
        Memory at cfee0000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [50] Power Management version 2


> What's the output of "/etc/init.d/networking restart"?

Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...ifup: interface lo already configured
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/eth0/00:50:da:cf:a5:06
Sending on   LPF/eth0/00:50:da:cf:a5:06
Sending on   Socket/fallback/fallback-net
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.20
SIOCSIFADDR: File exists
bound to 192.168.0.21 -- renewal in 10800 seconds.
RTNETLINK answers: Cannot assign requested address
done.


Note the ifconfig output above is relevent also to after this last command - 
where you can see the dhcpd server is trying to give me 192.168.0.21 (which 
is what I want it to be).


-- 
Alan Chandler
http://www.chandlerfamily.org.uk



Reply to: