OpenSUSE Network :: DHCP Overriding Static Setting?
Apr 3, 2010
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.
View 5 Replies
ADVERTISEMENT
Apr 30, 2010
I tried to setting a static ip from dhcp, I changed lines in /etc/rc.d rc.inet1.conf as follow:
# Config information for eth0:
#IPADDR[0]=""
IPADDR[0]="192.168.18.7"
#NETMASK[0]=""
NETMASK[0]="255.255.255.0"
#USE_DHCP[0]="yes"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
and then I run "/etc/rc.d/rc.inet1 restart"
after that, can't access net, and couldn't ping the gateway[192.168.18.1], I have to change it back
View 4 Replies
View Related
Feb 18, 2010
how I can define a local static IP address (so that I can run a web server off of the same IP, rather than letting my router DHCP it)?I've tried doing the YaST->Network Devices->Network Settings->Traditional Method with ifup->Set NIC to desired IP->Set Default Gateway to router address method, and afterwards I can't even get into my router anymore (not even responding to ping).
View 8 Replies
View Related
Jan 2, 2011
My DHCP setting is disabled in fedora 12 . Previously i was using static IP address. I Want DHCP setting enable, any idea.
View 1 Replies
View Related
Aug 18, 2010
In 11.3, if in "/etc/sysconfig/network/ifcfg-eth0" i set DHCLIENT_SET_DEFAULT_ROUTE="no" this seems to have no effect. If i start my box, the routing table has the "default route"-entry offered by a remote DHCP-Server. More Info: My Susebox has eth0 and eth1 and both network devices should use DHCP4. But from DHCP-offer on eth0 i want to use
* "offered IP-Adress for eth0"
* "offered NTP-Server"
* "offered Host-Name"
From DHCP-offer on the eth1 i want to use
* "offered IP-Adress for eth1"
* "offered DNS-Servers"
* "offered Default Route"
View 1 Replies
View Related
Jan 27, 2010
My ISP offers me a static IP and 2 dynamic IPs. I want to use the static one.
When I run
Code:
But the next morning (not every morning though) my IP will be the dynamic one again. Something seems to be overriding it. The last time it changed was today at around 8:30 AM.
View 9 Replies
View Related
Apr 19, 2010
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.
[Code]....
View 5 Replies
View Related
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.
View 6 Replies
View Related
May 10, 2010
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?
View 1 Replies
View Related
Aug 18, 2010
I set up a dhcp server in the lan and assigned static ips to two computers, computer A and B, according to their mac address. Everything was running fine. But when I turned off computer A, connected computer C to the network, and assigned computer A's static ip to computer C without changing dhcp setting. Computer C was able to access the internet. When I turned on computer A, dhcp couldn't assign an ip address to it, and computer C showed an error message of ip conflict and failed to use internet. I wonder if dhcp server is able to prevent other computer from using the same static ip that is already assigned to a computer according to its mac address.
View 5 Replies
View Related
Feb 16, 2011
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.
View 3 Replies
View Related
Oct 21, 2010
I know there are tons of help guides out there for this, and I have looked at and tried them all. I am trying to do something really simple, and just can't seem to get it working. I have been trying on and off for the better part of a week now, with not much luck. What I am tyring to do is have a Ubuntu 10.10 server serve out DHCP addresses and be the DNS for the local network. The local network will have no internet access, so it only needs to know the names of the local server. My network setup is as follows:
1: Windows Vista web server
2: Ubuntu DHCP3 and BIND server to give IP's and resolve local names.
3: A bunch of tablet computers connected via dhcp to the network, that need to access the web server on the Windows machine.
I have DHCP working nicely, but it fails to propagate the hostnames to the tablet computers. Unfortunately I need this to work, as the tablets do not have the capability of having a 'hosts' file.I have tried just about every self-help guide I can find, and just can't seem to get this work. Everything seems to work fine except for the name resolution. Any help would be great, I don't have that much hair left to pull out!
View 5 Replies
View Related
Dec 16, 2010
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.
My files are as follows:
View 2 Replies
View Related
Mar 5, 2010
How do I activate static DNS for mobile broadband. I can't find any place to write down this information. Settings are made in Network Manager - not Yast.
View 3 Replies
View Related
Jan 12, 2010
I'd like to have a set up where my Ethernet card has a static IP set up but my WiFi card doesn't.Currently I have a profile for this set up in Network Manager, however on boot up and every time I replug the cable Network Manager chooses the default "auto eth1" profile. I manually have tochoose my own profile for the Ethernet card every time. How can I make it default??I know the workaround would be to use ifup but then I lose the ability to quickly change access points for my WiFi card so that's not a solution for me
View 9 Replies
View Related
Aug 20, 2010
New SUSE 11.3 install connects to network/internet etc OK with DHCP-assigned IP address. When I switch to static IP, I can no longer ping internal network, or anything else. This works OK with SUSE 11.2 on same hardware and (as far as I can see) same setup. Some diagnostics are shown below.
Firewall
Disabling the firewall makes no difference.
Not using a network manager (can't see how to assign fixed address if I do - all greyed out).
ifup eth0:
eth0 device: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
SuSEfirewall2: Warning: no default firewall zone defined, assuming 'ext'
(not sure why the warning - eth0 is assigned to external in the firewall setup).
[code]....
View 9 Replies
View Related
Jul 15, 2010
Why trying to avoid ranting about my Linksys router, I'll try and keep things short. I have a Linksys router in which the default firmware was terrible and would not correctly renew its DHCP lease. After getting feed up with that I flashed dd-wrt on the router and now it works better but randomly DNS queries would stop being resolved. To rule out the chances that it is my ISPs DNS servers I switched my DNS to openDNS, same problem happens (although I have to admit openDNS is a lot better than what my ISP has).
Anyways I'm about feed up with it and about an inch away from drop kicking the thing out my window. To avoid that I figured I will give it one more change and instead of using my Linksys as my network gateway I'll move all of that to my home server, and make the Linksys just an wireless AP. Besides setting up DHCP, DNS, and iptables on the server is there anything else I will need to know and setup on the server to make this work?
Side note anyone using openSUSE for DHCP know if setting up reserved IPs for certain MAC address is possible?
View 2 Replies
View Related
Feb 14, 2011
I have a home lan which has always used static IP. I now have a new modem/router which has no way to assign IP's by mac address.Is there a way to set a client up to always have the same IP when the router is assigning the IP's?
View 9 Replies
View Related
Feb 21, 2010
How do I figure out what to enter into the fields when I set a static ip in KDE? Other network managers give you suggestions but knetwk does not.
View 9 Replies
View Related
Mar 31, 2010
HOW DO I SET MY OWN STATIC IP ON SUSE?
View 5 Replies
View Related
Aug 2, 2011
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?
View 9 Replies
View Related
Jan 12, 2010
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.
View 14 Replies
View Related
Jul 6, 2010
My ISP provides my internet via DHCP. I have a home wireless router to provide internet access, wired for my desktop machine and wireless for my laptop. My question is: Is it possible to configure the router (the Access Point) to provide internet to the desktop and the laptop via static IP? Currently I have managed to configure the internet to them via DHCP and it works. I am just curious to know whether it is possible to provide the internet for them by static IPs, given that the internet that actually goes into the Access Point (the wireless home router), is DHCP.I fiddled with this a lot yesterday, but I only managed to get a working configuraton by DHCP for both the desktop and the laptop. If I supply them with static IPs, I can only ping the Access Point, but not beyond it. So does it at all make any sense to try to configure them by static IPs, i.e. is that virtually possible?
View 10 Replies
View Related
Jan 24, 2010
I was trying to configure a static Ip on openSUSE but didn't get very far...I would like to do it through the terminal.
View 4 Replies
View Related
Apr 5, 2011
We're trying to replicate something that Windows servers can do. Basically on a Windows box, you can give it a static IP address, but there is an option to have it update the DNS server with it's IP and hostname. We are trying to do this on SUSE 11.I know I can get this function to work on SUSE if the box is set up as with DHCP. What we're having difficulty is when the server is set up as a Static IP to get it to update the DNS server
View 8 Replies
View Related
Aug 11, 2011
I have virtual box installed which automatically installed bridges for my network adapters. This has always worked fine. I'm attempting to set up a static IP for this machine now. I use NetworkManager, and the physical connection (eth0) is set to static IP of 0.0.0.0, and the bridge (br0) attached to eth0 was set to DHCP. I changed br0 to my desired static IP and lost net connectivity (I'm talking about the host, not the virtual machine - I'll get the host working first). Re-enabling DHCP restores connectivity. So I don't know what the problem is, but I am unable to assign a static IP to the bridged connection. Do I have to do this differently? Do I need to remove the bridge so I am using just eth0 again, assign the static IP to eth0, and then re-install the bridge? I haven't tried that yet because a) I don't know how to remove & reinstall the bridge, because it was done automatically by Virtual Box installation, and b) I could probably do that if I had the time figure it out but right now I don't.
I set up a static IP on wlan0 on another machine using Network Manager and it works fine. That machine also has Virtual Box installed but for some reason doesn't have the bridged connections. (Perhaps because it runs Ubuntu, not OpenSUSE, if that makes any difference)
View 1 Replies
View Related
May 21, 2010
basically I set the static ip address:
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]
Also FYI-
# ps -ef | grep dhclient
root 1234 1 0 May19 ? 00:00:00 dhclient3 -e IF_METRIC=100 -pf /var/run/dhclient.seth0.pid -lf /var/lib/dhcp3
[code]....
View 7 Replies
View Related
Aug 17, 2010
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")
View 7 Replies
View Related
Aug 28, 2010
I'm have a number of ubuntu servers that all have dual nics.One interface is used to assign a static public ip and the other is used to assign a static internal IP that can be used on the internal network.The interfaces pull IP's from completely separate gateways on different networks.The problem I face now it that our internal network is moving everything to DHCP on the internal side.I can configure my /etc/network/interfaces so that I can get a public static Ip and a private DCHP, but the problem is that the public IP no longer functions for any services.here is an example of my interfaces
Code:
# The primary network interface
auto eth0
[code]....
View 9 Replies
View Related
Jan 5, 2011
my system is belkin router with dhcp enabled.connected are: win xp desktop, win7 netbook, ps3 and fujtisu laptop with ubuntu 10.10, advent notebook xp. right now i have everything getting its ip addy over dhcp but i want to set static ip for each machine. (so the ps3 can run dmz and ocasionally the belkin changes ip address even tho the lease time is set to forever) i can do this with the windoze machines but i do not know how to set static ip and other info for the ubuntu machine.i did search for the forum for 'static ip' but the results that appeared were nothing to do with dhcp!
View 5 Replies
View Related