Networking :: Network Very Slow If Static Ip Settings / But Fine With DHCP
Jan 27, 2010
I've been using slackware for many years. I think I started with Slack 8. I know how to configure the network, I've had this same POS Dell computer for a few years now but the other day I tried to go to a different distro (first mistake) everything worked fine but it was not for me. Once you go slack you never go back! Anyway I had slack on here prior to the change and it all worked fine. I'm running slack 13 and all of a sudden my network is slow as balls! I set it up as I always have so I did some research and tried a few things, nothing worked. So i enabled DHCP and its fine now.. I have a dell xps 420. onboard intel nic. worked fine when i first installed slack 13. Anyone have any clue what to do? I would like my static IP on this machine.
I'm having mysterious wired network problem with my Karmic/9.10 machine. It hasn't been in network a while, but now I finally got the cabling done. I can't get the IP from dhcp server (TW-EA510), and static settings doesn't work either. Fresh cabling showed OK 1Gb connection on tester, and win7 laptop works fine. I even tried with long cable though the rooms, but it doesn't help, so it definately isn't the new cabling.
Log from the router after issuing #"dhclient": Feb 16 23:01:43 DHCP SERVER: DHCPDISCOVER from 00:01:29:fb:c5:d1 via br0 Feb 16 23:01:43 DHCP SERVER: DHCP offer to 00:01:29:fb:c5:d1 Feb 16 23:01:49 DHCP SERVER: DHCP request from 00:1b:ea:c8:a0:ba Feb 16 23:01:49 DHCP SERVER: DHCP ack to 00:1b:ea:c8:a0:ba Feb 16 23:01:54 DHCP SERVER: DHCPDISCOVER from 00:01:29:fb:c5:d1 via br0 Feb 16 23:01:54 DHCP SERVER: DHCP offer to 00:01:29:fb:c5:d1 Feb 16 23:02:03 DHCP SERVER: DHCPDISCOVER from 00:01:29:fb:c5:d1 via br0 [Code]....
Motherboard is some old Lanparty with two ethernet ports, NVidia CK804 and Marvell 88E800 rev 13 Gigabit netwok adapters, neither of them works. At least another of them has been worked earlier when I last got it wired. It's been a while, so I'm not sure which one of them and with different router if that matters.
I decided to take the plunge and change the existing static ip configuration for my home network to a dynamic (DHCP) configuration. The DHCP server in this new network config is my gt701-wg actiontec DSL modem.
I'm trying to install CentOS 5.4 from my local repo, booting the server from centos54-netinstall iso (vmware). I write "linux URL..." during boot. I eventually get prompted for network config, where I choose manual configuration. Hitting OK ignores my config and defaults back to dhcp, which won't work since I don't have any dhcp server available.Whats wrong? Is there a bug in anaconda?
Version 10.04 LTS. Installed desktop version and network worked but I needed a static IP address and the install configures for a DHCP configured address. I tried changing to static address using the System->Preferences->Network Connections application but was unable to get the system to come up with the network up.
So I manually modified the /etc/network/interfaces and the /etc/resolv.conf files. I restart the system but when I do an ifconfig, I don't see a configured IP address on eth0 (only the loopback address). If I run /sbin/ifup eth0 everything then works fine and ifconfig shows the correct address bound to eth0.
I'm maintaining a very modest network at home, with OpenSUSE as OS on the server. I got the DHCP and routing working by following the instructions in the wiki. However, every time I run dhclient on the server/router, it appears my own DHCP server assigns an address to the internal network card despite the fact I specifically assigned it to be static using Yast. The situation resolves itself when I restart the network services with the command /etc/init.d/network restart. Otherwise no problem, but it also seems the internal network card gets a "new" IP from my server every time the external card requests one from the ISP. This is more of an issue.
Recently, I have encountered a problem when setting my network configuration.I want to automatically get an IP address through DHCP at system startup, and this can be done by editing /etc/network/interfaces file, adding auto eth0 iface eth0 inet dhcp The problem is that I want to set a static DNS, but DHCP will automatically overwritten /etc/resolv.conf file. What should I do?
I have a MB with 2 NICs and on 1 I would like to have a static IP, on the other a DHCP for a local network.The problem is the DHCP provided gateway is made default vs the one for the static IP and resolv.conf is overwritten.Any suggestions how could this be resolved? I can tweak both the DHCP server settings and the box settings.
auto lo iface lo inet loopback auto seth0 iface seth0 inet static
[code]....
Restart networking:
"sudo /etc/init.d/networking restart"
Everything is fine but 24 hours later the server resets to the DHCP address assigned to it. I have not installed any GUI im just running Ubuntu 10.04 LTS in Hyper V. After it resets to DHCP I log into it using the dhcp address and reset the networking service "sudo /etc/init.d/networking restart". It goes back to the static IP specified in interfaces. I have rebooted several times but every 24 hours it resets.
BTW - Before someone asks about iface seth0 instead of it being iface eth0. It is a Hyper V module running.[URL]
I have 2 Ethernet connections, one (eth0) for the internet which gets set with dhcp, and one (eth1) for my internal network on which I have dhcp3-server running. I set eth1 to use static IP in interfaces, but every time I reset the network, it is fine for a couple of minutes, and switches over do being served by my own dhcp server on the same machine. (the interfaces file clearly says "iface eth1 inet static")
Where I work we use almost exclusively Ubuntu 8.04 in command-line only form. I need to know if it is possible to configure one of these devices to use DHCP and a given Static IP at the same time. I know how to do one, or the other, but not both. #1. Is this possible? #2. If so, how?P.S. Yes, I did look around before I asked this, but I could not find anything. Maybe I suck at searching?
ps3 lan, psp wan, xp desktop lan, netbook W7 wan, fujitsu laptop ubuntu wan for surfing but often lan for large files, android 2.1 phone wan, mac sawtooth G3 (rarley) lan. near future, tablet wan, crappy ancient laptop xp lan rarely.next week i am having 6TB DS211j NAS (omg cant wait)I think, from what i have been reading, that moving to a static ip for each device will be better suited.I manage the belkin router from the ubuntu latop and wondered what the best way to proceed is, which first, what order etc etc.I can understand what needs to be done, i have the primary dns and ip numbers and mac address for every device ( the network is mac filtered)
so how would you begin...... a peice of paper and some drawings i have ready to plan it out.the reason i choose to change from dhcp to static is because of the arrival of the DS112j. from my understanding this device would benefit from never having its ip changed on the network. There have been times when the ip has changed on some of the devices in the past when the belkin has suffered a power failure or reset.
Can't change from dhcp to static ip address.I've installed Oracle's version of Linux Redhat 5, but I'm having no success changing from dhcp to a static IP address. My machine is plugged directly into a Belkin router which has the IP address: 192.168.2.1.If I use the gui: /usr/bin/system-config-network and set the network device to dhcp,it works fine. But if I set the IP address manually, I get no internet traffic, and if I ping an internet website, "network unreachable".The installation instructions for Oracle say that they want a full domainname. I've tried gateway.2wire.net. This worked in the last place I did a successful installation.It was the address of my ATT router. If I plunked that into a browser, I got the router configuration.
I want to run networking on my laptops in different environment (home, office, airport etc). I found that Netowrk Manager assigns information from DHCP although I requested fixed IP and configured the gateway and DNS. If I reconfigure the DHCP server so that there is no free IP address, the laptop refuses to connect. When I remove the interfaces from the network manager, I get the fixed IP address, /etc/resolv.conf is not overwritten from DHCP but WiFi connection cannot be established, there is no dialog for setting WPA-PSK. The static IP address seems to be taken into account only if the DHCP server is not found. I need the static address at home and in my office because I need the possibility to ssh to my laptop from another computer but I need IP from DHCP possibly authenticating against RADIUS (Eduroam) when travelling somewhere else. Is there an easy way how to achieve it and how to switch profiles easily? And I cannot switch DHCP off because some devices in my LAN cannot work without it.
Yes, another newbie question. Just loaded and updated FC 10. Everything works great with dhcp. Tried to setup static ip to learn more about how to set it up and nothing seems to work. I'm connected to DSL via a router when I ifconfig I get:(basic stuff)inet addr: 192.168.1.7 Bcast: 192.168.1.255 Mask: 255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
I have also tried default gateway 192.168.1.255 and 192.168.1.254.Most of what I have tried above has come from linux websites and faq's.Keeping in mind I am worst than any new newbie you have ever worked with
I can access internet when my eth0 is set toDHCP client. But when I set static I can ping goole.com... but my Firefox browser doesn't connect to Interent!
I'm pulling my hair out to figure out what's gone wrong. I have a small home network with a router and 4 computers, 3 linux boxes and 1 windoze machine.The windoze machine and 2 of the linux boxes (newer ones, one with FC11 and the other with Ubuntu Hardy) are using the router's "Set Static IP" option just fine. However an older FC5 machine I have always gets its IP assigned randomly. As this is the machine I ssh into from overseas via a Dynamic DNS, this is a huge frustration when the power goes off or I need to restart the machine. It's usually 192.168.0.2 but sometimes 192.168.0.3 and occasionally other numbers as well. It _should_ be 192.168.0.130. As near as I can tell, I'm doing everything the same between the machines. The router config is very simple and works for the other systems so I suspect I may have a legacy tweak that I did years ago that's causing the problem.
Anyone know what I can try? I'm afraid I'm not a networking guru (ahem, wouldn't be posting if I were!) so things like "check the this" will be more helpful if there's a clear example. "Check the this...emacs /etc/thisfile/config" and see if XYZ option is TRUE" is far more useful. Again, many thanks. If none of the systems were working right then it would be totally different...but 3 seem to work just fine and happily get their assigned static IPs. It's the one non-conformist that's the trouble...
I set up my interfaces file just fine on one of my computers and everything works. On my desktop its a no go. This is what I've done. I set my interfaces file to look like this
Code:
# The loopback network interface auto lo iface lo inet loopback
[code]....
Then I uninstalled network manager (sudo apt-get remove network-manager-gnome). Now I can restart my computer, but I do NOT get a static IP of 112, instead I get the last working dhcp given address (.104). It connects and I get internet using .104.
BUT, if I run
Code:
sudo /etc/init.d/networking restart
then it DOES work. It changes to my address .112 and the internet works. But when I get that I get an error SIOCDELRT: No such process found (or something similar to that). But after it sits, it still finished with [OK] and my internet works. Clearly something is amiss though. Because it doesn't go to the static IP imediately. I even tried setting up a rcS.d link to a file with that networking restart command, but still no go. It starts with the .101 IP.
I have an Ubuntu Server 10.04.1 that I have given a static IP address. Every six hours or so I will lose connectivity to it and when I type ifconfig to look at the network information, it has been given an address via dhcp. If I run the /etc/init.d/networking restart command the IP address goes back to my static address and things are fine for another 6 hours or so. Here is what is in my interfaces file:
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 10.60.82.15 netmask 255.255.0.0 broadcast 10.60.255.255 gateway 10.60.254.254
This machine is also a DHCP server and I checked to make sure there are no other DHCP servers on my network. Right now my fix is to have a Cron job running that runs the reset command every 5 hours, but I would like to find a more permanent solution.
I am having several boxex with centos on it. No pb. I have recently setup a new box with centos 5.4 and I am not able to get the network working on it when configuring a static ip.I've configured eth0 and dns using "setup": unsuccessfulI've used the network config GUI: unsuccessfulAnd it is working very well when I let the dhcp getting the setting.I need a static IP.Here is the getinfo output when static ip setup, and below it, the getinfo for dhcp setting
== BEGIN uname -rmi == 2.6.18-194.3.1.el5 i686 i386 == END uname -rmi ==
I had something I think if very odd happen to one of my computers at work today, it appears to have spontaneously switched from having a static address set to getting its address by dhcp.this is a small office with a mix of mostly linux servers and desktops with a few stand alone windows computers, mostly notebooks. Most of the desktop computers get their address by dhcp, they all have NIS /NFS for remote mounted home directories (interchangeable desktops so anyone can log in at any desk). The particular desktop computer in question here has a shared printer on its parallel port, so has a static IP. Yesterday a UPS in the server rack died, after pulling it and plugging things back in and restarting the servers, it was easiest just to reboot all the desktops, everything came up ok including the desktop in question, and the printer did work.
Today I pulled the oversized UPS from this desktop to replace the dead one, and put a more appropriately sized one in its place, shut the servers down again, rebooted, etc,About an hour later someone tells me the printer is not working on the desktop, and after a lot of searching I find this desktop has the wrong IP address, I ran system-config-network and it showed the address was set to dhcp, I changed this back to the correct static IP and things seem to be working ok now.
Fresh install of 10.04.1 server; installs seamlessly; finds network no problem.
However, establishing static connection is driving me batty. Will not take. I've reconfigured "interfaces" file several times. My fingers are numb ifdown-ing and ifup-ing and /etc/init.d/network restart-ing.
I have two files in /etc/network ... interfaces and interfaces~ (one static and the other dhcp). I can switch them in and out of play. The dhcp works and pings out like a champ. static is dead, just dead. Cannot ping router ... nothing.
I assigned a static ip to my Ubuntu Server machine and it cannot access the web now. It can access anything on the LAN. The other two nodes on the network (one wifi one hardwired) can both access the web just fine.
My wireless was connecting fine, but it was impossible to browse with. So, after searching around for a while I found a thread where it said to enter this and reboot. #echo "net.ipv4.tcp_moderate_rcvbuf=0" >> /etc/sysctl.conf #echo "net.ipv4.tcp_default_win_scale=0" >> /etc/sysctl.conf But after entering that and re booting, now I cant even connect to the wireless. It says connecting but times out.
I've been troubleshooting this problem for several hours now and I'm out of ideas. My internet connection is fine in Windows 7 but an older computer I resurrected (AMD Athlon 1.7 GHz, 512 MB RAM, Fedora 14 Security Lab Spin) is having the stop-and-go's with its internet connection. It will work for very briefly, then it gets extremely slow, where any page I try to navigate to in Firefox 3.6 takes forever to load.I have a DSL connection and my DSL modem is connected to a Linksys WRT54G2 router. I set up a static IP in Windows but don't know how to do this yet in Fedora 14, and I need to get my internet connection working so I can troubleshoot further, but with it being so slow, I'm having to use Windows to search for problems and then switch over to the Fedora box via KVM (IOGEAR), which I also just started using. I don't think that would be related, but who knows.
I'm Using the latest Kubuntu 10.10 with the default network manager -- which I think it's called Knetwork manager.
I have set up a static IP by adding a new connection using this manager and then clicking it so that it is used to connect. But as soon as there is a computer reboot the connection falls back to the original autoeth0 which has dynamic IP on and which I cannot change or delete.
I log on and Network Manager shows no wireless adapter.
I go to System > Administration > Network:
There are two entries in the Devices tab: Wireless and Ethernet
As soon as I double click the Wireless device and the configuration pops up, the device starts working (no changes to the settings are made)
I have the following set to ON: - Controlled by Network Manager - Activate device when computer starts - Allow all users to enable and disable this device
I have 2 10.04 computers and one win 7 and one vista computer: The win computers can see each other and the ubuntu computers, but the ubuntu computers cannot see each other or the win machines. The ubuntu computers connect to the internet fine and can ping each other. I cannot find settings to correct.