D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Network interface configuration

 

Hi

This is my first post to this list after lurking for sometime so please 
bear with me.

I am having a problem with the network interface configuration.

When I boot or reboot the machine then as root issue the command: 
ifconfig I get the following information:

blue:/home/rogie# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:40:F4:87:B0:67
          inet addr:169.254.77.79  Bcast:169.254.255.255  Mask:255.255.0.0
          inet6 addr: fe80::240:f4ff:fe87:b067/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:123 errors:0 dropped:0 overruns:0 frame:0
          TX packets:229 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:37500 (36.6 KiB)  TX bytes:30745 (30.0 KiB)
          Interrupt:11 Base address:0x2400

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

The part that is troubling me is the network address 169.254.77.79 , the 
broadcast address and the netmask. The interface is or atleast should be 
configured with an internal IP address of: 192.168.0.3 , broadcast 
address: 192.168.0.255 and netmask: 255.255.255.0 so I don't know where 
the external IP address is coming from.

If I de-activate then activate the interface then once more issue the 
ifconfig command I get the correct configuration as below:

blue:/home/rogie# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:40:F4:87:B0:67
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::240:f4ff:fe87:b067/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:237 errors:0 dropped:0 overruns:0 frame:0
          TX packets:368 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:52800 (51.5 KiB)  TX bytes:49673 (48.5 KiB)
          Interrupt:11 Base address:0x2400

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

My system is Debian Etch running kernel  2.6.17-2-686 #1 i686 GNU/Linux. 
System is a network install from the Oxford AC Debian mirror.

As a precaution I have run rkhunter which is a root kit hunter which 
came up clean. Can anyone help me with this problem?

Robert



-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html