gerald_clark wrote:service NetworkManager stop
service network restart
chkconfig NetworkManager off
chkconfig network on
Hiding details on a private network only delays or denies assistance.
Show the output of 'ifconfig -a'.
Hi gerald
NetworkManager is not running on the relevant system, it is a headless machine without any Desktop GUI
I cant restart the network because i will lose the ssh connection.
Nevertheless if i add the ip address "by hand" it works, meaning the interface gets the ip but if i restart the system it then fails to get the ip address.
I don`t really understand the "hidding detailsd on private networks" means but as you requested here is the output of ifconfig -a
Code: Select all
eth0 Link encap:Ethernet HWaddr XXXX<omitted>XXXXX
inet addr:192.168.33.102 Bcast:192.168.33.255 Mask:255.255.255.0
inet6 addr: fe80::a298:5ff:fe01:c5b1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34366 errors:0 dropped:0 overruns:0 frame:0
TX packets:50019 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4395233 (4.1 MiB) TX bytes:5627162 (5.3 MiB)
Interrupt:66
eth0:5 Link encap:Ethernet HWaddr XXXX<omitted>XXXXX
inet addr:192.168.33.254 Bcast:192.168.33.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:66
eth1 Link encap:Ethernet HWaddr XXXX<omitted>XXXXX
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:74 Base address:0x6000
eth1:1 Link encap:Ethernet HWaddr XXXX<omitted>XXXXX
inet addr:192.168.159.1 Bcast:192.168.159.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:74 Base address:0x6000
eth1:5 Link encap:Ethernet HWaddr XXXX<omitted>XXXXX
inet addr:192.168.2.254 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:74 Base address:0x6000
eth2 Link encap:Ethernet HWaddr XXXX<omitted>XXXXX
inet6 addr: fe80::a298:5ff:fe01:c5b3/64 Scope:Link <-------------it should have an inet 192.168.0.52
UP BROADCAST RUNNING MULTICAST MTU:1360 Metric:1
RX packets:38717 errors:0 dropped:0 overruns:0 frame:0
TX packets:140 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4333446 (4.1 MiB) TX bytes:8237 (8.0 KiB)
Interrupt:82 Base address:0x8000
eth2:5 Link encap:Ethernet HWaddr XXXX<omitted>XXXXX
inet addr:192.168.0.254 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:82 Base address:0x8000
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:34340 errors:0 dropped:0 overruns:0 frame:0
TX packets:34340 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3278762 (3.1 MiB) TX bytes:3278762 (3.1 MiB)
The system has 3 NIC and i am using heartbeat hence the ip-aliases above. This was working fine for about a year up until yesterday. As you can see the alias ip does get assigned the designated ip but not the actual interface which is weird.
TrevorH wrote:Your ifcfg file should have a HWADDR= line in it with the MAC address from your ifconfig output in it
all other ifcfg-ethx files do not have the HWADDR parameter on their config files and working fine without any issues. Thing is that i dont have any indication on logs or messages in order to troubleshoot
:-S