Debian Configuration :: How To Assign Specific Local IPs In Home LAN Using DHCP?

Apr 29, 2011

I have some beginner questions about DHCP, Avahi, and configuring a small home LAN.Suppose I have a dynamic IP address assigned by my ISP, which requires DHCP be enabled in my dsl modem/router/"firewall" [sic]. Suppose for simplicity I have just one PC behind the dsl modem.I think "enabling DHCP" in the modem/router means that a DHCP client runs on the router, which communicates with a DHCP server run by my ISP when I boot up a PC on my LAN. Is that guess correct? Can I get DHCP to assign a particular local IP, say 192.168.1.10 (which is not the one taken by the router--- for this discussion, let's say that is 192.168.1.0) to my PC each time I boot it up?

Now suppose I want to build a stand-alone firewall, so that my LAN will have the firewall and the first PC behind the modem, with the first PC virtually behind the firewall. By default, I think these will both have DHCP clients running which I need to configure properly. The firewall should also have a DHCP server which should control how local IP addresses are assigned, correct? I should try to arrange that the LAN has only DHCP server, only one NTP timeserver, only one DNS nameserver, correct?My first PC seems to have installed an autorun client called Avahi, which performs DNS multicast services and incorporates something called zeroconf which seems to have something to do with remote desktops, which I don't need and which is a potential security hazard. But it seems that Avahi is an intrinsic part of the KDE desktop and cannot be removed. Just want to be sure that Avahi can coexist comfortably with dhcp3-client, which is also installed on that PC. They perform different tasks, correct?If I can get the stand-alone firewall to work, I know I need to turn off the commercial firewall in the dslmodem/router/firewall device. Should I purchase a bridge and try to turn off the routing function also?

View 8 Replies


ADVERTISEMENT

Networking :: DHCP To Assign Specific IP To A Particular MAC Address Of A Machine?

Feb 22, 2010

I want to setup 1Gbps our lab network and we purchased 'Buffulo Giga layer switch ' with 24ports. Is there a way to tell DHCP to assign specific IP to a particular MAC address of a machine ? We want to use DHCP and whatever the port we use ,it should have same IP ..

View 1 Replies View Related

Debian Configuration :: Use Specific Address For Dhcp Server?

Apr 27, 2011

I'm running gnome desktop on squeeze system. When I boot my system seems to be using my internet modem as its dhcp server. The rest of the machines on my lan are correctly using my router for that purpose. As a result, what happens then is that my debian machine frequently gets a duplicate ip address assigned to it. I would like to specify to my debian computer that I want it to use the specific fixed ip address of my router for dhcp purposes.

View 9 Replies View Related

Debian Configuration :: Local Area Network At Home

Sep 15, 2010

At home I have two computers running linux connected to the same router. I would like to be able to connect them so that I can move files between them and execute simple commands. What is the most simple way to access a prompt on the other computer or to mount a partition currently used by the other computer?Using the www it is possible to connect two computers using ssh, but it should be easier to do this over the LAN, right? I have been googling a lot but not found anything.

View 10 Replies View Related

Debian Configuration :: Apache - Cannot Access Webserver From Home It's Available Only Within Local Network

Aug 21, 2010

I have installed apache php and mysql on my pc during debian installation... some of my friends complain they cannot access my webserver from their home and it's available only within my local network... Please help regarding this...

View 6 Replies View Related

Debian Configuration :: Setup A NFS4 Server (no Security, Local Home Network Behind FW)?

May 30, 2010

I'm trying to setup a NFS4 server (no security, local home network behind FW). It seems that I'm missing something because 'rpcinfo -p' does not list v4 for NFS: petit-pois:/home/eric# rpcinfo -p

[Code]...

View 3 Replies View Related

Debian Configuration :: Assign Devices To Pci-stub

Apr 24, 2016

I'm trying to assign pci devices to pci-stub at boot before any of the kernel drivers can access it. I've successfully managed to do this on a Ubuntu system but I cannot get it to work on Debian. I've set pci-stub to load as a module in /etc/modules. I've then tried both these methods:

Add pci_stub ids=8086:100f to /etc/initramfs-tools/modulesSet GRUB_CMDLINE_LINUX_DEFAULT="pci_stub.ids=8086:100f" in /etc/default/grub.

Both give the same result after updating grub/initramfs and a reboot: when I check "dmesg | grep pci-stub" I get:

Code: Select all[ 1.522487] pci-stub: add 8086:100F sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000

The actual device id's are not claimed by stub. Same for lspci -v which shows that the devices are still using the kernel drivers.Again, this configuration works on Ubuntu. Also issuing the following commands successfully assigns one of the devices to pci-stub but I need it to work on boot before the kernel drivers load:

Code: Select allecho "8086 100f" > /sys/bus/pci/drivers/pci-stub/new_id
echo 0000:02:02.0 > /sys/bus/pci/devices/0000:02:02.0/driver/unbind
echo 0000:02:02.0 > /sys/bus/pci/drivers/pci-stub/bind

View 1 Replies View Related

Debian :: Local DHCP Server With Two Ethernet Cards

Jul 5, 2015

I recently bought a used Server (FSC RX200 S4) and set it up running Debian 7. Being used to Ubuntu, that was no big deal. It works as it should out of the box. This magic computing machine has four Network cards (eth0 - eth3). Now, I want to set it up as a multi-purpose server. On the one hand, it shall provide a Apache2 webserve, a SQL Server, a File/Streaming Server and so on. I have no problems setting up these.

On the other hand, it should work as a DHCP server in my local lan with some PCs and a printer/scanner. Until now, my cheap router did that job including to connecting me to the internet. Since I can't really set up a proper firewall with that box, I want to use my server for that.

Thats's my desired setup I want to achieve:
[] Router provides internet connection to Server
--> cable goes into eth0
[] Server therefore has a internet connection
--> Some internal magic routes the internet from eth0 to eth1 (preferably as a iptables setup) and does the Firwall & DHCP Service
--> cable goes from eth1 to a switch
--> switch connects the PCs and printer
[] PCs have internet and I can use the printer

So far so good, here's what I've come up with. I installed dnsmasq and isc-dhcp-server. I got some config files for both. I got a script to set up my iptables

Iptables script:
Code: Select all#!/bin/sh
#
# rc.firewall
# firewall with iptables ... stronger version
#
FWVER=0.88s

echo -e "
Loading STRONGER rc.firewall - version $FWVER..

[CODE].....

When starting up the services, I don't see any errors. Still, it doesn't work. My Server loses its internet connection and the PCs connected to the network are unreachable.

View 1 Replies View Related

Slackware :: WEP 64-bit - DHCP Won't Assign IP

Jan 6, 2010

The router is set up to use a 64-bit WEP passphrase. From what I've read, that means four different hex keys. One of which is meant to be active. I've tried each of the four generated keys, one-by-one. I've also tried putting them all in and activating one, but the syntax seems to be wrong.

I read Alien's Wiki on it, and various other sources. People keep suggesting wicd, but I want it to work with the rc.inet1.conf file first. Just so I know what needs to be entered in order for that to happen. I have a desktop to set up eventually as well, and that shouldn't need wicd.

My configuration file*: [url]

My lspci entry for the wireless card:

Code:

*I've edited this several times since upload, but nothing has worked so I don't think I need to keep it up-to-date. The online file is basic configuration, I believe.

View 2 Replies View Related

Debian :: Set Up A Specific Home Server?

Apr 22, 2011

how to set up a specific home server. What I'd like to do is set up my home server to check mail from various ISP's that use either POP3 or IMAP, then make that mail available to a local IMAP server.

Meaning... Server would just check every nn minutes to see if there is new mail at 2-3 different ISP's and if so, copy/move the messages to my server where I would use an IMAP client to check locally from my server. Before anyone mentions forwarding, neither of the ISP's does not offer forwarding services.

View 2 Replies View Related

Debian Configuration :: Exim4 Configuration For Local Addresses

Jun 17, 2010

I am working on a Debian 2.6.26-19 Distribution with exim4 as MTA. After a system restart a problem occurred with delivering emails to local addresses. These local addresses use a 1and1 mailserver for email. The MX records for the local domain are set correctly but exim does not use a DNS lookup for these addresses because it identifies them as local addresses. I figured this out by executing the exim4 -d -bt command. The dns lookup part of the result looks like this (I replaced the actual address with placeholders):

[Code]....

The eventual result of the exim4 -d -bt command is: [user]@[domain.ext] is undeliverable: Unrouteable address How can I make sure, that exim4 makes a DNS lookup for the local addresses instead of skipping it? I know that I have to edit a exim4 configuration file, but I could not figure out which and how.

View 1 Replies View Related

Fedora Networking :: Get The Router To Assign An IP Address Through DHCP?

Jan 24, 2009

I noticed that my internet connection wasn't automatically brought up each time I logged into Fedora so I opened the system-config-network tool and edited my network adapter by checking the box marked "automatically start at boot/login." To my surprise, the connection went down and upon trying to click on the device to let the manager bring up the connection the greyed-out phrase "device not managed" appeared underneath the device name and wouldn't allow me to connect.

Even when I used ifconfig/dhclient to get the connection up nothing happened. I could get the router to assign an IP address through DHCP, pinged a few sites to make sure it was legit, but still couldn't use firefox to browse anything. Seems as if network manager GUI is conflicting with command line attempts to bring the network up. I'd like to permanently disable system-config-network if possible because it's acting screwy!

View 5 Replies View Related

Ubuntu Networking :: Unable To Get DHCP To Assign IP Address

Mar 22, 2010

I'm using Ubuntu 9.10, and I want DHCP to assign an IP address automatically. I can ping my router, and get a reply. I just have no idea how to do this.I'm trying to get my Ubuntu machine onto my Windows network.

View 9 Replies View Related

Networking :: Assign Default Gateway Via DHCP At Random

Feb 21, 2011

I'm looking for a method to assign a default gateway via dhcp randomly depending on ether the last char of the mac being odd or even, or the time the user connects. Is there a good reliable way to achieve this?

View 2 Replies View Related

General :: Assign DHCP IP For Client For 5 Interfaces At One Shot?

May 11, 2010

I have a RHEL Machine. All I have is 5 Ethernet cards.I want all of them to be assigned IP through DHCP while I boot my system.

View 4 Replies View Related

Ubuntu :: How To Assign Directory To Specific Partition

Jun 13, 2010

How can I assign a directory to a specific partition (another hard drive)?How would someone move / home/ username/music to another drive or partition? But do so in a way that it no longer writes MP3's (or FLAC) files in the original directory of the root drive?

View 9 Replies View Related

Ubuntu :: Assign Each Application To A Specific Workspace?

Jul 24, 2010

I am using ubuntu 10.04 and opensuse 11.3. I would like to know how to assign each application to a specific worksapce. For example,when I open a pdf file, it will be moved to workspace2. When I open a movie, it will be moved to workspace3. In Leopard, "Space" have such features. I would like to know the way to achieve this in ubuntu and opensuse, in an easy way, meaning that just need to install a small package, not a big one , like compiz

View 1 Replies View Related

Ubuntu Networking :: Can't Assign Specific Static Ip

May 25, 2011

Using Ubuntu Server maverick here - after altering /etc/network/interfaces to use a static ip and checking /etc/resolv.conf (no alteration needed) no network services were working at all. Here are the contents of interfaces:

Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
broadcast 192.168.1.0
gateway 192.168.1.254

I was fairly certain that this was verbatim from my previous server which is no longer attached to the network. After hours of fooling around with no success I changed the address to 192.168.1.99 and it worked perfectly. So my question is: why? My old server used 100. Could the router refuse to give a new server the same address or something like that since that address had been taken in the past?

View 1 Replies View Related

Software :: Assign New Gateway When Servers Hosted On Non DHCP Network

Jan 29, 2009

Does anyone know if you switch networks Where you have your servers hosted on a Non-DHCP Network, and you switch your IP addresses, then do you have to switch change/assign your new gateway address? I'm not sure if its manually assigned? How do you do it? Also what about nameserver resolving?

View 2 Replies View Related

Programming :: Assign IP Address / Renew DHCP From Kernel Module?

May 14, 2010

I'm currently working with wireless network kernel module.

This device initialiy gets its IP address by using DHCP,
but the problem is sometimes the new IP assigned for internal reason.

So what I want to do is assigning new(changed)IP address into exsiting
interface, or occuring DHCP renew event to cause update IP from kernel
level. This shold be done without user's intervention, so whenever the
kernel module detects IP changed(via underlying wireless
communication), it automatically correct update its IP address.

Q1) any functions or api to cause DHCP renew event from kernel level?
Q2) or any functions or api to assign IP address to specific interface?

View 3 Replies View Related

Debian Configuration :: Internet With Isc-dhcp-serve

Jul 27, 2015

I need to shear internet i use isc-dhcp-serve and it work but internet doesn't work i have triad so many commends but still networking ... My setting is eth0 - wan eth1 -local

iface eth1 inet static
address 192.168.42.6
netmask 255.255.255.0

dhcp

authoritative;

subnet 192.168.42.0 netmask 255.255.255.0 {
range 192.168.42.10 192.168.42.50;
option broadcast-address 192.168.42.255;
option routers 192.168.42.1;
default-lease-time 600;
max-lease-time 7200;
option domain-name "local";
option domain-name-servers 8.8.8.8, 8.8.4.4;
}

View 0 Replies View Related

Debian Configuration :: VM Is Assigned IP By DHCP At Reconnect

Oct 1, 2015

I'm running jessie on virtualbox.

I set staticIP at /etc/network/interfaces.

When I stop/start vm(not restart), dhclient becomes up and ip is assigned by dhcp. Why?
--------------------------------
yoshi@vbox:~$ uname -a
Linux vbox 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux
--------------------------------
yoshi@vbox:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

[Code] ....

View 1 Replies View Related

Debian Configuration :: DHCP For Multiple VLANs

Feb 7, 2016

I'm trying to setup a DHCP server that serves several different VLANs, we have 5 in total. Our network is working correctly, with static IPs, we're able to ping across without any issues.

When I connect my debian box to an interface on VLAN5, statically assign an address in the correct range, it works. Similarly with all other VLANs.

To configure this box as a DHCP, I set one of the ports on the switch as trunk, connect that to the debian box to allow all VLAN traffic to reach my debian box.

I setup DHCP following the steps on [URL] ....

Then I configured different VLANs by following the steps on [URL] .....

However, with the vlans setup, I am unable to ping anything. This is essentially what I did.

Code: Select allSet the port on the switch to trunk with 802.1 encapsulation
disable eth0
vconfig add eth0 5 # to add vlan 5
ifconfig eth0.5 192.168.5.254 netmask 255.255.255.0 up
vconfig add eth0 5 # to add vlan 10
ifconfig eth0.5 192.168.10.254 netmask 255.255.255.0 up

[Code] ....

I do not know why I am unable to get any connectivity through my VLAN interfaces.

View 2 Replies View Related

Debian Configuration :: How To Setup DHCP On Computer

Mar 11, 2010

using Debian 5.0, GNOME desktop.my DSL service was to be connected today.the problem is my DSL light keeps blinking.ethernet light is solid.how do i setup my DHCP on my computer

View 12 Replies View Related

Debian Configuration :: DHCP And The Desktop Responsiveness?

Aug 15, 2010

I am connected to a network using any interface (eth0, eth1, or wlan0) that if my ip address was given out (dhcp) that my desktop responsiveness gets worse. Specifically the mouse has a sort of "sticky" feeling. I mean by that that I'm moving the physical mouse and the cursor is getting stuck here or there on the screen. It is extremely annoying. Here is my config file:

beethoven:~$ cat /etc/dhcp3/dhclient.conf
# Configuration file for /sbin/dhclient, which is included in Debian's
#dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's

[code]....

View 6 Replies View Related

Debian Configuration :: Host Name Not Broadcast To DHCP

Dec 21, 2010

I have setup a few machines within my house. The Debian Squeeze machines do not provide a host name in the DHCP client list on my router. Strangely, my Ubuntu, Android, and Blackberry machines do show host names. I have noticed the same behavior when wirelessly tethering my Debian laptop to my Android phone (which also uses DHCP). Is there something I need to enable to have the name show up on the router?

View 14 Replies View Related

Debian Configuration :: Eth0 Keeps Reverting To DHCP?

Feb 19, 2011

Freshly installed Lenny system. Edited /etc/network/interfaces to use a static IP:

# The loopback network interface
auto lo
iface lo inet loopback

[code]...

View 5 Replies View Related

Debian Configuration :: Can't Find Dhcp Initscript On 6

Mar 4, 2011

I have installed dhcp3-server via apt-get install dhcp3-server, but I couldn't find any initscript. So, how can I start and stop it properly ?

For now , I have added "dhcpd" line in rc.local.

View 2 Replies View Related

Debian Configuration :: Bind - DHCP And DDNS ?

Jul 14, 2011

DHCP I have working, so is BIND.

I'm trying to get dynamic dns working and am having issues

I suspect this maybe a chroot issue.

I've tried to follow the chroot advise within the wiki for Bind but no joy.

View 6 Replies View Related

Hardware :: Assign Mouse Buttons To Specific Task

Jul 14, 2009

Okay, I have been all over the web... all over JustLinux and pretty much spent several months trying to find one simple answer. How do I easily map two applications to my trackball?I have a Kensington Expert Mouse Model K64325. It has a scroll wheel, and 4 mouse buttons. I have used xev to figure out which button is which. The upper left = 2 and the upper right = 8. I want the upper left to open Firefox when I click it. I want the upper right to open REALBasic when I click it.I know this can be done (really easily too!) in Windows. I want to do it in Linux. Especially since I have several systems like this. Also I can then take what I learn from my own experience and start mapping OTHER people that are total Linux newbs, mice for them.

The mouse works great all I want are the two feature/options I just listed and I cannot find a single answer anywhere on the web that seem to address my question. SO I am hoping someone here will have a laymans answer.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved