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


ADVERTISEMENT

Networking :: DHCP Server Not Providing Default Gateway

Jun 16, 2011

I have installed dhcp-server on ubuntu. And server is providing ip address to clients (Window machines) but not default-gateway but I have another network in my network and same configuration and same dhcp-server provides every information.

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

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

CentOS 5 Networking :: Unable To Configure Default Gateway Onto The System

Dec 19, 2010

I could not able to configure the default gateway ip address onto the system. i use the route command (" route add default gw 192.xxx.xxx.xxx eth0 ") to add a default gateway onto the routing table but it is "disappear" in the routing table when i had restart the service network.

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

Ubuntu Networking :: Find Gateway - DHCP Server - DNS Server From CLI ?

May 27, 2010

On a remote system, when all you have is the ssh CLI -

How do you find out the ip addresses for:the Gateway
the DHCP server
the DNS server

Don't need to make any changes.

Which commands will display this info?

View 1 Replies View Related

Networking :: CentOS-5 Server Cannot Ping Default Gateway

Jul 2, 2010

I posted it on another forum, but could not get response,So I have this cenOS, Ubuntu and windows operating system running on virtual machines.Now I gave them manual ip address, both ubuntu and windows machines can ping the default gateway, but not the CentOS.It should forward 0.0.0.0. to my cisco router address(192.168.5.254),

View 4 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 :: 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 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 :: Internet Gateway Server - Subnets Or DHCP

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

Ubuntu Networking :: Dhcp / Gateway Config / Software - Access The Net And Also Email

Apr 18, 2011

I have a simple system at home where a DSL router is used as a basic dhcp server with one port forward for ssh to a server. I need to allow my daughters, ages 14,12 and 10, to access the net and also email but I want to have complete control and logging. What I'm looking to do is set up the Ubuntu file server I already have on the network to act as a gateway and also add content management and logging as step one.

I also want to add an email server so that all the email comes into the Ubuntu server and then is allowed to be accessed by outlook on their machines after spam/content scanning for valid emails as step two. My question is what, if any, additional software do I need and what options do I have. I've played with dhcp servers at work but never got much beyond ip assignment and network booting so I'm unfamiliar with what is needed for content management and such. As to the email server I've never even played with this at all so I'm completely in the dark as to what I should be looking at to start with. I'm looking for directions, RTFM is fine but right now I'm not sure even WHAT manual/manuals I should be reading.

View 1 Replies View Related

Networking :: Gateway Assignment And Use Of DHCP Relay Agents + DHRELAY

Jun 22, 2010

I am having some difficulties comprehending some networking concepts relating to multiple subnets and dhcp servers, or dhcp relay servers. I have built home networks many times before, and they have all followed a very simple formula. A single subnet, let's say 192.168.1.0 which is fairly typical for me. My network's DNS server is always also my networks DHCP server. Typically at 192.168.1.1. When a DHCP client broadcasts for an IP over the subnet, 192.168.1.1(My DNS/DHCP server) will not only tell the client what it's new IP is to be, but will also tell the client what it's Gateway server is. This is ALSO 192.168.1.1 for me typically.

In this manner, a client broadcasts for networking information and is given a usable IP, and told to use 192.168.1.1 for most other functionality. Very simple. However, I am uncertain how to expand this to other subnets. Say.. 192.168.2.0.

A: I can use a separate DHCP server for each subnet. or B: I can use a DHCP Relay agent for 192.168.2.0 to pass the DHCP requests to the primary DHCP server on the 192.168.1.0 subnet.

Option A: is fairly straight forward and have had it functioning fine, but it is really B: I want to know more about. It seems somehow much cleaner to me. I prefer to centralize as much of my network provisioning services as possible. It makes it easier to manage TYPICALLY. My question though is related to Gateways and the use of DHCP Relay Agents....

View 1 Replies View Related

Ubuntu Networking :: Can't Ping Default Gateway

Feb 23, 2010

I have installed ubuntu 9.04 Jaunty server from disk. I am connect to my corporate internet. I have put in my http_proxy everywhere I can find to put it. I am getting an ipaddress, gateway, broadcast,etc. My wired is connected. When I try to ping my default gateway it times out. %100 packet loss. I get the ipaddress of the gateway from the (route command).

My configurations on /etc/network/interfaces is correct(I am on another computer so I can't copy and paste) and I even tried updating the drivers for NIC card. I am using a Intel 82567LM-3. I have been working on this longer than I care to admit.

View 7 Replies View Related

Networking :: How To Configure Intranet PC As Gateway

May 1, 2009

I am using Fedora 10. I have a network design like that:

WinServer --- (r1)router(r0) --- (eth1)LinuxPC(eth0) --- intranetPC
All netmask is 255.255.255.0
WinServer network is 192.168.1.0/24
intranetPC network is 10.10.0.0/24, gateway is IP of the LinuxPC(eth0): 10.10.0.2

Router:
r1 -IP: 192.168.1.253
r2 -IP: 10.10.0.253

LinuxPC
eth0 -IP: 10.10.0.2
eth1
-IP: 10.10.0.40
-GW: 10.10.0.253

I search in Internet several days to find how to configure the LinuxPC to a gateway. The LinuxPC can ping and connect the WinServer and intranetPC correctly, but the intranetPC cannot ping and connect the WinServer network.

I used the webmin to configure the Gateway.
I used the iptables to set allow all connect, than
iptables -t nat -A POSTROUTING -eth1 -j MASQUERADE
iptables -A FORWARD -i eth0 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
In "/etc/sysconfig/network" add "FORWARD_IPV4=true"

View 11 Replies View Related

Networking :: Can't Set Default Gateway To Different Subnet / Do That?

Feb 3, 2011

This is slackware 12. I'm trying to share my internet connection (on eth0) with a computer connected to eth1.

eth0 is 192.168.0.101, eth1 is 192.168.1.100 (different subnets).

But when I try to make eth1's default gateway the same as eth0's, see the error I get code...

View 7 Replies View Related

Networking :: Default Gateway On Different Subnet?

Jan 8, 2010

I am in a big confusion and searching an answer to calm down my mind.I have my eth0 has following configuration

` ` `
IP 192.168.1.100
mask 255.255.255.0

[code]....

View 3 Replies View Related

Ubuntu Networking :: DUP When Pinging Default Gateway. No Internets?

Jan 30, 2011

I had a router crap out yesterday. I'd been testing out a new one for the last few days and just reconfigured it to be the main. Took the old one down and everything in my house (Windows 7 PC, XP Files server, Ubuntu PC , windows 7 laptop, android tablet, ps3, etc) seems to be working fine whether it be hard wired or wifi. All except my ubuntu 10.04 laptop. It worked fine before the swap so I can't figure out what's going on.

I'm able to connect to the new SSID without issue but I can't resolve any external names and when I try to ping the default gate way every other packet has (DUP!) behind it. If I'm hardwired I don't get the dup! when pinging the default gateway but I still can't resolve any external names. I have provided the results of an ifconfig and the results of a ping to the default gateway below.

cooley@Quigon:~$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=2.98 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=3.04 ms (DUP!)
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=3.50 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=5.72 ms (DUP!)
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=8.09 ms

[Code]...

View 9 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 :: Getting Default Gateway Ip Address On Interface From ISP

May 4, 2011

Im trying to achieve the multiple uplinks/provider found on LARTC.org. I have to get the IP addresses from my interfaces (EF1 and EF2) by using a script, but i dont know where to look at for the default gateway from each interface which got their ip address from my ISP.

View 1 Replies View Related

Networking :: Receiving UDP Packets - Default Gateway

Apr 11, 2010

I have a computer with two interfaces: a fixed connection (eth1) and a modem (ppp0). My goal is to receive UDP packets from both connections concurrently (using the recv() function). The problem is, that the received packets reach the application only when the default gateway is set to that interface's address. For example, if I set the default gw to be in the eth1 subnet, only packets from eth1 reach the application. Other packets are received in the interface (checked using tcpdump), but they seem to be blocked somewhere. The policy defined in iptables is "ACCEPT" for all incoming packets, with no rules at all. I would like to know how to overcome this problem, and anyway how is the default gateway related to incoming UDP?

View 3 Replies View Related

Networking :: Reversing Default Gateway Failover

Nov 11, 2010

I have a dual-homed Debian server running squid, but not acting as a router. Simplied network diagram is below - there are other local hops between the gateways and the Internet.

Code:
(eth0 @ 192.168.44.2) <--> (Gateway1 @ 192.168.44.1) <--> Internet
(eth1 @ 192.168.55.2) <--> (Gateway2 @ 192.168.55.1) <--> Internet

Using Gateway1 gives a very fast, but not always reliable route to the Internet. Using Gateway2 gives a slower, but more reliable route to the Internet. The server uses Gateway1 as the default gateway.

I have written a script that pings three hosts on the Internet, and if all three are down, switches the default gateway to Gateway2. This part seems to be easy, but I'd like know if there is a way of routing a ICMP/ping out eth0 to a host, with all other traffic to the host going out eth1, so I can determine if the Internet is reachable via Gateway1 again.

View 2 Replies View Related

Networking :: Why Accept Routes In Bgp / When Have Default Gateway From ISP?

Apr 7, 2010

I am realtively new to BGP. I use BGP in my network to advertise my /20 subnet. What i would like to know is what is the point of accepting routes from your neighbouring AS(ISP)?My ISP has given me a default gateway, and no matter what I want to reach on the internet I have to go through that default gateway, so why populate the routing table with soo many routes?also, as i understand it, there are 3 kinds of routes that you can accept, those are full routes, directly connected routes and default routes. What is the diffrence between them and again how do they affect routing since my network only has the one default gateway?

View 2 Replies View Related

OpenSUSE Install :: Configure To The Server And Gateway - Internet Stops Working

Feb 6, 2010

i did install opensuse and everything ok; i did configure it to be the server and gateway for a little office network Everything seems to be ok most of the time but sometimes (usually between 5 and 7 pm each day) internet stops working and there is no way to let it start again. So i turn off the suse, switch all cables to the old fedora server, just turn it on fedora and internet works. Turn off fedora, connect suse, let it start and everythng ok...it happens all the times

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







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