Results 1 to 8 of 8
I am using fedora 10,recently i gor broadband connection and so i have setup DSL connection..But my netmask keeps changing to the gateway address..How to fix it?...
- 06-08-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 41
Netmask Keeps changing...
I am using fedora 10,recently i gor broadband connection and so i have setup DSL connection..But my netmask keeps changing to the gateway address..How to fix it?
- 06-08-2009 #2
Hi,
can you please elaborate.Netmask looks like 255.255.255.0 and gateway is usually the ip of your router, something like 192.168.0.1netmask keeps changing to the gateway address..
May be your can post here the output ofCode:/sbin/ifconfig
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
- 06-10-2009 #3Just Joined!
- Join Date
- Jun 2009
- Posts
- 41
[root@fast ~]# /sbin/ifconfig
eth1 Link encap:Ethernet HWaddr 00:1A:4D
D:7B:E2
inet addr:192.168.1.138 Bcast:192.168.1.138 Mask:255.255.255.255
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:711 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:54284 (53.0 KiB) TX bytes:3898 (3.8 KiB)
Interrupt:23 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1280 (1.2 KiB) TX bytes:1280 (1.2 KiB)
- 06-12-2009 #4Just Joined!
- Join Date
- Jun 2009
- Posts
- 41
Bump..........
- 06-12-2009 #5Just Joined!
- Join Date
- Feb 2009
- Posts
- 23
Netmask is good - your broadcast address looks out to me. It should be 192.168.1.255
Not 100% how that works via ifconfig - doesn't the netmask set this?
- 06-12-2009 #6
the netmask is not ok, the last octet should not be 255, depending on the network you are on, it should be something like 255.255.255.0 most likely
- 06-14-2009 #7Just Joined!
- Join Date
- Jun 2009
- Posts
- 41
My DNS also keeps changing,I have set primary DNS address as 218.248.240.23
and Secondary DNS address as 218.248.240.135...but these addresses gets changed automatically when connection established.
- 06-14-2009 #8Linux Enthusiast
- Join Date
- Apr 2004
- Location
- UK
- Posts
- 658
Does your broadband connection work with those settings?
Your netmask is unusual, but not totally unreasonable. Basically it's saying your computer is the only one on that network, and if you want to find another computer you'll have to go through a gateway of some sort (static routes not withstanding).
Your broadcast address is consistent with your IP and Netmask. All of these settings including your DNS servers will be getting set via DHCP so unless something is actually not working for the most part I'd leave them alone.
The only exception I can think of is you may want to manually set your DNS servers. For that I'm pretty sure you can configure your DHCP client to ignore those settings and it'll leave whatever you set up in place.
I don't have a fedora installation handy, but I think you'd want to investigate dhclient. My config files for it are in /etc/dhcp3/dhclient.conf. If you remove "domain-name-servers" from the request list it should do the business. Don't forget to backup the config file before you get into it though, in case things go wrong.
Let us know how you get on.To be good, you must first be bad. "Newbie" is a rank, not a slight.


Reply With Quote