I set-up his mail server for him with Postfix but what he wants I have no idea how to do.
Essentially he wants it so that the mail gateway IP corresponds with the dedicated IP of the domain and I have no idea how to accomplish this.
I found some documentation on the web saying that the fix for this was to run multiple instances of Postfix which I tried doing but each time I try to start the second instance I get the error that postfix is already running.
There has to be an elegant way to make this happen, I really hate to tell a client something can't be done even though the concept is a bit pointless, IMHO. I am hoping I can get some feedback here on if this can be done and if it can the easiest way for me to accomplish doing it.
Here is some of the config files (example.com has been put in place of the actual domain names and the ip of 126.96.36.199 is in place of the actual IPs
Our system uses email to send fairly time-sensitive status messages between programs running on various servers on a WAN. Each email message is sent to two addresses (different servers). The problem occurs when one of the destination mail servers is off the network. I think because it's trying to send one email to two addresses, sendmail attempts delivery to the first address, then to the second address (i.e., serially). When this happens, it hangs for two connect timeout (CONNECT_TO) periods trying to connect to the offline destination, then after the timeout, it then delivers to the other destination. I'm trying to figure out how to work around that connection delay so it doesn't delay delivery to the other destination.
I'm working with the network guys to enable the right ICMP messages that signal when a network is unavailable, but I would also like to try having sendmail split the emails into two envelopes, then use parallel, independent connections for delivery.
After days of reading through the docs (O'Rielly Sendmail book + sendmail docs) I think one way to do this is to use multiple mail queues, but I can't decipher exactly how to do that from the docs.
There might be other, more elegant ways to do the same thing, but again, trying to decipher the docs has my head swimming. (This is my first experience with sendmail.)
This is the current setup that we have: We have approx 20 clients who pay us to send out a type of e-mail called an E-Blast to their customers. We currently are using 5 Microsoft Windows Virtual Servers to do this. The problem is that those machines are starting to break down. There are times that it will take Microsoft Windows approx 9-10 hours to complete 1 job. This is way too long. We want to move away from Microsoft Windows for this particular type of job as it seems there are more customers who are wanting to use this type of advertising.
It seems that using a Linux Server "Command Line or Shell" environment would be the best way to go as there is no GUI like Windows. Since there is just text...that is something that would/should process very, very quickly.
I am in the process of setting up a new SMTP outbound mail server. This is the current software & configuration (what is installed on this new machine):
All of the customer data (Names, E-Mail Addresses, etc that these e-mails are going to) are currently loaded in a Microsoft SQL Database.
My machine that I am using is plugged into the DMZ. I have 1 ip address for the 1 network card. I have also added/bound 4 more ip addresses to that network card.
I have configured Postfix for Multiple IP Addresses.
I can, from the command line, send successful test e-mails and receive them in my personal account.
As far as I know everything is setup correctly. I can and will post requested information so that it can be verified that everything is setup correctly.
Here are a couple of my questions:
Ensure that I have my Network / Interfaces file and my Postfix's Master.cf/Main.cf files setup correctly?
How can I setup this server to be an Outbound SMTP server and get it to use all 5 of the IP Addresses to send these e-mails quickly?
What can I use to check and ensure that this server is in fact sending out emails on all 5 IP
Addresses (I heard that there is a program named "Postal" that may help in determing this).
I have created my own distribution with susestudio.com , based on jeOS template and it works well But I have some problems with network configuration. I make a default configuration with susestudio ( configuration -> General -> network ) and I put for example 172.16.0.185 address. I also put a script which configures IP address with different informations coming from for example a serial port to make my own IP address. This script make the new address and call the ifconfig system program. For example, the script calls "ifconfig eth0 172.16.0.182". And now, I can ping the two addresses, 172.16.0.185 and 172.16.0.182. Is this normal ? I thought the new command "ifconfig eth0 172.16.0.182" would overwrite the old value ( 172.16.0.185 ). It works as this on other distribs ( like ubuntu ) but not on opensuse.
I know that I can have 2 addresses but using the following syntax : "ifconfig eth0:1 A.B.C.D" (if kernel supports aliases ) , and I don't know if it is normally possible to have 2 address from the same subnet. How can I overwrite the default config , and not to have the first address available ?
How do I assign IPv4 and IPv6 static addresses permanently in OpenSUSE 11.2? Currently I am only able to assign either IPv4 or IPv6 static address not both. I cannot find even the interfaces file(/etc/sysconfig/network/interfaces).
The default installation of 11.3 has ipv6 enabled.When accessing a site using any browser, there was a considerable delay before the page would appear.I disabled ipv6 and things are normal.Is my computer going to explode in a couple of months from all the backed up addresses? Seriously, Is there something wrong with my setup?Why would ip6 be enabled by default if it slows things way down?There are just so many things I don't know.
My Linux gateway has multiple address to internet: eth0 = 188.8.131.52 eth0:0 = 184.108.40.206 eth0:1 = 220.127.116.11 and it's own gateway which is 18.104.22.168 (probably not relevant) and I also have which is not internet, but local: eth0:2 = 192.168.0.1 netmask 255.255.255.0
They all work fine and tested. Now I am sharing the internet through eth0 (22.214.171.124) to 192.168.0.1/24 and that's working fine. The script I use to do that is here...
Code: #!/bin/sh echo 1 >/proc/sys/net/ipv4/ip_forward echo 1 >/proc/sys/net/ipv4/ip_dynaddr iptables -t nat --flush iptables -A FORWARD -i eth0 -d 192.168.0.1/24 -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -s 192.168.0.1/24 -o eth0 -j ACCEPT iptables -A FORWARD -j LOG iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Now all I want to change in the script is to share it through 126.96.36.199 (eth0:1) instead of what is already sharing through 188.8.131.52 (eth0). I am sure this is easy but can't work it out and iptables doesn't accept 'aliases'. How I can do this by modifying this script?
I'm renting a server which comes with 5 IP addresses, but only one network device. From what I can understand I'm able to create aliases by adding entries to /etc/networks/interfaces, I haven't tried I'm in the planning stages. Hypothetically, 192.168.22.30 is my primary IP and I want to set eth0:1 to have 192.168.22.31, and then after that I want to create a virtual machine (using kvm/qemu) that is able to communicate bidirectionally to the internet over eth0:1, and leave eth0 strictly for administrating (not for VM traffic).
The qemu guides I'm finding seem to assume that I want to use TAP or VDE, what I want to use is a sub-ip/alias. One guide I saw had me eliminate everything from eth0 and put it under br0. That would leave me unable to ssh into my server (and unable to administrate). Is there a way I can do something along the lines of: qemu [options] -net [option] -netdev=eth0:1 ?
I have run into a problem that I've tracked down to being a conflict between the "Upstart" init system, and how it handles multiple (alias) IP addresses per physical interface. The summary of the problem is that the interfaces are being configured in the background in parallel with the starting of daemons. One "feature" of this (apparently intended for pluggable devices that would add or remove an interface) is that the network daemons are restarted each time an interface is added (and presumably deleted). But this is a disaster when applied to alias IP addresses.
I first saw the effects of this when during booting Ubuntu Server, the screen showed a message about OpenSSH daemon being restarted ... several times a few seconds apart each. At the time I didn't know what was causing that, but didn't worry because it ultimately was running when I needed it.
But now that I am deploying these servers for specific duty with many IP addresses per system (per network interface), the symptoms are becoming serious, and I need a solution.
1. The IP addresses are coming online too slowly. Apparently the time it takes to restart each daemon is being added to each address being configured.
2. It appears to be disrupting some daemons sometimes. Occaisionally, some daemon just ends up being hung somewhere, or dies. Too many restarts.
3. Sometimes few or even no alias addresses get configured. This might be due to a daemon getting hung, and the whole sequence just not finishing.
4. The "nsd" name server as packaged by Ubuntu doesn't deal well with this at all. It needs all its IP addresses to be up when it starts, or else it won't start. The Ubuntu package of it doesn't including any if-up script at all, although I'm not sure that would do any good.
What I need is a way to configure all these alias IP addresses so they are all configured immediately when the point in time is reached to bring up network interfaces for the first time. These are all static, and all are aliases on ethernet NIC cards plugged into PCIe cards, or integrated in the mainboard. None of them are pluggables. I did run a manual test of "ifconfig" in a loop configuring 2540 alias IP address on eth0 and it only took 2 seconds (no if-up triggers or daemon restarts here). So I know it's fast if nothing else is done between these steps.
Even for pluggable physical interfaces, I see no reason to even try to step through every alias (if it has aliases) with a daemon restart. If an alias IP address is added on later, then I can understand doing it. But if you have a list of 100 aliases for a physical interface, they really should all be done ... or at least attempted ... at once, and do any triggers needed after that.
So, how can I configure or modify Ubuntu Server 9.10 to do that?
I have each alias listed in the "/etc/network/interfaces" file with a separate "auto" and "iface" section for each one, with sequential sub-interface numbers appended to the interface name. I tried it without those sections (e.g. just "address" and other items in sequence) and that prevents the system from even coming up (bootable CD to the rescue to undo that). At least cntrl-alt-del did reboot it.
I tried to attach the /etc/network/interfaces file, but I don't know if it worked because I see no confirmations about it. if it didn't attach and you need to see it, say so, and I'll just paste it in a followup.
This works perfectly, however when I try to add a second client this way it doesnt. I tried to add the above code multiple times as a whole (2 times the above code) but that doesnt work. I also tried to just add more lines under host apex but this also doesnt work.
So my question is: How do I add more of this mac related IP adress assignments in the dhcp.conf?
iptables and multiple public-facing IP addresses. With the current setup I have a public-facing firewall with iptables which will then forward traffic to a LAN IP. I will hopefully be allotted 1 private IP per public IP, which I hope will make this much more simple. For example, I have server A with the LAN IP of 10.0.0.1 which I would like to have traffic forwarded from 184.108.40.206, the public IP. I also have server B with LAN IP of 10.0.0.2 which I would like to have forwarded from 220.127.116.11, the second public IP. From what I have read and understood, this should be a simple task, however I would just like to double check to make sure that it is in fact possible, and if so, how would it be recommended that I go about doing so. Essentially, I need to forward each public IP to a corresponding LAN IP with all ports.
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
I recently installed Ubuntu Server 9.10 with the intent of using it as a platform for running a couple of Windows XP virtual machines along with Linux/Ubuntu.
I had no problems getting the server installed. Had no problems getting the network up and running so that I had access to both my internal network as well as external connectivity to the internet. Had no problems getting a VM installed and putting Windows XP inside of it. Had no problems setting up a bridge between the WinXP virtual machine and the physical ethernet card (eth0).
What Im having trouble with is figuring out how to bridge from multiple VMs AND Ubuntu natively through one physical ethernet card.
When I set up the bridge, it knocks out the static IP address of the ethernet card that was set up initially with Ubuntu when first installed before the VM was created and installed. Therefore, connectivity within Ubuntu natively is lost.
Similarly, am having trouble figuring out how the second VM (also going to be running WinXP) is going to get its connectivity since it doesnt seem to like me setting up 2 bridges to the same physical ethernet interface card.
I need all 3 machines to have static IP addresses and be visible/accessible from the external network for either web/mail/dns/etc servers on the Ubuntu side and for remote PC control functionality on the VM side.
I have tried setting up alias ethernet interfaces (eth0:1, eth0:2, eth0:3) with static addresses which work fine from native Ubuntu in presenting multiple IP addressees, but it seems that Im not permitted to bridge to these alias interfaces.
I am setting up my home network. Currently, I have one computer (Munchen) which I have set in my router to receive SSH requests. This works just fine; I can SSH into that box from anywhere. I just put together a new computer, which I want to be a file repository, my ftp server, my http server, etc. What I would like is to be able to SSH into that machine from anywhere, then SSH into the other computers on that network from there.
Here is where I really don't understand the concept of what is going on. I can SSH past the router into one computer just fine either from anywhere (that makes sense to me). I can SSH from my new computer (Chemnitz) into Munchen (which is where the router points to and is running sshd) by using its local IP address, but I can't go from Munchen to Chemnitz (even though the server is running and the firewall should be allowing the connection). [URL]
Details of the system setup are below. Munchen (receives all port 22 requests now) Ubuntu 10.04 Chemnitz (I want to receive all port 22 requests and SSH into other computers on the network from it. Ultimately it will be a file sharing box, hosting a webpage, running an ftp server, etc.) Fedora 14
We have a 10.0.0.x network with a working DNS Server (BIND) setup. Recently we purchased Watchguard firewall and configured three networks, so that our internal network can be divided into three networks and talk to each other through firewall routing. So I configured three ips 192.168.0.1,172.16.0.1 and 10.0.0.1 for local network card in the firewall router. I separated three networks and individually configured machines with static ip and given gateway as the above ips. Now, I need to configure DNS server for each zone in the same server which is in the network 10.0.0.x, is this possible?. If yes do I need to setup ip aliases for eth0 in the DNS server with different ips from each network?
I have what will soon become a file server here running Mandriva 2009.1 and I need to set it up for use. There are 6 physical drives, sda-sdf. According to my fstab (pasted below), the OS is installed on sdb.. and for some reason I have a swap partition on sda and sdb. I had a horrible time getting a working installation, and that's probably leftover from a previous attempt.
Question 1: Can I simply edit my fstab to remove the swap on sda, effectively confining all system resources to sdb? The end result I want is all storage space over all drives accessible from a single mount point which can be accessed over the network.
Question 2: Once I sort out the weird fstab, what's the best way to go about setting this up? I imagine I need to format & partition the other drives (all but sdb).. but as far as organizing the free space, what's the best way? Is it possible to have multiple physical drives accessible from a single mount point? Or will the users have to use each drive separately? I was thinking I could create a directory on sdb (in /home?) to use as a root for the network share, and then automount the other 5 physical drives there. Does that make sense?
I'm familiar with load balancing.. but Is it possible to actually bond multiple DSL lines together? I hear of ways to bond using MLPPP but that requires support from an ISP. Is there a way to actually bond without support from my ISP, or use say a cable modem and a DSL line together for faster speed / diversity?
I'm wondering a couple of things about my LAMP stacks:
1) How do I get a list of all the network cards installed in a linux box? I've run this command and it shows 2 network cards which is probably all of them: Code: mii-tool -v
2) How can I check the percent utilization of a given network card? I.e., at any given time, what linux command will tell me the how much of a network card's bandwidth is being consumed? I've checked both ethtool and mii-tool and I don't really see any helpful stats.
3) How can I make sure that a linux box will optimally use both network cards? I'm a bit fuzzy on how IP addresses and network cards and hostnames work together.
I will cut to the chase. I am running three ubuntu computers on my local network:my desktop which runs ethernet, and two laptops which run wireless on the same network, and all from the same router. For purpose of this thread, I am concentrating on this one issue with pulse(assuming its pulse doing this). When I have two computers running at the same time, or even all three, I can hear bursts of sound coming from the other computer, not all the time, but consistently. I don't know what is causing this. I've searched hi and low in all ubuntu pulse audio forums and those mentioning pulseaudio and I have not seen this issue posted anywhere. Most threads deal with issues of not being able to get pulse to recognise audio from one computer to the other...mine is just the opposite...I'M TRYING TO STOP THIS FROM HAPPENING!...... If I'm listening to my music on my desktop, I don't want to hear what my son is playing on his laptop...and vice versa. all the computers at my home are running lucid lynx, latest updates and latest approved kernel as of the date of this post. 2.6.32-26-generic.
I just don't get it? I've attempted multiple times to get the knetworkmanager to connect to an unencrypted network, yet it keeps asking for a wep key. However the networkmanager in the Gnome version connects to unencrypted networks just fine. Why won't knetwork manager do the same?
I have a desktop and a laptop both running opensuse 11.2 with kde4. I have a samba share on my desktop. I tried opening a video on that share from my laptop (wirelessly) with Dolphin/SMPlayer. Here's what happened:
The video started downloading and the system tray notified me it would take 25 minutes. I thought that was too long (video is 350MB) so I checked the download speed and it was about 2 MB/s. It didn't make sense but I let it keep going.
25 minutes and 3.4 GB later, the download finally "finished"--according to the system tray. However, I checked my system monitor and something was still downloading at 2 MB/s. I confirmed with "df -h" that I was losing 2MB of space a second. At this point I only had about 700MB of disk space left so I rebooted (I wasn't sure how else to stop the download).
After digging around on / I found my video at /var/tmp/kdecache-londy/krun and it was 350MB. Then I found multiple copies of the same video, of varying sizes, on /tmp/kde-londy totalling 3GB.
I deleted the tmp files and tried it again. This time instead of clicking on the video to play it, I tried copying it to my laptop. Same thing started to happen but I didn't let it continue.
I am using DHCP on my home network. There could be as many as 5 computers logged in at any given time. Their IP addresses change depending on the sequence they log in.I want to be able to connect to them from any of them (some wired, some wireless) and share files by issuing a mount command for the appropriate shared drive.My question is how to get the IP of each computer when I only know the names of the computers. Pinging the computer name succeeds, but it does not give the IP.In other words I am looking for a Linux command that will come back with a list of IP's with their corresponding computer names so I can issue the right mount command. I would like to issue this command from a Linux terminal, but would also be happy to issue it from a Windows XP station.
I'd like to have a CIFS drive mountable for various users. Each user uses different credentials and I want the drives to be automounted without using sudo-rights. I imagine the best thing to do would be to have the fstab entry point to multiple credentials files. Is there a way of doing that?
I have four PC's in a home network setup, no server just peer to peer using ssh. I have tended to use wicd to set static IP addresses because Network Manager didn't always perform as I thought it should. Now that I have installed 10.04 I cannot see how to set static addresses using Network Manager so I installed wicd, and disabled Network Manager. After setting the address with wicd it shows that the computer is connected to the internet however I cannot get internet access, though I can network with my other computers. I've uninstalled and reinstalled a few times just to check that I haven't been careless but the results are still the same.