Ubuntu Networking :: Configure Second Ethernet Card For A Dhcp/dns Server?

Mar 2, 2010

i already have an eth0 configured to automatically get its info from dhcp.

but i wanna configure eth1 to be able to serve dhcp and dns. i havent configured either dns or dhcp server on the server box since i have not configured the serving interface.

so far my interfaces file is:

Code:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp

[Code]....

View 1 Replies


ADVERTISEMENT

Networking :: Connect Using An Ethernet Card Using Dhcp ?

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

Networking :: Configure A (openSUSE) Client To Dhcp To EBox DHCP Server - Lease An IP Address

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

Networking :: Configure My Ethernet Card To Work?

Sep 2, 2010

Tell me how to configure my Ethernet card to work. My pc only works wirelessly. I don't know what kind of Ethernet card is installed. I have Ubuntu 10.4 on a dell pc 1ghz, 20ghd, 512mb.

View 2 Replies View Related

Networking :: Configure To Use A Specific DHCP Server?

Jan 24, 2010

This is probably an odd request, but figured I'd ask in case someone knew. We have a lab that has the IP range 172.10.0.0/16 (255.255.0.0). The lab gateway/DHCP assigns an IP in the range of 172.10.0.2-172.10.0.254. I want to set up my own DHCP server on a specific range, for example 172.10.10.1-172.10.10.254. I create a new host fine, but since it's set for DHCP, it uses the DHCP server at 172.10.0.1. Is there a way to force it to use a different DHCP server on the client side? I realize that I can work around this with exclusions on the 172.10.0.1 DHCP server, or use iptables to deny DHCP requests to specific MACs, but wanted to know if there was an (easier?) way to configure the client to use the 172.10.10.1 DHCP server instead of the 172.10.0.1 server?

View 1 Replies View Related

Networking :: Configure Dhcp Server On Centos?

Feb 9, 2010

how to configure DHCP server on centos linux and how to configure FTP server on centos linux

View 2 Replies View Related

Ubuntu Networking :: Configure A DHCP Server But When Try To Start It It Just Fails?

Jan 10, 2010

I'm trying to configure a DHCP server but when I try to start it it just fails.

Code:
log
Jan 10 16:25:52 SRV-LINUX00 dhcpd: Copyright 2004-2008 Internet Systems Consortium.

[code]....

View 5 Replies View Related

Ubuntu Networking :: DHCP Server Which Does Not Configure The Default Gateway Parameter

Jun 29, 2011

I need to place an Ubuntu machine on a network where I have a DHCP server which does not configure the Degault Gateway parameter (we don't want ordinary users to browse the internet). Is it possible to leave the machine using DHCP and define the Default Gateway manually (as in Windows XP i.e.)? How?

View 1 Replies View Related

Networking :: Configure Dhcp Server - Ip Is Not Getting Assigned To Client Machine

Nov 1, 2010

i hav configure dhcp server. but the ip is not getting assigned to my client machine.

View 3 Replies View Related

CentOS 5 Networking :: Configure DHCP Client To Register Itself To DNS Server?

Aug 23, 2010

I'm new to CentOS and has recently use it.

I'm looking for a way to configure DHCP client so it would dynamically set the hostname and register itself to a DNS server. I don't have access to the DNS server.

View 6 Replies View Related

Ubuntu Networking :: Ethernet Card Not Working In 10.04 Server

Jul 18, 2010

I've set up 10.04 Server so that I could install directly to a command line, due to the fact that Desktop was crashing during the install every time. The installation goes fine, except for the networking portion. DHCP fails every time I try it. So I set up a static IP as an alternative. Once installation completes, none of the network-oriented tools (ping, telnet) work. I've tried pinging my router and I get 'Destination Host Unknown'. This is true if I change to a DHCP oriented setup as well.

The router sees that the machine is there, as indicated by the slowly blinking connection light meaning that it's hooked up to *something* but there's no activity. Also, networking did work within Windows before I nuked it, so I know it has the ability to operate correctly. I'm at a loss, mostly due to my own newness and ignorance of how to start tackling this within this environment.

View 9 Replies View Related

Red Hat / Fedora :: How To Configure Ethernet Card

Dec 10, 2010

I have installed linux on my system. I have connected two ethernet cards in the CPU. I have then connected one cord to one card from the modem. Its working fine. I have connected another cord from the second port to the switch and there by from switch to other systems. However the system is not detecting the second card. I am a newbie to linux and I don't know how to configure it.

View 3 Replies View Related

Slackware :: Configure Old Desktop With 12 As A Router And Ethernet Card RTL 8029

Jul 2, 2010

I am really interested to configure my old desktop with Slackware 12 as a router. But unfortunately I did not found any other ethernet card (second) as Realtek 8029. (I need two ethernet cards according to the howto [URL]) It is possible to get up and running this card? I was googling a lot. I tried to use the ne2k-pci module. It seems that it was loaded successfully, but I cannot see my interface (eth1) with ifconfig.

lspci shows:
Quote:
00:0b:0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
lsmod:
Quote:
ne2k-pci 12768 0 (used by)
[Code]....

View 6 Replies View Related

OpenSUSE Install :: 10.3 Network - Configure Ethernet Connection Or Wireless Card

Oct 2, 2010

I installed 10.3 (after buying it a couple of years ago and letting sit on the shelf) and can't get it to configure my ethernet connection or my wireless card. Yast doesn't include a list of available cards, and the error I get in installation-network setup is that the kernel isn't present. The machine I'm installing this on is a Lenovo, in which there isn't a discrete ethernet card (it's in the motherboard), but my wireless card (a Cisco LINKSYS 802.11G) is a discrete card. Because I'm divorcing Microsoft for a number of valid reasons, I don't have Windows available on that box.

View 4 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

Ubuntu Networking :: Ionitx Can't Get Wired Ethernet To Work ( No DHCP Lease )?

Jun 5, 2010

I have a Zotac Ionitx A-U. I can't get it to establish an internet connection with the wired ethernet within Ubuntu. The chip is detected, but trying to bring up the connection stalls out at trying to obtain a DHCP lease, like this:

DHCP DISCOVER ...
DHCP DISCOVER ...
No DHCPOFFERS received
Specs:
Ionitx A-U
Ubuntu 10.04 x64 kernel 2.6.32-22 (also didn't work in 9.10)

[Code]...

View 3 Replies View Related

Ubuntu Servers :: Run A DHCP Server On Home Network To Enable PXE Booting For Ethernet Clients

Feb 27, 2010

I'm attempting to run a DHCP server on my home network to enable PXE booting for ethernet clients, but I'm having quite a few issues getting it all up and running. I'm not entirely sure what is wrong, but I keep encountering errors in syslog as follows:

Code:

Feb 27 02:26:46 servnerr-1 dhcpd: Wrote 0 leases to leases file.
Feb 27 02:26:46 servnerr-1 dhcpd:
Feb 27 02:26:46 servnerr-1 dhcpd: No subnet declaration for eth0 (192.168.1.3).

[code]....

Networking is not exactly my strong suit, but I would like to get this up and running if at all possible.

View 9 Replies View Related

Ubuntu Networking :: DHCP Server No Longer Responses To DHCP Requests - Can't Ping Gateway

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

Ubuntu Networking :: DHCP Server No Longer Responds To DHCP Requests - Can't Ping Gateway

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

Fedora Networking :: 14 Can't Connect To SpeedTouch 585 - Either Wireless Broadcom Card Or The Wired Ethernet Card

Dec 4, 2010

Just installed Fedora 14 from the Live CD i686 on my Dell Inspiron 1521. I can't connect to the SpeedTouch 585 on either wireless broadcom card or the wired Ethernet card.

I can connect to it from the same Laptop on the Vista which is on dual boot on the same laptop.

Further confusing is that I ran Fedora 14 and connected to another SpeedTouch today.

Already checked the Channel on the wireless nic and it's on the same one as the SpeedTouch.

View 6 Replies View Related

Ubuntu Networking :: If DHCP Not Available - Fallback And Start DHCP Server?

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

Networking :: Mint Current Distro - Shut Off DHCP For A Wired Ethernet INC?

Apr 16, 2011

I recently did some troubleshooting on a USB wireless dongle hooked up to my Mint distro. I need the USB wireless to access a home DSL wireless modem out to the Internet. The wireless DSL is on 192.168.0.1

I also have a 10/100 ethernet NIC in the computer, for non-wireless connections. The wired ethernet is all 192.168.1.1. I noticed in /var/log/syslog that there are numerous "DHCPDISCOVER on eth0 to 255.255.255.255 port 67" messages.

Since eth0 has a hard-coded IP, I dunno why DHCP is trying deal with it. Can I turn off DHCP activity against eth0? How to do that?

View 2 Replies View Related

General :: Configure DHCP Server In Red Hat?

Apr 16, 2010

I want to create a dedicated DHCP server in Red Hat Linux for a small office with a private range from 192.168.1.10 to 192.168.1.20

View 10 Replies View Related

Server :: Configure One RHEL With DNS And DHCP

Jul 30, 2010

I have installed RHEL 5.1 in VMWare 6 I want to configure one RHEL Server with DNS & DHCP Also I would like to PXE boot, whenever I create a new VMWare Client(RHEL), the installation should be initiated via network boot

View 2 Replies View Related

Server :: How To Configure DHCP In RHEL 5

Jul 5, 2010

here to learn some good technical stuffs

View 6 Replies View Related

Ubuntu Servers :: Airport Card On A Wireless Network - Couldn't Auto-configure My DHCP Network

Aug 13, 2011

I've installed the Ubuntu 10.04 Server onto a PPC G4 Mac just for the experience of setting up a server. During the installation process Ubuntu couldn't auto-configure my DHCP Network. I'm using the airport card on a wireless network. How can I manually configure the network once Ubuntu is installed.

View 6 Replies View Related

Fedora Networking :: DHCP Lease Renewal Failing On Wired Ethernet Connection?

Aug 1, 2010

I'm running an up-to-date Fedora 12 machine with the Gnome desktop (meaning with Network Manager). My network connection is a wired ethernet to a switch which then connects to a Netgear router. For some reason, this machine can't renew its leases with DHCP, so NetworkManager deactivates eth0, taking my machine off the network. I have to click Network Manager and enable eth0, which seems to work every time.

How can I fix it? Here are the relevant bits from /var/log/messages showing a failed DHCP request and then the successful renewal.

Code:
Aug 1 04:00:08 ironton dhclient[12452]: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Aug 1 04:00:08 ironton dhclient[12452]: DHCPNAK from 192.168.1.1
Aug 1 04:00:08 ironton NetworkManager[1261]: <info> (eth0): DHCPv4 state changed reboot -> expire
Aug 1 04:00:08 ironton NetworkManager[1261]: <info> (eth0): device state change: 8 -> 9 (reason 6)
Aug 1 04:00:08 ironton NetworkManager[1261]: <info> Marking connection 'System eth0' invalid because IP configuration expired.

[Code]...

View 5 Replies View Related

Fedora Servers :: How To Configure DHCP Server

Aug 3, 2009

How to configure DHCP server on Fedora?Is there any package available on Fedora 11 ?

View 5 Replies View Related

Debian :: Configure Dhcp Server But Without Success?

Apr 5, 2010

i'm trying to configure my dhcp server but without success. i've installed dhcpd apt-get install dhcpd-server then i've added the following line to my dhcpd.conf

host foo{
hardware ethernet 00:00:24:C9:5A: D0;
fixed-adress 169.254.81.51;
filename "pxelinux.0";

[Code]...

View 2 Replies View Related

Red Hat / Fedora :: Configure A Dhcp Server On RHEL 5.3 Or 14

May 1, 2011

i'd like to configure a dhcp server on my RHEL 5.3 or Fedora 14, since i don' have a legitimate DNS server....n it asks for option domain-name " "what do i put in there.. me got two nics for my WAN(dhcp enabled) n LAN...i just want to parctice at home for my future job...

View 3 Replies View Related







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