Bugzilla – Bug 731756
Yast2 network will not assign a static ip properly to eth0
Last modified: 2012-03-15 12:10:28 UTC
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2 I have reinstalled the release version of 12.1 3 times now with the same result. The default setup has networking working with DHCP. But I need a static address. I go into yast2 and look. The default configuration has a static address with ip=0.0.0.0 and mask=/32, and no gateway. very strange. I change it, the way I have been doing since SuSE 8: ip=192.168.1.13 mask=255.255.255.0 gateway=192.168.1.1 dns=75.75.75.75 and 75.75.76.76 hostname=jarfx And as soon as I exit yast, networking dies. And I cannot get it back again by undoing the above. I am totally frustrated! I also tried installing sysvinit-init, but this did not help. I can get networking back by choosing NetworkManager, but that is unsuccessful at changing the ip address to a static one. Reproducible: Always Steps to Reproduce: 1. Clean install of 12.1. Networking works, but ip address is set to static and 0.0.0.0/32 2. Try to change ip to a static one as above. 3. Networking dies when yast tries to start it, and nothing brings it back Actual Results: Networking dies Expected Results: shopuld get a static address and should work
This has something to do with the fact that there is now a device br0. I am thinking this is related to xen. But there are no instructions I can find on how to configure br0 + eth0. I changed something by configuring br0, and networking started again. But as soon as I tried to set a static address, it died again and would not come back.
I just file a bug 732696, may be related, found it by setting a static address. After you change to your static settings and finish yast, run sudo /sbin/ifup eth0 and see if eth0 comes up (steve@linux-vlkq:~> /sbin/ifconfig)
Having similar situation when changing from DHCP to static IP Using NetworkManager. NM asks for authentication first, then after I enter the required IP information and click "Save", the authentication screen pops up for a second and then NM settings window closes without saving the static IP, and connection drops.
The Network Manager static IP error has been fixed with the latest (30th Nov 2011) update.
So, if you install Xen, what is the proper procedure for setting up a static address for the OpenDSUSE desktop, given just one card?
When you install xen, it will automatically setup br0 as bridge that contains eth0. This means that eth0 MUST NOT have an IP-Address other than 0.0.0.0/32 in order for networking to work. To setup a static IP-Address, you edit the bridge's configuration instead. /etc/sysconfig/network/ifcfg-br0 is the raw config, if you don't want to use yast2 lan
same as bnc#732696 workaround which works for me: reboot with statically assigned IP. *** This bug has been marked as a duplicate of bug 732696 ***