Networking :: Fallback DHCP Server - Connect To The Internet
Apr 8, 2010
I have a home network, with an OpenWrt router operating successfully as DHCP server (using DNSMasq). I'm planning to install LinuxMCE on my main fileserver and in order for this to properly detect devices around the home it requires that it is the DHCP server. That would be fine except that I sometimes power down the fileserver (eg. when my in-laws sleep in the spare room where the server lives) and that would leave me with no DHCP which creates problems (when my in-laws want to get their laptop connected to the internet).
One answer is to get new in-laws which would be OK except that I'm still pretty keen on my wife. Alternatively is there any way to set up a fallback DHCP server ie. the router would check if there's a functioning DHCP server on the network (ie. the fileserver) and if it gets no response it will serve DHCP addresses itself.
View 2 Replies
ADVERTISEMENT
Mar 8, 2010
Currently I have my eth0 interface getting a DHCP address but at times the DHCP server will not be reachable. Sooo what I would like my server to do is if it cannot find a DHCP server assign a static address to eth0. Then start the DHCP service so it can then dish out some addresses.How can I do this? Surely it is possible
View 2 Replies
View Related
Aug 24, 2010
I have a home Debian server running, and i would like to set it up as a gateway. I have 2 networkcards in it. So internet comes from the modem and on the other card i want to setup a dhcp server and it has to share the internet. But i want it also to connect to a vpn and share the internet of the vpn.. Is that possible?
View 4 Replies
View Related
Jan 31, 2010
I've only been using linux for a few days so I don't know all the tricks. I'm pretty savy configuring windows networks however.My adapter is (according to windows) a: CNet PRO200WL PCI fast ethernet adapterLinux says it is a: 21x4x DEC-tulip compatible 10/100 EthernetI do seem to be getting an ip address from the DHCP router, but I cannout ping any other ips or connect to the internet.I've tried a bunch of different options, switching things back and forth, but it still doesn't work, and honestly i don't even know what some of the options mean.
ALSO, if this helps:
paladin:~ # ifconfig eth0
Eth0 Link encap:Ethernet HWaddr 00:08:A1:03:3C:99
[code]....
View 14 Replies
View Related
Dec 26, 2009
For changing the the mac address of my lan card( eth0) in linux fedora 9(solphur) i used this command
And i could change my mac address successfully but now i couldn't connect to my network via a dhcp server ( in configuration section of my router im going to check my new mac address (because i want to spoof) ,how i can do that?
View 7 Replies
View Related
Jun 27, 2011
I have an ubuntu 11,04 samba domain server, I want to also configure this machine to work as a dhcp server, however this have give me some issues with te windows 7 workstations, my guest is that it have something to do with the iptables because those station do join the samba domain went both server and workstation are conected to a router.
This is the script I use at boot
Code:
#FOR SHARED INTERNET
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables --table nat -A POSTROUTING -o eth2 -j MASQUERADE
[code]....
I haven't test it with windows xp station but I have use the same code in the past with no problems, and since this is my first time joining windows 7 station i belive there must be some other port that need fowarding.
View 3 Replies
View Related
Oct 14, 2010
How do I tell the shared connection that it has a static IP and that I dont want a DHCP on the network?Do I have to set up DHCP on the box with the shared connection, even if that box only runs DHCP for a single IP address being the eth0 that is shared?Or can I tell the shared connection that it has a static IP and still allow network manager to run the shared connection?Or should I specify static IP's for all clients and the shared network manager and install say firestarter on the gateway to run the NAT for the eth0 out to eth1.
View 3 Replies
View Related
Sep 12, 2011
I configure my server just like on the link found in novell i hope some can help me here. my client is able to recieve DHCP address and everything is working fine on the network how ever my client cannot pullup any website, but my server is able to pullup whats wrong on this one.
Cool Solutions: HOW-TO: Set Up a SUSE 10 Machine As a Router
View 3 Replies
View Related
Jan 22, 2010
I'm going to load ubuntu server to a computer just for testing and learning. There is one ethernet card on this computer that will only be used occasionally to connect to the internet. This computer will not have any computers or routers connected to it. So my question is, once installed and running, will DHCP just sit quietly and wait for a request or is it going to complain a lot that it is not finding any other computers?
View 4 Replies
View Related
Sep 26, 2010
I have installed openSUSE KDE 11.3 on my notebook. Everything looks great, but I can't connect on internet. It looks like dhcp don't work. Wireless works fine, only auto eth0 don't work.
View 9 Replies
View Related
Nov 23, 2010
I set up a server that has dhcp going. This works 100% as I get ipaddresses. My question is how do these internal computers connect to the internet? There is a proxy that needs to be passed as well...
Is this just a simple case of portforwarding or is this a completely different thing?
View 4 Replies
View Related
Oct 22, 2010
Back in April I set up a Ubuntu DHCP server and a multiple VLAN network [URL] to migrate our various servers, workstations, etc off the 192.168.1.1 /24 network that everything was on because we where running out of address space. I built out the new network and everything worked great except our AD server would never get an IP address from the DHCP server (static reservation) and even if I set the IP statically on the AD server it couldn't ping the gateway and noone could log in. After several attempts to resolve this, including bringing in outside help, we where never able to figure out what the problem was.
Now 6 months later I have time to revisit the issue without effecting the live network. I used Acronis and imaged the AD server last Friday, cloned it on to another box with the same hardware, and put it up on the new network that's been sitting unused for the last 6 months. Today when I statically set the IP on the AD server (which is what I want) it connects and I can ping it's gateway 192.168.1.1 and all the way across vlans to a test sales agent workstation at 192.168.8.xxx on vlan 800 but only if I statically assign the agents station an IP address. When I try to get an IP address via DHCP it fails as destination unreachable. Nothing has changed in the last 6 months on the DHCP server but now it for some reason can't ping its default gateway 192.168.1.1. All of the config files are the same as they where left from the post linked above aside from the vlan id's used where changed from 1's to 100's (i.e. vlan 3 is now vlan 300) /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto vlan100
iface vlan100 inet static
[code]....
why it can't reach the gateway, when I do a tcpdump I can see the DHCP requests come in on eth0 but the server never responds and I'm pretty sure its because it isn't "seeing" them since it thinks there isn't a network connection but I don't know how to trouble shoot to find out where the problem lies.
View 6 Replies
View Related
Jul 1, 2010
Back in April I set up a Ubuntu DHCP server and a multiple VLAN network [URL] to migrate our various servers, workstations, etc off the 192.168.1.1 /24 network that everything was on because we where running out of address space. I built out the new network and everything worked great except our AD server would never get an IP address from the DHCP server (static reservation) and even if I set the IP statically on the AD server it couldn't ping the gateway and noone could log in. After several attempts to resolve this, including bringing in outside help, we where never able to figure out what the problem was.
Now 6 months later I have time to revisit the issue without effecting the live network. I used Acronis and imaged the AD server last Friday, cloned it on to another box with the same hardware, and put it up on the new network that's been sitting unused for the last 6 months. Today when I statically set the IP on the AD server (which is what I want) it connects and I can ping it's gateway 192.168.1.1 and all the way across vlans to a test sales agent workstation at 192.168.8.xxx on vlan 800 but only if I statically assign the agents station an IP address.
When I try to get an IP address via DHCP it fails as destination unreachable. Nothing has changed in the last 6 months on the DHCP server but now it for some reason can't ping its default gateway 192.168.1.1. All of the config files are the same as they where left from the post linked above aside from the vlan id's used where changed from 1's to 100's (i.e. vlan 3 is now vlan 300) /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto vlan100
[code]....
why it can't reach the gateway, when I do a tcpdump I can see the DHCP requests come in on eth0 but the server never responds and I'm pretty sure its because it isn't "seeing" them since it thinks there isn't a network connection but I don't know how to trouble shoot to find out where the problem lies.
View 2 Replies
View Related
Mar 25, 2010
I am puzzled with trying to configure a linux (openSUSE) client to dhcp to eBox DHCP server. I am using dhclient to lease an IP address with dhclient eth0 -s 10.45.48.108 and get a response
openSUSE11232CL1 dhclient: DHCPDISCOVER on eth0 to 10.45.48.108 port 67 interval 4
openSUSE11232CL1 dhclient: DHCPOFFER from 10.45.48.108
openSUSE11232CL1 dhclient: DHCPREQUEST on eth0 to 10.45.48.108 port 67
openSUSE11232CL1 dhclient: send_packet: Network is unreachable
openSUSE11232CL1 dhclient: send_packet: please consult README file regarding broadcast address.
The server reports eBox141 dhcpd: DHCPDISCOVER from 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0
eBox141 dhcpd: DHCPOFFER on 10.45.200.2 to 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0
I interpret this as the server receives the request and the client accepting it but the lease does not last long and the connection breaks. what this could be and why the connection breaks? Or my undestanding is totally wrong on how it works and should work? And BTW, where is that README file that's referenced in the message I receive on the client?
View 2 Replies
View Related
Jan 31, 2011
I cannot get my server to connect to the internet. I have tried everything. I can talk to my local network so thats not a issue. I think it is my dns and gateway. I am trying to use open dns but do not know how to configure it. Here is my configuration now:
Interfaces:
auto lo
iface lo inet loopback
auto eth0
[code]....
View 4 Replies
View Related
Oct 15, 2009
Any ideas why i cant connect to the internet with this server.
View 2 Replies
View Related
Nov 9, 2010
I have dynamic internet connection. In my network one machine run glassfish server in port 8080 (it IP address 192.168.1.3). If I type http://192.168.1.3:8080/ that load my glassfish server page. What I want is using dynamic IP like http://<DynamicIP>:8080/ load my glassfish server page. How can I do it ? My router is Dlink GLB-802C > I haven't good knowledge about network.
View 3 Replies
View Related
Dec 2, 2010
I'm no expert on DHCP. My problem is that i have a CentOS 5.5 server on which i want to install a DHCP server. I have two NICs where eth0 has access to the internet and where eth1 should act as an DHCP server.
I have installed dhcpd and this is how my dhcpd.conf file looks like.
Code:
ifconfig looks like this
Code:
When i start dhcpd on eth1 i get no error messages but when i connect any devices to eth1 they don't get any IP. I cant find anything in any logs about devices trying to get an IP address. I dont have any firewall rules in iptables.
View 4 Replies
View Related
May 14, 2010
I am unable to connect to the Internet in lucid via a proxy server using apt-get or synaptic. Opera & firefox connects to the internet fine with the proxy setting.
I have tried the following solutions:
1) set proxy setting using systems|preferences|network proxy
2) editing ~/.bashrc & /etc/.bashrc
3) creating a /etc/apt/apt.conf file.
4) putting the proxy setting in synaptic
For the proxy setting I have used the both the verbose name as well as the ip address. There is no logon requirements for the proxy server. Either formats work in the browsers.
View 2 Replies
View Related
Aug 9, 2010
I have one pc on which I have installed slackware and samba (fixed IP, mask 255.255.255.0) I have another PC (also XP) which also has fixed IP running XP, and I can connect that to the slackware server easily My third PC connects to the internet and gets its IP address from the Cisco router(?) that provides the IP and mask on boot up.
I tried changing the IP and Mask on the slackware server to match the internet PC (which uses a mask 255.255.254.0) but the PC mask and IP changed on the internet PC I want the PC that connects to the internet to also be able to connect to the slackware server, but I see no need for the slackware server to also connect to the internet - I will mainly use it as a file server When I worked for another company I think the IT department talked about having 2 network cards in the PC that connects to the internet
View 6 Replies
View Related
Jul 14, 2011
I am trying to set up a DHCP server for a network that does not go on the Internet using fedora 14. I have tried several site and every one I look at has a different dhcpd.conf file. I have tried many and every time I try to start the service they fail. Like I said it does not go on the Internet. No matter what I do when I try to start the dhcpd service it fails code...
View 2 Replies
View Related
Nov 29, 2010
I've been using Debian Squeeze for a few years now, no troubles connecting to a DHCP server in PPOE session... (DSL service) until this morning (11.29.10) when now I do (that is to say; browser, email prog., terminal, real player, etc., just won't connect). I can do dual boot, & so am in Windows XP at the moment.
View 12 Replies
View Related
Feb 5, 2009
What I need is some information to be studied and learned by me in order to be able to create with Ubuntu Server an Internet Gateway Server. From my ISP I get about 50 public routable IPs through DHCP. Into my LAN I need to forward this public routable IPs to machines but I want to be able to manage bandwidth and also to be able to enable or disable Internet access for every client machine. Maybe with subnets? Maybe with dchp really? It would be nice if it would possible through DHCP!
View 2 Replies
View Related
Feb 19, 2011
I just installed ubuntu for the first time, and I am not very familiar with everything yet but i am trying to connect to my university's wireless network and can't seem to figure it out. These are the directions they provide for linux users:
Use linuxconf Start linuxconf, go to Basic Host Information under Networking and Client Tasks.
Click Adapter 1, and select DHCP.
Click OK and Apply Changes.
Finally, reboot
I tried running linuxconf from the terminal but no such command exists, is there a similar one for ubuntu?
View 1 Replies
View Related
Feb 8, 2010
I have setup a dhcp server on eth0, & i have static Internet connection on eth1.
now clients are getting ip automatically, they are able to trace root upto eth0 & eth1.
but i am not able to access Internet from client machines. i am using open suse11 as a server.
i am not able to do telnet & ftp also from client. i am able to access Internet from server.
so please help me to configure my server so that i can access Internet from client machines also.
View 1 Replies
View Related
Mar 18, 2010
I'm trying to share an internet connection between two computers. The one currently online is a HP Presario running Ubuntu 9.10, and connects through a wireless connection. It has an ethernet port, which I'm hoping to use to connect to a Dell Desktop running Windows XP pro SP 3. I'm hoping to make this happen one of two ways.
1. Without having to mess with any DHCP settings. Sadly, I live with my parents, and the router in their room uses DHCP and sets the addresses for all the computers on the network. My parents don't want me screwing with any of the settings on the router. is there a way to just have Ubuntu pass information from the ethernet connection to the wireless connection without having to deal with DHCP.
2. I'm sure this has been explained, but as I'm new to Ubuntu, I will pretty much need step by step instructions to do this part. Sorry to be difficult. Is there a way to have Ubuntu keep the current settings it has on the wireless side (let the router determine it's address and all of that good stuff), but have a DHCP server kick in on the hard-wired side so Internet Connection Sharing has an address to look for on the laptop?
View 7 Replies
View Related
Mar 4, 2010
I using ubuntu 9.04. It was connected to the network with the manual IP Settings. Now the server settings have changed and we are supposed to move to Auto Assign IP (DHCP). All the windows machines are working fine, those are connected to network and using internet. But the ubuntu machine is not getting connected. Is there any any additional setting required for DHCP?
View 2 Replies
View Related
Aug 18, 2010
I am trying to connect to a WEP encrypted WLAN without using the DHCP server of the AP. (=giving myself a static IP)
So far i have tried:
Code:
But i cant even ping 192.168.1.1 (Network unreachable error). Is it possible that Ubuntu tries to use eth0 (which was connected to a similar /16 before) to ping 192.168.1.1 or is there somethign wrong with my commands?
Also will an AP allow access to the network although i don't have an IP from its DHCP server?
View 3 Replies
View Related
Feb 15, 2010
My ISP finished some 'upgrades' on its infrastructure. The result is that I am having great difficulty in connecting to the internet.
I have 3 operating systems on my box - XP, Fedora 8 and Feota 12.
I connect using an ethernet card, using dhcp. In fedora 12, the ethernet card is controlled be networkmanager. After the ISP completed their upgrades, I was not able to connect. I tried to connect manually using
Code:
There was an error message -
Code:
I read the advice here: [url], and removed all but the important lines.
But even after that neither ifup eth0 or dhclient eth0 works.
In fedora 8, the ethernet card is activated by ifup eth0 in /etc/rc.local. I was able to connect on a couple of occasions, but that too stopped working. I tried both ifup eth0, dhclient eth0, and tried to use the gui( which fires the dhclient command), but none worked.
When I use windows, it takes about 2 minutes to get an ip (earlier it was immediate). Sometimes that doesnt work and I have to click on "repair" whereupon it starts working.
View 1 Replies
View Related
May 28, 2009
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!
View 2 Replies
View Related