frankly3d-centos
2008-Feb-01 14:08 UTC
[CentOS] CentOS 5 loses ip address (newbie question)
Reserved ip in 192.168.x.x range for CenOS 5 (Samba Server)
loses samba clients due to eth0 losing it's ip.
eth0 Link encap:Ethernet HWaddr 00:04:61:72:AB:98
inet addr:169.254.66.122 Bcast:169.254.255.255
Mask:255.255.0.0
inet6 addr: fe80::204:61ff:fe72:ab98/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1
RX packets:60058 errors:0 dropped:0 overruns:0
frame:0
TX packets:66564 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:1000
RX bytes:11387965 (10.8 MiB) TX bytes:45451041
(43.3 MiB)
Interrupt:193
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:23 errors:0 dropped:0 overruns:0
frame:0
TX packets:23 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:2340 (2.2 KiB) TX bytes:2340 (2.2 KiB)
frankly3d-centos wrote:> Reserved ip in 192.168.x.x range for CenOS 5 (Samba Server) > > loses samba clients due to eth0 losing it's ip. >Sounds like your using DHCP. If you've reserved an IP then set it statically on the server, as the dhcp client doesn't appear to be able to renew the lease when it expires. You can check the logs on the server to see if you can see why it cannot renew the lease if you want as well. nate
On Feb 1, 2008 6:08 AM, frankly3d-centos <frankly3d-centos at utvinternet.com> wrote:> Reserved ip in 192.168.x.x range for CenOS 5 (Samba Server) > > loses samba clients due to eth0 losing it's ip. > > > > eth0 Link encap:Ethernet HWaddr 00:04:61:72:AB:98 > inet addr:169.254.66.122 Bcast:169.254.255.255 > Mask:255.255.0.0 > inet6 addr: fe80::204:61ff:fe72:ab98/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1 > RX packets:60058 errors:0 dropped:0 overruns:0 > frame:0 > TX packets:66564 errors:0 dropped:0 overruns:0 > carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:11387965 (10.8 MiB) TX bytes:45451041 > (43.3 MiB) > Interrupt:193 > > 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:23 errors:0 dropped:0 overruns:0 > frame:0 > TX packets:23 errors:0 dropped:0 overruns:0 > carrier:0 > collisions:0 txqueuelen:0 > RX bytes:2340 (2.2 KiB) TX bytes:2340 (2.2 KiB) >What is your system setup? Is it a LAN on the inside of a router? Do the systems exist inside and outside the router? Need more information for this to be useful. mhr
frankly3d-centos wrote:> Reserved ip in 192.168.x.x range for CenOS 5 (Samba Server) > > loses samba clients due to eth0 losing it's ip. > > > > eth0 Link encap:Ethernet HWaddr 00:04:61:72:AB:98 > inet addr:169.254.66.122 Bcast:169.254.255.255 > Mask:255.255.0.0.... whack, 169.254.x.x is the 'auto-IP' range of self assigned IPs used if a system can't reach the DHCP server. I wasn't aware Linux did this, I've only seen it on MS Windows.