Network won't start.

Jatin K ssh.fedora at gmail.com
Fri Aug 19 17:44:18 UTC 2011


On Friday 19 August 2011 10:10 PM, Jim wrote:
> Trying to setup a static ip on a F15 box. NetworkManager has been stop
> and disable
>
> I have setup the /etc/sysconfig/network-scripts/ifcfg-eth0 and try to
>
> systemctl enable network.service
> systemctl start network.service
>
> but it won't start, below is /var/log/messages  ifcfg-eth0
>
>
> # tail -f /var/log/messages
> Aug 19 11:54:55 Bigone avahi-daemon[901]: Registering new address record
> for fe80::21d:72ff:fea5:ddb5 on eth0.*.
> Aug 19 11:54:56 Bigone avahi-daemon[901]: Joining mDNS multicast group
> on interface eth0.IPv4 with address 192.168.0.3.
> Aug 19 11:54:56 Bigone avahi-daemon[901]: New relevant interface
> eth0.IPv4 for mDNS.
> Aug 19 11:54:56 Bigone avahi-daemon[901]: Registering new address record
> for 192.168.0.3 on eth0.IPv4.
> Aug 19 11:54:57 Bigone ntpd[905]: Listen normally on 6 eth0 192.168.0.3
> UDP 123
> Aug 19 11:54:57 Bigone ntpd[905]: Listen normally on 7 eth0
> fe80::21d:72ff:fea5:ddb5 UDP 123
> Aug 19 11:54:57 Bigone ntpd[905]: peers refreshed
> Aug 19 11:54:58 Bigone ntpd[905]: 0.0.0.0 c628 08 no_sys_peer
> Aug 19 11:55:46 Bigone dbus: [system] Activating service
> name='net.reactivated.Fprint' (using servicehelper)
> Aug 19 11:55:46 Bigone dbus: [system] Successfully activated service
> 'net.reactivated.Fprint'
> ^[[3~^[[AAug 19 11:56:27 Bigone avahi-daemon[901]: Withdrawing address
> record for 192.168.0.3 on eth0.
> Aug 19 11:56:27 Bigone avahi-daemon[901]: Leaving mDNS multicast group
> on interface eth0.IPv4 with address 192.168.0.3.
> Aug 19 11:56:27 Bigone avahi-daemon[901]: Interface eth0.IPv4 no longer
> relevant for mDNS.
> Aug 19 11:56:27 Bigone avahi-daemon[901]: Withdrawing address record for
> fe80::21d:72ff:fea5:ddb5 on eth0.
> Aug 19 11:56:29 Bigone ntpd[905]: Deleting interface #7 eth0,
> fe80::21d:72ff:fea5:ddb5#123, interface stats: received=0, sent=0,
> dropped=0, active_time=92 secs
> Aug 19 11:56:29 Bigone ntpd[905]: Deleting interface #6 eth0,
> 192.168.0.3#123, interface stats: received=5, sent=5, dropped=0,
> active_time=92 secs
> Aug 19 11:56:29 Bigone ntpd[905]: 216.129.110.22 interface 192.168.0.3
> ->  (none)
> Aug 19 11:56:29 Bigone ntpd[905]: 72.26.125.125 interface 192.168.0.3 ->
> (none)
> Aug 19 11:56:29 Bigone ntpd[905]: 69.164.206.65 interface 192.168.0.3 ->
> (none)
> Aug 19 11:56:29 Bigone ntpd[905]: 199.4.29.166 interface 192.168.0.3 ->
> (none)
> Aug 19 11:56:29 Bigone ntpd[905]: peers refreshed
> Aug 19 11:56:29 Bigone avahi-daemon[901]: Registering new address record
> for fe80::21d:72ff:fea5:ddb5 on eth0.*.
> Aug 19 11:56:30 Bigone avahi-daemon[901]: Joining mDNS multicast group
> on interface eth0.IPv4 with address 192.168.0.3.
> Aug 19 11:56:30 Bigone avahi-daemon[901]: New relevant interface
> eth0.IPv4 for mDNS.
> Aug 19 11:56:30 Bigone avahi-daemon[901]: Registering new address record
> for 192.168.0.3 on eth0.IPv4.
> Aug 19 11:56:32 Bigone dbus: [system] Activating service
> name='org.freedesktop.PackageKit' (using servicehelper)
> Aug 19 11:56:32 Bigone ntpd[905]: Listen normally on 8 eth0 192.168.0.3
> UDP 123
> Aug 19 11:56:32 Bigone ntpd[905]: Listen normally on 9 eth0
> fe80::21d:72ff:fea5:ddb5 UDP 123
> Aug 19 11:56:32 Bigone ntpd[905]: peers refreshed
> Aug 19 11:56:32 Bigone dbus: [system] Successfully activated service
> 'org.freedesktop.PackageKit'
> Aug 19 11:56:34 Bigone kernel: [  439.901897] TCP lp registered
> Aug 19 11:59:54 Bigone dbus: [system] Activating service
> name='org.fedoraproject.Config.Services' (using servicehelper)
>
>
> ifcfg-eth0
>
> DEVICE=eth0
> HWADDR=00:1D:72:A5:DD:B5
> BOOTPROTO=static
> TYPE=Ethernet
> NM_CONTROLLED=no
> ONBOOT=yes
> USERCTL=no
> IPV6INIT=no
> NAME="System eth0"
> UUID=
> IPADDR=192.168.0.3
> NETMASK=
> DNS1=68.87.72.134
> DNS2=68.87.77.134
> GATEWAY=192.168.0.1
> PREFIX=
> DEFROUTE=yes
> IPV4_FAILURE_FATAL=yes
> IPV6_AUTOCONF=yes
> IPV6_DEFROUTE=yes
> IPV6_PEERDNS=yes
> IPV6_PEERROUTES=yes
> IPV6_FAILURE_FATAL=
>
do you think NETMASK  or the PREFIX is required ???

NETMASK = 255.255.255.0  ( if its class c network ) or PREFIX=24
-- 

   °v°
  /(_)\
   ^ ^  Jatin Khatri
RHCSA,RHCE,CCNA
Registerd Linux user No #501175
www.counter.li.org
No M$



More information about the users mailing list