Networking :: Linking DNS From Multiple Servers?
Jul 14, 2009
I have a wide area network with 7 CentOS servers running Bind and 1 Windows 2003 server. All 8 of these servers handle DHCP and DNS at their respective locations. At each site I can ping computer.site.company I'd like to be able to resolve the dns names from site to site. So from site1 I would like to be able to ping computer.site2.company and get a response.
View 4 Replies
ADVERTISEMENT
Mar 13, 2011
compiling and linking using gcc: What does a file name with a suffix '.a' represent? If I have multiple .c and .h files, how can I link them together? How can I create the .a file?
View 6 Replies
View Related
Jan 9, 2011
I tried to link my executable program with 2 static libraries using g++. The 2 static libraries have the same function name. I'm expecting a "multiple definition" linking error from the linker, but I did not received.
Code:
//staticLibA.h
#ifndef _STATIC_LIBA_HEADER
#define _STATIC_LIBA_HEADER
int hello(void);
[code]....
View 4 Replies
View Related
Apr 11, 2011
I have 5 FTP users that upload files (and subdirectories) in their home directory, i need to mirror theese directories beetween them and with a "master" directory (accessible from a 6th user). Files can contain spaces or others special caracters. All the files are in the same filesystem, and i want to use hard link because i don't want to waste 5 time the space of a single file. I tried with find but i cannot handle spaces in it.
View 1 Replies
View Related
Dec 17, 2009
I have 3 c++ files, classdef.h (header file with class definition), methods.cpp (class methods) and program.cpp - the program itself. Both .cpp files have
Code:
#include "classdef.h"
in files. How I can link the files together and compile them in one executable program? I am using Geany IDE for coding.
View 4 Replies
View Related
Apr 18, 2010
I have written an OpenGL based program which uses i.a. libjpeg that I want to link statically so I can send it to someone who doesn't have all the libraries needed installed to allow for a dynamically linked executable to run. As such I tried with giving the [b]-static[b] parameter to gcc.
Code:
x86_1$ make
gcc -O3 -c jpegloader.c
gcc --std=c99 -O3 -c --std=c99 -I/usr/include -L/usr/X11R6/lib main.c
[code].....
Why would gcc claim that I'm missing GLUT? This works perfectly fine when I do dynamic linking -- i.e. omitting the -static argument.
View 13 Replies
View Related
Apr 1, 2011
We have one office with a simple samba server running on Lenny; not a PDC, just simple username/password authentication. It also acts as a DHCP server, NTP server, and DNS server. All clients are windows machines (mainly XP Pro, but also starting to get Win7 show up). For remote access, most users have chrooted WinSCP; OpenVPN was setup, but too slow for most AutoCAD uses (our primary application). It is still used by a few people, though.
I need to set up a similar system in another location, and need to provide access to both servers. People mainly access files stored in their own office, but will occasionally need to access files in the other office. In intend on having both run the same version, whether I stick with Lenny or put both on Squeeze.
I was thinking of setting up both servers, and then mounting the remote file system (the "other" server) over the internet, possibly via sshfs, but do not know if it is reliable enough. Or perhaps via OpenVPN connecting the servers, but then the overhead of the VPN may become an issue, adding lag time. The remote shares would then be accessible via the samba config.
Are there other options that may be easier to set up, more reliable, or more secure? We do not want a domain set up, just simple workgroups. Since many are using their personal laptops, joining them to the domain can cause some problems. It would also require more effort to add a new computer, and with the constant stream of outside consultants we use, that could get cumbersome.
My main issue: no budget beyond the low cost box for the second file server, so it has to be an open source solution from start to finish.
I'm not quite a newbie - I have quite a bit of experience setting up and maintaining basic Samba / DHCP / ssh servers - but not much beyond those. I certainly am open to learning new things and doing the research, but my head is swimming with all the options I have come across.
View 1 Replies
View Related
Sep 12, 2010
I am currently finalizing a SSH Tunnel (gSTM) via Ubuntu Server (see: [URL]). The gentleman who helped me there went above and beyond the call of duty as we used to say in the military. Accordingly, I wanted to start a new thread to explore options to the pending completion. So, several systems in play here. I will list two of the three with the presumption that the SSH situation is in play (testing it today from outside of my network).
Systems Currently in Play: Ubuntu 10.04 Desktop Edition with all updates as of today's post: Server: Acer Aspire AST180-400A. It is currently being accessed from Ubuntu 10.04 Desktop Edition with all updates as of today's post from a laptop: Toshiba Satellite A200. Router: Netgear N300 WNR 2000v2. Modem is Motorola Netopia 2210-02-1006. Proposed System To Add: eMachine ET1331G-05w running Windows 7. Why? Well, my girlfriend is terrified to ditch the Bill Hates way of things. It is running through the router currently as well.
What I would like to be able to do is access the Windows 7 desktop via my laptop on the road as well. Specifically, I need to be able to access and view documents and photos. Now, the docs are at least in OpenOffice; she switched to it finally. I would like to also be able to view my desktop to access docs and pictures on the server, but that may be a new thread as the Win7 situation is the priority right now.
View 3 Replies
View Related
Mar 28, 2011
A church I've been working with has a CCTV system that has a web interface for viewing the camera feeds. We need to see the page from the outside, but it is just an HTTP page, no encryption. The box itself does not accept any sort of SSL encryption. How I can get this on the net in a secure way? At worst I could set up a remote desktop type solution, but I was really hopping I could use some apache magic and just re transmit the page to https and ssl encrypted.
View 2 Replies
View Related
Oct 21, 2010
I have an application running inside our lan on server 192.168.0.1:8080. I have configured gateway firewall to direct all traffic on port 80 to port 8080 on 192.168.0.1. So I can access the application from outside lan. Now the problem starts when the application redirects the traffic to another server 192.168.0.2 according to the input of the users. How can I configure the whole system so that I can access the application running on second servers also?
View 3 Replies
View Related
Jul 28, 2010
In my environment we are running DHCP on a Windows 2003 r2 server. This DHCP server also is used with Symantec's 3COM PXE for the desktops. So the desktop's can PXE boot into Symantec Ghost and re-image the PC's with a Ghost (GHO) file. This DHCP server is responsible for assigning IP addresses for all desktops on the network.
We also have several branch offices which this DHCP server provides IP addresses to. These branch offices are on a separate network so I believe this is possible. Each branch office is running a Linux server so I would like to use Clonezilla and allow users in these offices to PXE boot to the local Linux server to run Clonezilla and re-image their notebook/desktops with a specified image that is on the local Linux server in each office. My only concern is the use of the same DHCP server. Is this possible?
Another project I am working on is setting up LTSP with openSUSE in which I want to have about 10 or 15 diskless PCs boot up and retrieve the LTSP image but this would also use the same DHCP server and is on the same network as the regular desktops that use the Symantec 3COM PXE service so is this even possible? If not, any recommendation on how I could get it to work? Could proxyDHCP work or MAC filtering or even a seperate VLAN?
View 2 Replies
View Related
Feb 16, 2009
i am working at a place that has 2 physical web servers yadayada1 and yadayada2 but only one public ip address i can use dyndns to register 2 dynamic domains on the same ip address
how can i get yadayadayada1.dyndns.org to route to yadayada1 and yadayadayada2.dyndns.org to route to yadayada2 ?
View 14 Replies
View Related
Jun 22, 2010
I found one strange issue with ubuntu, can anyone suggest if its a bug or as designed? If I have two nameservers in my resolv.conf, ubuntu only checks the first (and receives a not found reply from there) and never goes to the next two nameservers. This behaviour is very different from windows or other linux systems.
View 3 Replies
View Related
Jan 14, 2011
I have 5 linux ssh servers at my office that are behind a router. How do I connect to any one specific server from outside the LAN? Do I have to port forward the router giving each machine it's own port? That seems clunky.
View 2 Replies
View Related
Jul 26, 2011
I am looking at using reverse SSH tunnels to manage servers on client sites. I have played around with reverse tunnelling, and have it working on one server back to my middle man server from which I can SSH across from my own PC. All working fine. When I scale this up to 100+ servers reverse tunnelling in, usernames & passwords become a pain, so I'd prefer to use RSA keys instead. My question, finally you might say, is this, to successfully ssh from my PC to the remote server, do the RSA keys need to be on the middle man server as well, or is it just my PC and the remote server?
View 1 Replies
View Related
Apr 15, 2009
So I have a pretty big networking nightmare on my hands right now. Stepped into the dog crap with this one, told my employer that I knew how to setup vmware servers right? Its not hard, install CentOS, install vmware, run the config tool, bridge the network, down the road we all go right? We have 3 servers running about 10 virtual servers.
Here is what we have all together.
CFU <- This is the internet. We have IP ranges xx.18.230 - xx.18.241 Gateway is xx.18.254 and subnet is xx.255.128
DELL PowerConnect 3348 Switch <- This is what everything is pretty much jammed into.
VMH1 <- This machine has 2 NICs
eth0 connects to the DELL switch somewhere on the upper 30+ ports
eth1 connects to the DELL switch on port 1.
It uses firestarter and is the gateway for our internal internet on 192.168.11.XX using IP 11.254. It has 4 vm's on it. One of them is the domain controller, hooked to eth1 using IP xx.11.1. The other one is a server for managing remote backups, it has an external IP linked to eth0 of xx.18.234. The other 2 vm's are for misc remote login stations that use internal ip addresses linked to eth1. It hasn't had a single problem communicating on either one of the ports..
VMH2 <- This server hosts a web server, and some other misc stations.
It hosts a web server on xx.18.230 and xx.18.231
It also hosts 2 workstations on a seperate network, through another router that is wireless....
Now, we have the problem child, VMH3
VMH3 <- This hosts...nothing. It sits and has a ton of storage, but does absolutely nothing, but won't communicate out either one of its network ports.
The xx.36.xx and xx.22.xx networks are there because we have multiple businesses in the building that shouldn't see each other.
View 3 Replies
View Related
Dec 27, 2010
what is the best way here? I have like 5 servers, and I want my clients to access each of them, so in case 1 server is down, they can access remaining servers. Also, it will work like user1 chooses the server number and is connecting to a central database, then reply is OK, and he can connect to the server number he wished.
View 1 Replies
View Related
Mar 31, 2011
I have a CentOS5 server with dual ethernet adapters + Webmin installed as my Router / Firewall / DHCP server working successfully with 1 static IP from my ISP. I also have 7 additional static IP addresses from my ISP needing to configure to individual servers inside my network. I have configured the additional virtual interfaces, but am lost on how to route data specifically from additional ISP address to specific internal network address.
Below is my desired configuration.
98.173.159.xx1 = eth0 physical interface ==> eth1 192.168.1.1
98.173.159.xx2 = eth0:1 virtual interface ==> 192.168.1.10 ==> CentOS Server 2
98.173.159.xx3 = eth0:2 virtual interface ==> 192.168.1.20 ==> CentOS Server 3
98.173.159.xx4 = eth0:3 virtual interface ==> 192.168.1.30 ==> CentOS Server 4
98.173.159.xx5 = eth0:4 virtual interface ==> 192.168.1.40 ==> Mac OS X Server 1
98.173.159.xx6 = eth0:5 virtual interface ==> 192.168.1.50 ==> Mac OS X Server 1
98.173.159.xx7 = eth0:6 virtual interface ==> 192.168.1.60 ==> Network Attached Storage Server 1
98.173.159.xx8 = eth0:7 virtual interface ==> 192.168.1.70 ==> Windows 2008 Server 1
View 2 Replies
View Related
Jan 17, 2011
Looking for a test tool where I can fire up any number of ports (TCP and / or UDP) to listen on.
I am currently getting my using nc but its only 1 port at a time (i know I can open up multiple sessions but thats cumbersome), it can't do UDP, and it closes at the end of the session.
A friend has suggested socat but it looks pretty much the same except it can do UDP, but also cumbersome, I have to manually output to a different file per port, etc.
Basically its so I can quickly test firewall and NAT rules.
View 7 Replies
View Related
Aug 27, 2009
Faced with disk-bound issues on a FTP server with high traffic. Would like to set up multiple FTP server nodes with dedicated storage for each node where all FTP access is managed by a master FTP server. So, a user would FTP to a single externally visible IP address for the master FTP server and then get routed to the appropriate FTP node. Are the mutiple FTP nodes required or is there a better way of doing this? Perhaps only one FTP server is required and then each node would serve as a separate file server
View 1 Replies
View Related
Oct 26, 2009
I am setting up my first disk share between linux machines using just mount to test ( as with mounting win disks) and it doesn't mount. I get messages like "special device - does not exist" Should I be doing fstab entries from the start or what should I do?. One machine is F11 the other f10 if that makes a difference. I can link one linux to windows on the other machine.
View 8 Replies
View Related
Feb 7, 2011
I'm looking at setting up a couple automated systems: Here are a few examples:
* Internal accounting system to download and process emails
* Public web server to visit
I could put each system on its own separate box -- for example, it's generally good practice to separate anything that external users have access to (such as a webserver) from internal processes such as accounting. Now, rather than dishing out the money for two separate servers, could I get away with just installing new instances of VMWare on the same box for each system?
To give you an idea, these are not large scale computationally sensitive systems. The accounting one is simply downloading and tallying emails, and the latter is just a webserver with maybe 5 hits per day on a good day. I could definitely pick up a new box for say $50, but I wanted to know the general practice of using VMWare on the same box versus two separate boxes.
View 2 Replies
View Related
Nov 1, 2010
I have a Dell Inspiron 1545 (Ubuntu 10.04 64-bit) that I use as my main comp, and a Dell Latitude C800 (currently Slackware 12.1) that just sits on my desk all day.I want to do two things (the second one isn't as big of a deal, but I really want to do the first):
1)I want to plug in my external hard drives into the Latitude and be able to link the Inspiron to the Latitude via ethernet cable and access/modify the files on the Latitude and external HDs using the Inspiron. Also I would like to have apache running on the Latitude so that when I'm connected, I can get to a custom site I've made for displaying the contents of said HDs.
2)I would like to be able to extend my desktop from the Inspiron onto the Latitude while still doing the above if possible. I figure with X it must be possible, but I don't know how to go about doing it and I only want to do that if I can get the first part working.
View 5 Replies
View Related
Apr 1, 2011
I'm curious if anybody can shed some light for me in this department. We're in a large environment with a Windows DHCP Server. We have been tinkering with LTSP on Edubuntu as thin and fat clients. It works great, but right now we just have 1 server handling the lab, which works fine unless we want to expand, which may be very possible.
These are the instructions I received:
Login to your windows server and load the DHCP configuration screen
Create a DHCP reservation for the MAC address you obtained
Add the configuration options below to enable the machine to boot from the LTSP server
017 Root Path: /opt/ltsp/i386
066 Boot Server Host Name: <ip address>
067 Bootfile Name: ltsp/arch/pxelinux.0 # Specify CPU architecture in place of 'arch', for instance 'i386'
From: [url]
I'm curious, what if I want to have multiple Ubuntu servers on the network that I want to have bootable? For example, let's say I have 3 labs, and 3 servers. Server A to Lab A, Server B to Lab B, and Server C to Lab C. I want all C's computers to boot to C, and B to B, A to A, etc.
1 - How would I add multiple entries on the Windows DHCP Server to allow all 3 (A B C) servers to boot?
2 - How would I be able to isolate the clients so ONLY Lab A clients boot to Server A, etc?
View 7 Replies
View Related
Jan 19, 2010
I currently have a group of 3 servers connected to a local network. One is a web server, one is a mysql server, the other used for a specific function on my site (calculation of soccer matches!).
Anyway, I have been working on the site a lot lately but it is tedious connecting my USB hard drive to each computer and copying the files. This means I am not backing up as often as I should...
I have a laptop connected to this same network that I use for development so I can SSH into to the computers, is there any software for ubuntu that can take backups of files that I choose on multiple computers? I know I could rsync but is there something with more or an GUI?
Then I can just every 2 days move the most recent backup from my laptop to the USB drive. Then I will have the backup stored in 2 places if things go kaboom somewhere.
View 9 Replies
View Related
May 20, 2010
I'm running Ubuntu Server 10.04 and have a secure (SSL/TLS) FTP server on it. However, I'd like to use this FTP server to update programs I made using Microsoft Visual Studio. Unfortunately, in Microsoft's infinite wisdom, secure FTP servers cannot be used. Rather than use an insecure FTP server, I want to set up my secure FTP server to be able to access whatever I need to on the machine, and then add an insecure FTP server that only has access to the directory where I put my update files. I am currently using vsftpd as my FTP server. Is there any way that I can set up two FTP servers on this single machine?
View 6 Replies
View Related
May 20, 2010
I have an old pentium 3 computer that has ~7 NICs installed. These NICs are attached to modems and other networking equipment. According to the linux ping page on computerhope.com, it seems that one could send a ping from a certain specified NIC. How would one go about this?
View 6 Replies
View Related
Jun 16, 2009
I have a CentOS 5.3 box with three network interfaces in it. Each interface is attached to a separate VLAN and I want traffic to stay on each network segment.What I can�t figure out is why I cannot get each interface to have its own gateway and everything gets sent through the default gateway.The basically takes my possible 3Gb total bandwidth and throws it down a single 1Gb pipe.Then on top of that, if I take down the interface (ifdown) that has the current default gateway,I loose contact to the other two interfaces.When I look at the routes, each one of the interfaces shows the gw as 0.0.0.0 and defers to the default route. So I delete the route and try to add a new route with:
[root@testsan ~]# ip route add 10.1.15.0/24 via 10.1.15.1 dev eth2
but end up with the error:
RTNETLINK answers: Network is unreachable
[root@testsan sysconfig]# cat network
NETWORKING=yes
NETWORKING_IPV6=no[code].....
View 5 Replies
View Related
Jun 18, 2011
i need to host multiple site under one ip adress, its this posible ?
View 1 Replies
View Related
Jul 19, 2010
I would like to have multiple php.ini files for multiple sites.
I've a production site (word wide available) and a test site (available to some selected IP-addresses). I would like to set some different PHP settings for the test site, for example, 'error_reporting' and 'display_errors'.
Is this possible? I'm not looking for some CGI hack, unless it wouldn't work any other way.
View 2 Replies
View Related