2

I can't bring eth0 down or up with ifdown or ifup

ifdown: interface eth0 not configured

but ifconfig shows me

eth0      Link encap:Ethernet  HWaddr 00:16:3e:4d:09:5f
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0

It's a xen guest i just setup, in another guest it does work, how can i overcome this?

poige
  • 9,171
  • 2
  • 24
  • 50
supernova
  • 233
  • 4
  • 10

2 Answers2

1

i just solved this, i had a gateway set which wasn't in range of the subnet but i thought i could reload the config with ifdown and ifup. after setting the correct gateway and rebooting it worked.

supernova
  • 233
  • 4
  • 10
-1

Compare the files /etc/sysconfig/network/ifcfg-eth0 on both systems. Maybe something is missing there.

Hauke Laging
  • 5,157
  • 2
  • 23
  • 40