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


ADVERTISEMENT

Networking :: Dhcp Server With Two Subnets?

Mar 17, 2010

I'm trying to build a linux(fedora 12) dhcpd server(and gateway), that have 3 network cards(eth0 have with public ip, eth1 192.168.2.1 class and eth3 with 192.168.3.1 class).

Because I have just a switch, I want to put both cables(from eth1, eth2) in the switch. Every client has 2 network card(eth0, eth1). My question is, is there any way to conf eth0 to take from server ip from 192.168.2.1 class, and eth1 from 192.168.3.1? The internet will work only on eth0.

my dhcpd.conf for now looks like this:

subnet 192.168.2.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 192.168.2.1;

[Code]....

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

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 :: Routing One Gateway To Different Subnets ?

Sep 3, 2010

Im having a issue with routing internet traffic from my router two different subnets (vlans).

Theres my setup:-

Server:

Both eth0,1 are running dhcp (two scoopes) that works fine!

The output of route -n is:

I have ip_forwarding on aswell, but i can ping the ip on the server running that dhcp scoope ie ping 192.168.4.1 works great but i just cant get the internet on the clients.

View 8 Replies View Related

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 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 :: Use Multiple Dhcp Subnets On Single Machine?

Dec 13, 2010

I am find myself in need of building what amounts to 3 ip networks on 1 physical lan.

first LAN is another companies network on the 10.0.0.0 network a mix of pc's and equipment

second is LAN new company network 192.168.168.0/24

third network is an ip phone system for both i would like to use 192.168.200.0/24

i am hoping to use the same dhcp server to do this, assigning address to the old company's 10. network via mac address reservation.

View 9 Replies View Related

Networking :: VPN Server And Internet Gateway

Apr 2, 2011

I just set up a linux server which is acting as an internet gateway. For specific reasons, clients first make a vpn connection trough the internet to the linux server.

CLIENT ---->Internet----->Linux VPN Server ------> Internet

On the linux server iptables is configured for NAT. The problem is that the internet speed becomes slower than expected. I used windows and RAAS and the speed was pretty good. The server has only 1 NIC(eth0) and an alias interface is added to eth0. The alias is eth:0 with ip address 192.168.0.253

iptables config is as follows:
iptables -P INPUT ACCEPT
iptables -F INPUT
iptables -P OUTPUT ACCEPT
iptables -F OUTPUT
iptables -P FORWARD DROP
iptables -F FORWARD
iptables -t nat -F
iptables -A FORWARD -d 192.168.0.0/24 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -s 192.168.0.0/24 -j ACCEPT
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j SNAT --to MY_VALID_IP

View 1 Replies View Related

Software :: Gateway Server For Internet Management

Apr 23, 2009

Can any one suggest which versions and flavour of linux is best suitable for GATEWAY server or in which version and flavour of linux this gateway server is available, which is used for internet management with MAC locking.

View 7 Replies View Related

General :: Internet Gateway (Server Or Desktop Editions)

Jul 2, 2009

I haven't worked with linux before, I am a network administrator, mostly working with cisco routers and windows 2003 server configured with ISA, I want to shift to linux, since its a free OS, offers more than windows 2003 server, and I have the time and resources to test it at my work place, I want to give it a try. Now ... this is what I want:

I want to use Linux OS (server or desktop editions) as Internet Gateway, I have less than 50 hosts (internet users) on my network, and I simply want to know what is the most convenient linuxs distro for me to work with as a beginner to install, configure and administrating a linux OS(working as an Internet Gateway).

Its a simple network, 50 users connected to a switch, the switch to a server (where I will run the linux OS), the server to a cisco router, the router to the internet line. (Any tips on what do I need to be able to configure firewall rules and user activity monitoring like I am used to do with ISA on windows server 2003).

View 5 Replies View Related

Networking :: How To Assign Eth0 To Server For Using Internet (DNS / Gateway)

Feb 14, 2009

Since I have a new internetaccount, 2 days ago, I have a problem on my server [Fedora Core 8]. I use it as a router.

eth0 is for the internet.
eth1 is for my LAN.

But since my new internetaccount my server uses eth1 for the internet. This is a line from my syslog:

Code:
NetworkManager: <info> Policy set 'System eth1' (eth1) as default for routing and DNS. I killed the NetworkManager daemon and now it works but this must not be the way to do it? Where do I tell my server that I use eth0 for routing and DNS?

View 1 Replies View Related

Server :: Best Free BSD For Internet Gateway Server?

Nov 28, 2010

I want to configure an Internet Gateway with having proxy, firewall rule, bandwidth controller for an office containing 100 employee. can anyone suggest me which platform will be best and steps how can I implement it.

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

Fedora Servers :: DHCP Server With F14 No Internet / Get That?

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

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

SUSE :: Dhcp Server Not Routing Its Clients To Internet / Sort It?

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

Ubuntu Networking :: Internet Connection Sharing In Network Manager / No DHCP Server

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

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

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

Debian Configuration :: Setting Up A VPN & DHCP Server - Connect And Share The Internet

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

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

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

Ubuntu Servers :: Dhcp Doesnt Work Unless Put A Switch Or Router Between Gateway And Connecting Computer

Sep 30, 2010

The dhcp doesnt work unless i put a switch or router between the ubuntu gateway and the connecting computer.

setup

Code:

Code:

Code:

Code:

Im on ubuntu 10.04. is this normal? or should i be able to connect without having a router or switch between the ubuntu server and the internal network....

View 3 Replies View Related

Networking :: Server On Multiple VLANs Server Not Responding To Pings From Non-local Subnets?

Jul 14, 2010

I've got a machine running Ubuntu Server that is on several VLANs. Each VLAN has its own subnet and the server has an address on each subnet. The switches are set to allow tagged traffic to the server for each VLAN that it is on. Switch ports ending with workstations are given untagged ports on whatever VLAN is appropriate. Workstations are given addresses on a subnet for each VLAN via DHCP. All this works great and hosts on any subnet/VLAN can access the server as normal via its address on that subnet/VLAN.

Accessing the machine by its address on a non-local subnet is where I run into a problem. Inter-subnet traffic has to go through a router, which has been set up appropriately. Running tcpdump on the server and pinging it from a workstation on a subnet, using its address on a different subnet, shows the server receives the ping, but sends no response:

Code:
sudo tcpdump -i vlan4 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode

[code]...

View 8 Replies View Related

Ubuntu Networking :: Bridge Two Subnets With A Server?

Nov 2, 2010

I have a Ubuntu server with multiple NICs and I'm just thinking about a potential scenario that might come up soon.

Imagine I have a network on floor 1 with an independent cable connection to my Ubuntu server -> switch -> assorted devices, on the subnet 192.168.0.x Now imagine friends upstairs have another independent network with cable -> router -> assorted devices, on subnet 192.168.1.x.

How can I set up my server to provide access for the 1.x subnet to the 0.x and vice versa. Ideally the devices all access internet from their appropriate subnet. I've read something about bridging, is this what I need?

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

Ubuntu Servers :: DHCP Server And DHCP Client Simultaneously?

Aug 4, 2010

I have an embedded device for which I've created an html configuration page. This page allows you to set static IPs, dhcp, and can scan for wireless devices.My problem is that in order to access the device it requires that it runs as a dhcp server otherwise people are not assigned an IP and so can not access the embedded devices static IP. (This config page is for the laymen and so they are not the type who are able to set up their own static IPs). One of the potential options is to have the device connect to the network on eth0 acting as a dhcp client. However this prevents me from running a dhcp server.One solution I can think of is running a dhcp server only if it doesn't detect another dhcp server running on the network.

View 4 Replies View Related

Networking :: Connecting Two Subnets Via A Server?

Mar 3, 2011

i have two subnets with different gateways.i am thinking of connecting them via a linux server which would enable them to communicate.but i dont know how to proceed for getting this done.how should the connection be made and what should be the configuration settings on the linux server.

View 2 Replies View Related







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