Welcome to the KDE Community Forums, the official forum board for KDE.
You are currently viewing the forums as an unregistered user. Registration allows you to post and discuss topics, receive private messages, vote on ideas, subscribe to topics and many such great features. Registration is a simple process and completely free. So register now and be a part of the community!
You are currently viewing the forums as an unregistered user. Registration allows you to post and discuss topics, receive private messages, vote on ideas, subscribe to topics and many such great features. Registration is a simple process and completely free. So register now and be a part of the community!
Subnet mask
3 posts • Page 1 of 1
Subnet mask
Not sure why, but when I configure a static ethernet interface and save the config, the subnet mask is changed to be the same as the default gateway.
What I type:
address = 192.168.0.200
mask = 255.255.255.0
default gw = 192.168.0.1
What gets saved:
address = 192.168.0.200
mask = 192.168.0.1
default gw = 192.168.0.1
Is this just my box or is it a comon problem.
What I type:
address = 192.168.0.200
mask = 255.255.255.0
default gw = 192.168.0.1
What gets saved:
address = 192.168.0.200
mask = 192.168.0.1
default gw = 192.168.0.1
Is this just my box or is it a comon problem.
emerth, proud to be a member of KDE forums since 2008-Dec.
RE: Subnet mask
neverendingo wrote:In which way do you save it? With a normal editor?
Ran into the problem first after install when I changed from DHCP to static. I used system-config-network script.
I fixed it by editing /etc/sysconfig/networking/devices/ifcfg-eth0 using vi in an xterm and then running "/etc/init.d/network restart".
Subsequent to that, various programs (firefox, the graphical update client) would say that the network is 'offline', though the network was in fact working. Firefox can be put back on line using it's file menu.
Trying to solve the offline problem I ran system-config-network (I'll call it SCN) either directly or via the control panel program, the network system tray icon.
I found that initially SCN showed the correct subnet mask. If I saved that using SCN's File|Save and then checked using ifconfig, the netmask was changed to 192.168.0.1 from 255.255.255.0.
And indeed running SCN then showed the mask to be 192.168.0.1 not 255.255.255.0.
So, edting the ifcfg-eth0 diirectly I can make the subnet mask be correct. Editing it using system-config-network results in an incorrect subnet mask.
emerth, proud to be a member of KDE forums since 2008-Dec.
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests

Search
FAQ
Policy
KDE.org
KDE.news
Planet KDE
More 
Kubuntu
