Networking :: Debian DHCP On Shared Network
Feb 20, 2010
Using debain 5.0.4 with webmin 1.500 and dhcp3.i have two subnets (192.168.1.0 & 192.168.2.0)at home. The debain dhcp server has 1 NIC using eth0 and eth0:1 (virtual).
I have configured the dhcpd.conf file using webmin, with a shared network, given the two subents are on the same physical network. each subnet has a pool of about 20 addresses.Problem is that when a host boots up which is under the 192.168.2.0 subnet (using its MAC add - no fixed ip assignment), it gets the associated DNS and gateway ip addresses for this subnet, however, the ip address is assigned from the 192.168.1.0 address pool.
I have checked the net extensivly finding all sorts of discussions and solutions. My problem occurs in the same manner irrespective of whether i connect a host direct to the dhcp server or via a (netgear) switch! Please can someone advise on what settings i might be missing, or do i need to set up DNS/DDNS and/or a firewall/router before this works properly?
View 3 Replies
ADVERTISEMENT
Aug 30, 2010
I am setting up a gateway Ubuntu box and trying to do this the easiest way possible. Using Network Manager in LL 10.04 I have eth1 (usb) accessing the net and eth0 (wired) set up and working. eth1 has a static IP address of 192.168.0.2 and the USB box has 192.168.1.1. This works and I have no issues with eth0. In order to allow eth1 to "share" the connection I have gone toIPv4 and change the method to "Shared to this computer".
Network-Manager automatically starts a dhcp server and assigns ip's from the 10.x.x.x class of IP's. I want to change the assignable ip range to come from 192.168.1.x. I have figured out that it is set in the dnsmasq-base package as uninstalling this and using:
Quote: >sudo service network-manager restart shuts down the eth0 completely - no IP can be assigned! Reinstall dnsmasq-base and it assigns it back with a 10.42.43.1 IP. (and all other PC's on the network are set to the 10.42.43.x range. Where is the dhcp range set?
View 4 Replies
View Related
Apr 18, 2011
I setup the dnsmasq in debian squeeze as dhcp and dns server, for the debian host i assigned the static ip addresses, and configured the xp for dhcp. Windows XP network can't acquire DHCP address from debian squeeze with this error:
Quote:
error unable to contact your dhcp server Request has timed out.
this is the tcpdump output in debian for the xp network:
Quote:
15:12:10.631635 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:07:e9:a8:ea:93 (oui Unknown), length 300
15:13:16.611793 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:07:e9:a8:ea:93 (oui Unknown), length 300
15:13:16.611793 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:07:e9:a8:ea:93 (oui Unknown), length 300
15:12:42.631730 ARP, Request who-has 169.254.202.161 tell 169.254.202.161, length 4615:12:44.613568 ARP, Request who-has
[code]....
View 11 Replies
View Related
Feb 6, 2010
I have successfully configured several dhcp servers, but I fail to see the need for a "shared network". what a shared network is in linux dhcp server terms and its advantage?
View 1 Replies
View Related
Apr 7, 2011
I am totally new to Linux and have just installed ubuntu 10.10. After configuring the network interface via dhcp I started getting these messages that come in so frequently I can't configure anything else.
[87.186415] Stack:
Why I am getting this messages and more importantly how do I get rid of them.
The installation is on a VM on Hyper-V.
View 1 Replies
View Related
Jul 7, 2009
I have got DHCP issues with Network Manager. Whenever I try to connect using static IP it works, but when I use use Netowork Manager with DHCP, it seems to try to connect and soon says "Network Disconnected"..I've managed to connect to wlan and eth using network, so there shouldn't be any hardware/driver issue.
View 4 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
Jun 3, 2010
My router is a DHCP Server.My Access Point is a DHCP Server.I'm wondering if it is really necessary and usefull.Is it possible to get an IP from the Router through the Access Point.For exemple I connect my laptop to the wifi Access Point and the IP is given by the router only.
View 2 Replies
View Related
Jul 12, 2010
I installed dhcp on my Debian server and it was working fine.
untile I restart network with this :
And then dhcp was not working.
View 4 Replies
View Related
Jan 15, 2010
On my network drive web control panel I have got such an option:What would a dhcp server do on a network hard disk?
View 5 Replies
View Related
May 7, 2010
Trying to network three computers using dhcp.
Box 1: older Asus A7N8X-E deluxe w/onboard ethernet using dhcp
Box 2: new Asus M4A785-M Micro ATX w/onboard gigabit ethernet using dhcp
Laptop: Dell Studio 1745 w/Intel 5100 a/b/g wireless
Router: Linksys WRT54G set as dhcp server
Both windows boxes are set for workgroup "home"Laptop is "laptop.home"They can all connect outside to the internet but don't seem able to see each other, not even to ping each other.
View 13 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
Jan 16, 2009
I have a WET54g bridge that I am trying to get connected to a wireless network that only allows DHCP. The idea behind it is that I would like to connect the Cat6 out of the bridge to a switch allowing multiple wired computers to connect to the wireless network. The bridge will easily connect to the network once I put the WEP key in, however, there is a kink after that. When I connect the Cat6 to my computer and request an IP for that computer, it self assigns. This tells me that it is not talking to the wireless network through the bridge.
I can not find which IP address the bridge was assigned so that I can talk to it. The sub net is 255.255.240.0 which leaves quite a few possibilities. I know that the bridge is, however talking to the wireless network because the light is steady on the front of it which indicates just that. One other thing to stack on is that I know that there is a "splash page" which comes up when any computer connects. You click on the agreement and then you are allowed onto the network. How can I get my computer to talk through the bridge to the wireless network?
View 1 Replies
View Related
May 28, 2011
I installed the latest Debian on a computer to make a backup appliance. No GUI.When the computer starts, everything is okay. The DHCP client is running, the network interface have an address, fine.If I do a /etc/init.d/network restart (or stop + start), no more DHCP client. t is stopped when the interface is down. When the interface is up, I have to start it manually.1 - is it normal ?2 - isn't ifup's job to launch the dhcp client ?3 - can /etc/network/if-up.d be the right place to resolve this ?
View 4 Replies
View Related
Jun 28, 2010
(although I'm running Solaris, I've posted here as I expect Solaris/LINUX is irrelevant) - more of a general network Q.I have a PC running Solaris 10 (hostname MARKUNIX) and a laptop running WinXP (hostname MARK-LAPTOP). Both are connected to broadband via a router. IP addresses for each are determined via DHCP (192.168.1.nn) and I do not leave either on, 24x7. I am running Oracle on MARKUNIX and want to be able to refer to it by hostname when using Oracle tools on my laptop.Each machine can ping each other ok by ip address and curiously the Solaris PC can ping MARK-LAPTOP (I'm not sure how it resolves that?) - importantly the laptop cannot ping MARKUNIX.Now I could add MARKUNIX to my laptops hosts file but that would mean changing the file each time I boot up as the ip address for MARKUNIX will keep changing (DHCP).
Is there a way to refer to MARKUNIX without having to keep changing ip addresses and use DHCP? As I understand it the 192.168 address is private and is not really the 'real' ip address and as such can be manipulated(fixed?) even whilst using DHCP?Am I right in thinking that a static ip from my broadband supplier is the ip of my connection (router) and I'll still have the same private network referencing issues?What I've covered above pretty much is the extent of my knowledge of networking so bear that in mind please.
View 4 Replies
View Related
May 4, 2010
Basically, I wanted to use the Bootp (PXE) protocol to boot a machine (my laptop) from my network instead of using USB/DVD boot medias to reinstall if need be. My router being a piece of crap, I couldn't setup the DHCP server to allow PXE packets. Confirmed from the manufacturer that it is not possible. Well for a $140 router, you would expect the opposite. Anyways, here I am with a small machine setup with Slack, no desktop environment (only CLI) and connected to my router (which I deactivated the DHCP) so the machine can act as a DHCP server. It works very well. However, I would like to install a few other utilities into that machine and for them to work, I need to put the machine between my cable modem and my router. Basically, here's the topology from outside):
Internet (ISP) --> Modem --> DHCP machine --> Router (no DHCP - acting as a switch) --> computers & printers
The problem is that I cannot connect to the modem from the computers on the network. Also I cannot access the internet (go on the WAN side) from the computers. From the computers (namely my laptop), I can ping the router, but cannot ping the interface where DHCP broadcast. Also I cannot ping the modem. From the router (using the web config page), I can ping the DHCP broadcast. From the DHCP machine, I can ping the modem. In the DHCP server, I setup the eth0 (the interface where the modem connect to) as a DHCP assigned IP so it can obtain the IP from the modem. The eth1 (the interface where DHCP broadcast) is static. All my machines obtains a IP from the DHCP machine without a hiccup.
View 13 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
Nov 18, 2010
I have in fact set the folder to shared.I can see my computer or "server" on the windows network.My router is all that ties my network together.And I have a criminal history...okay that last one was a lie.But really I'm stuck here I can't figure out how to let the windows network see my shared folder.
View 3 Replies
View Related
Feb 12, 2009
I have installed Fedora 10 on my A860 Dell Vostrol Laptop with AR242X Atheros Wireless card. Wireless card worked out of the box and i could detect wireless network and connect to it. But i have a problem that, my wireless connection is not able to get IP address from the DHCP server. Please help me out what can i do to get this working. I am using WEP security and authentication is open system.
I have windows 7 beta installed on the same machine and on that wireless network works fine so i am sure that there is no problem with the wirless network. I am using DIR-300 router from D-LINK. I tried to see packet log on wireshark and there i see that there is no reply to the DHCP discover message. Actually i don't see any RX packets at all. Which is not normal as there is traffic on the network.
View 14 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 19, 2010
how to get clients connecting to an office printer. during a migration from windows server to debian/samba.
We have:
5 windows XP machines one Windows Server 2003 machine, PDC of the old domain One debian Samba PDC (of TEST domain)/print server (with CUPS installeD) running in a virtual machine hosted by the windows server One Toshiba eStudio 3511 printer
Using the CUPS control panel, I've been able to autodetect and add the printer, and it appears as an available share in SWAT for samba. However, the driver isn't perfect. CUPS could only supply drivers for the 3510c, not the 3511.
However, clients on the TEST domain are unable to access it. Doing so gives an error about a local policy preventing a connection to the print queue. I've tried googling this error and the fix that comes up in every result about changing a point and print policy setting, does not work.
however, I've been able to work around the issue. by first logging in as local administrator, navigating to the domain server, then inputting the domain root account credentials at the prompt. That allows me to attempt to connect to printers, but with a different error
"The server for the printer does not have the correct driver installed...."
I very strongly suspect that the 3510 driver actually will work, but it's just not being shared properly. The printer driver share folder is /var/lib/samba/printers, and that directory contains only a few empty subfolders. CUPS did not place the driver there as I would expect, and that is where clients are looking for it.
The thing is, I have no idea where CUPS DID put the driver.
On the old domain, the printer uses drivers for es4511, and looking on the toshiba site, this seems to be what they provide. The Toshiba Site provides a huge variety of drivers, including several windows ones, a universal driver, and a CUPS PPD. Cups asks for an optional PPD during install and I tried supplying that. It said installed successfully, but didn't change anything.
I've tried pasting the windows drivers into /var/lib/samba/printers/W32X86 too, and likewise with other drivers from toshiba's site. but this doesn't change anything either, so I'm at a bit of a loss.
how to install/setup drivers on a samba PDC, for windows machines?
Also relevant, my smb.conf:
anyone see any possible causes of problems?
# Samba config file created using SWAT
# from UNKNOWN ()
# Date: 2010/08/19 13:03:07
[code]....
View 12 Replies
View Related
Jul 8, 2010
I have been routing network traffic based on MAC addresses, so we can distribute traffic evenly over a series of WAN IP addresses.Everything seems to be going well, but I have a very curious problem. One of the users can connect to the network without problem, but I don't see him in my network administration application (neither his MAC address or leased IP address).At the same time, I'm trying to identify other unknown computers on my network based on MAC addresses I don't have on file.
View 4 Replies
View Related
May 24, 2010
I'm using a D-Link Xtreme N PCI express wireless adapter (DWA-556). It shows up in the network manager.
However it does not get an ip address from the DHCP server. Below is what I get in the messages log:
View 1 Replies
View Related
Aug 25, 2011
I am trying to configure my IPv6 network. My computers are behind a Fedora gateway IPv6-configured, which is working great. But for computers inside my network, it seems I am getting only internal addresses from DHCP. Here is my ifconfig for an internal computer:
Quote: em1 Link encap:Ethernet HWaddr F4:6D:04:34:92:2B inet addr:192.168.0.184 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::f66d:4ff:fe34:922b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:744250 errors:0 dropped:0 overruns:0 frame:0 TX packets:548987 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:841392242 (802.4 MiB) TX ytes:60384500 (57.5 MiB) Interrupt:18 Memory:f7100000-f7120000
he-ipv6 Link encap:IPv6-in-IPv4 inet6 addr: 2001:470:1c:611::3/64 Scope:Global inet6 addr: fe80::cea7:b778/128 Scope:Link UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:61 dropped:0 overruns:0 carrier:61 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[Code]....
View 2 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
Jul 17, 2009
I'm having a bizarre problem where my network connection stops working randomly. At first I thought it was a DNS issue since Firefox simply chilled out on "Looking up [hostname]" until it timed out, but after further investigation (pinging IP's, "host" and "dig" being unable to reach servers) it became apparent that I couldn't even access the DNS servers i.e. the Wicked Connection of the East was most sincerely dead.
There are two strange things about this: one, there are no errors except "timeout". The network manager is happy, Firefox is happy until the lookup fails... Two, the failures only start *after* DHCP configuration. DHCP configuration never has any trouble sending or receiving packets. I'm going to try static IP and whatnot to see if that helps, more information later.
View 3 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