LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-13-2008, 03:14 PM   #1
l_m_b
LQ Newbie
 
Registered: Sep 2005
Location: Sofia
Distribution: openSUSE 10.3
Posts: 6

Rep: Reputation: 0
Unhappy Subnet mask problem - NetworkManager


Hello, all!

Please excuse me for the stupid question in advance. I'm using openSUSE 10.3 and I'm trying to manage my network settings with the NetworkManager app... But I have a static IP, dhcp service is not available. After configuring my settings with YaST and restarting the network my subnet mask is corrupted. Please, see this screenshot.

http://balev.eu/ap/pics/mask.jpg

As a result I cannot see some sites that reside in a different subnetwork
If I do not use NetworkManager I do not have this problem.

Anybody having any idea? (do not use NetworkManager is not exactly an idea).

Thank you very much!
 
Old 02-13-2008, 03:41 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What subnet mask are you trying to use? The standard is 255.255.255.0
 
Old 02-13-2008, 03:43 PM   #3
fang0654
Member
 
Registered: Oct 2003
Location: New York, NY
Distribution: Ubuntu
Posts: 110

Rep: Reputation: 28
Not too familiar with openSuSE myself, but your solution should be in here:

http://www.swerdna.net.au/linhowtonic.html


Does that help?
 
Old 02-13-2008, 03:56 PM   #4
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
there is a bug in network manager

https://bugzilla.novell.com/show_bug.cgi?id=331583

workaround:

modify
/etc/sysconfig/network/ifcfg-XXX by hand and add:

netmask='...'
broadcast='...'
 
Old 02-13-2008, 04:02 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I hear more people with issues using network-manager not working properly lately..

so if it keeps defaulting to 255.0.0.0 you must be using a 10.x.x.x network, and it keeps defaulting to the class a subnet mask and ignoring the entry you made..

I see you are not the only one with this problem on Suse..
http://www.linuxforums.org/forum/sus...questions.html
Unfortunately the guy trying to help him isn't grasping the issue is YAST/network-manager not holding the applied settings.

Looks like it may be a bug.. might want to search the SUSE bug list and see if it's there, if not report it, If this works fine when you do the configuration manually..

It shouldn't require 'special tricks or voodoo' to allow you to configure your network settings through a GUI
 
Old 02-13-2008, 11:28 PM   #6
l_m_b
LQ Newbie
 
Registered: Sep 2005
Location: Sofia
Distribution: openSUSE 10.3
Posts: 6

Original Poster
Rep: Reputation: 0
Thumbs up work-around

Thanks guys!

It's 7:20 AM here and I'm in a hurry to answer you before heading for work.
It seems to be a bug in the network manager. I'm using a Class A network, but the netmask is not the default. It seems that YaST uses CIDR notation in /etc/sysconfig/network/ifcfg-eth0 (ip/mask) and the network manager does not understand it. Putting the netmask manually inside does the work (NETMASK=...).

Unfortunately the network manager has its issues that prevents normal users from using it and we end up with crap like M$ Vista. It also does not have nice support for profiles. Anyway... gotta go working

Thank you all!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is Subnet Mask? cousinlucky Linux - Networking 21 10-17-2007 11:08 AM
dhcpd server problem: bad subnet number/mask combination 144419855310001 Linux - Networking 2 09-13-2007 10:40 AM
Subnet Mask with 1 IP. Ionized Linux - Networking 25 06-10-2007 12:20 AM
Subnet Mask jomyjose Linux - Networking 2 08-01-2006 09:19 AM
subnet mask kizersouzay Linux - Networking 1 08-31-2005 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration