Re: routing help
Hi Rod, After a bit more playing and a bit more thinking I finally figured it out..I think What it looks like is that the router I am using as the gateway (203.220.47.153) needed to have its ARP table updated or flushed or something. I don't have control over it so I can't be sure. What I now have is a script that runs after boot time that looks like: /sbin/route add -net 203.220.47.152/30 eth0 /sbin/route add default gw 203.220.47.153 /bin/ping -c1 203.220.238.152 /sbin/ifconfig eth0 203.221.41.12 netmask 255.255.255.224 broadcast 203.221.41.31 /sbin/route add -net 203.220.47.152/30 eth0 /sbin/route add default gw 203.220.47.153 /bin/ping -c1 203.220.238.152 /sbin/ifconfig eth0 203.221.41.13 netmask 255.255.255.224 broadcast 203.221.41.31 /sbin/route add -net 203.220.47.152/30 eth0 /sbin/route add default gw 203.220.47.153 /bin/ping -c1 203.220.238.152 /sbin/ifconfig eth0 203.221.41.11 netmask 255.255.255.224 broadcast 203.221.41.31 /sbin/ifconfig eth0:0 203.221.41.12 netmask 255.255.255.224 broadcast 203.221.41.31 /sbin/ifconfig eth0:1 203.221.41.13 netmask 255.255.255.224 broadcast 203.221.41.31 /sbin/route add -net 203.220.47.152/30 eth0 /sbin/route add default gw 203.220.47.153 /bin/ping -c1 203.220.238.152 it basically cycles through the ip addresses pinging a host on just the other side of the router so it flushes the ARP cache. Does this sound correct or am I totally off the track here? Anyway it is all working now but I guess I'd like to know if what I had to do was correct or not? Cheers, Lauchlin On 26/01/2004, at 2:31 PM, Rod Rodolico wrote: Sorry to be vague, but there was a command I remember once when I had this problem before. Seems like I had to do a route add in /network/interfaces. Seems like there is some parameter to an interface that allows you to execute a command after the interface is brought up, and I had to do a route add . . . . to get it to work. However, I'm doing a similar thing, on my server and the only difference is that my netmask is not 255.255.255.255, mine is 255.255.255.224. The first line in the route output was a host entry that I don't seem to need after all. which I think is incorrect on yours. Maybe it is the fact that your netmask is not correct? Following are the first two entries in my /etc/network/interfaces, and it works just fine. If I read your output correctly, your netmask should be a .224 instead of the .0 I use (since you only have two IP's). auto eth0 iface eth0 inet static address 66.17.131.182 netmask 255.255.255.0 network 66.17.131.0 broadcast 66.17.131.255 gateway 66.17.131.1 auto eth0:0 iface eth0:0 inet static address 66.17.131.183 netmask 255.255.255.0 auto eth0 eth1 iface eth0 inet static address 203.221.41.11 netmask 255.255.255.224 network 203.221.41.0 broadcast 203.221.41.31 is what I have. Of course, I could be 100% wrong, in which case someone here will correct me. Rod Hi, I have an issue with routing that I just can't figure out. What I have at the moment is a box set up with an IP and route as follows (some of the details have route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 203.221.41.11 0.0.0.0 255.255.255.255 UH0 0 0 eth0 203.220.47.152 0.0.0.0 255.255.255.252 U 0 0 0 eth0 203.221.41.00.0.0.0 255.255.255.224 U 0 0 0 eth0 0.0.0.0 203.220.47.153 0.0.0.0 UG0 0 0 eth0 eth0 Link encap:Ethernet HWaddr 00:05:1C:0B:48:A8 inet addr:203.221.41.11 Bcast:203.221.41.31 Mask:255.255.255.224 As can be seen from above the default route is set up to go to a gateway on a static route. What I want to do is add an ip alias to eth0 with an ip address of 203.221.41.12 and have it route out through the same gateway. If I simply do ifconfig eth0:1 203.221.41.12 netmask 255.255.255.224 broadcast 203.221.41.3 I can ping the IP address from the machine that is on the same switch (e.g. from 203.221.41.1) but I can not ping or trace to the ip aliased interface. I have searched around on google but can't seem to find what I am doing wrong! Thanks, -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: routing help
Hi Rod, After a bit more playing and a bit more thinking I finally figured it out..I think What it looks like is that the router I am using as the gateway (203.220.47.153) needed to have its ARP table updated or flushed or something. I don't have control over it so I can't be sure. What I now have is a script that runs after boot time that looks like: /sbin/route add -net 203.220.47.152/30 eth0 /sbin/route add default gw 203.220.47.153 /bin/ping -c1 203.220.238.152 /sbin/ifconfig eth0 203.221.41.12 netmask 255.255.255.224 broadcast 203.221.41.31 /sbin/route add -net 203.220.47.152/30 eth0 /sbin/route add default gw 203.220.47.153 /bin/ping -c1 203.220.238.152 /sbin/ifconfig eth0 203.221.41.13 netmask 255.255.255.224 broadcast 203.221.41.31 /sbin/route add -net 203.220.47.152/30 eth0 /sbin/route add default gw 203.220.47.153 /bin/ping -c1 203.220.238.152 /sbin/ifconfig eth0 203.221.41.11 netmask 255.255.255.224 broadcast 203.221.41.31 /sbin/ifconfig eth0:0 203.221.41.12 netmask 255.255.255.224 broadcast 203.221.41.31 /sbin/ifconfig eth0:1 203.221.41.13 netmask 255.255.255.224 broadcast 203.221.41.31 /sbin/route add -net 203.220.47.152/30 eth0 /sbin/route add default gw 203.220.47.153 /bin/ping -c1 203.220.238.152 it basically cycles through the ip addresses pinging a host on just the other side of the router so it flushes the ARP cache. Does this sound correct or am I totally off the track here? Anyway it is all working now but I guess I'd like to know if what I had to do was correct or not? Cheers, Lauchlin On 26/01/2004, at 2:31 PM, Rod Rodolico wrote: Sorry to be vague, but there was a command I remember once when I had this problem before. Seems like I had to do a route add in /network/interfaces. Seems like there is some parameter to an interface that allows you to execute a command after the interface is brought up, and I had to do a route add . . . . to get it to work. However, I'm doing a similar thing, on my server and the only difference is that my netmask is not 255.255.255.255, mine is 255.255.255.224. The first line in the route output was a host entry that I don't seem to need after all. which I think is incorrect on yours. Maybe it is the fact that your netmask is not correct? Following are the first two entries in my /etc/network/interfaces, and it works just fine. If I read your output correctly, your netmask should be a .224 instead of the .0 I use (since you only have two IP's). auto eth0 iface eth0 inet static address 66.17.131.182 netmask 255.255.255.0 network 66.17.131.0 broadcast 66.17.131.255 gateway 66.17.131.1 auto eth0:0 iface eth0:0 inet static address 66.17.131.183 netmask 255.255.255.0 auto eth0 eth1 iface eth0 inet static address 203.221.41.11 netmask 255.255.255.224 network 203.221.41.0 broadcast 203.221.41.31 is what I have. Of course, I could be 100% wrong, in which case someone here will correct me. Rod Hi, I have an issue with routing that I just can't figure out. What I have at the moment is a box set up with an IP and route as follows (some of the details have route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 203.221.41.11 0.0.0.0 255.255.255.255 UH0 0 0 eth0 203.220.47.152 0.0.0.0 255.255.255.252 U 0 0 0 eth0 203.221.41.00.0.0.0 255.255.255.224 U 0 0 0 eth0 0.0.0.0 203.220.47.153 0.0.0.0 UG0 0 0 eth0 eth0 Link encap:Ethernet HWaddr 00:05:1C:0B:48:A8 inet addr:203.221.41.11 Bcast:203.221.41.31 Mask:255.255.255.224 As can be seen from above the default route is set up to go to a gateway on a static route. What I want to do is add an ip alias to eth0 with an ip address of 203.221.41.12 and have it route out through the same gateway. If I simply do ifconfig eth0:1 203.221.41.12 netmask 255.255.255.224 broadcast 203.221.41.3 I can ping the IP address from the machine that is on the same switch (e.g. from 203.221.41.1) but I can not ping or trace to the ip aliased interface. I have searched around on google but can't seem to find what I am doing wrong! Thanks,
Mail Queue timeouts
Hi, what are peoples thoughts on the length of time mail should sit in the mail queue? Due to the rise in the amount of spam and viruses that seems to be going around lately I throttled back the delivery warning back to 30 minutes and the delivery failure back to 12 hours. My logic is that most people these days expect e-mail to be pretty instant so to have mail sitting in a queue for 7 days and not getting a warning for several hours seems a bit old fashioned. So far 12 hours and 30 minutes seems to be working well. What are other people doing? Cheers, Lauchlin Wilkinson Internet Tasmania Pty. Ltd.
Re: Combining 2 Ethernet NICS - 1 IP address
I'm not a network guru but I think bridgeing can do this. brctl is the command you use to bridge two interfaces. Maybe a search on google for that will turn something up? apt-get install bridge-utils should download all the packages you need for a 2.4 kernel. Some one please conrrect me if I am totaly off track here as I'd also be interested n this kind of thing. Cheers, Lauch On Wed, 2003-03-19 at 13:46, alan graham wrote: I have been trying unsuccessfully to find doco on combining 2 Ethernet NICS, such that only one IP address is presented to clients. Is this possible, if so can someone point me to appropriate resources. cheers AG -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Combining 2 Ethernet NICS - 1 IP address
I'm not a network guru but I think bridgeing can do this. brctl is the command you use to bridge two interfaces. Maybe a search on google for that will turn something up? apt-get install bridge-utils should download all the packages you need for a 2.4 kernel. Some one please conrrect me if I am totaly off track here as I'd also be interested n this kind of thing. Cheers, Lauch On Wed, 2003-03-19 at 13:46, alan graham wrote: I have been trying unsuccessfully to find doco on combining 2 Ethernet NICS, such that only one IP address is presented to clients. Is this possible, if so can someone point me to appropriate resources. cheers AG
Re: Mail server
We have one machine that is currently handleing about that many users. It runs Debian 3.0 stable, sendmail, spamassassin (if anyone has a better spam fillter let me know), imap and pop, and the load average is rarely above 0.7. Most of the load comes from spamassassin. Which seems to be normal. At the moment that machine is a Duron 900 with 60GB worth of disk space adn 750MB RAM. 60GB is complete overkill for only 1000 users unless you are planing on giving them huge mail boxes. Which I wouldn't advise. Personaly I run cucipop because it seems a very fast pop server. At the moment I am running uw-imapd as we have few inap clients and the sposed speed isues that that server have I have not noticed. As I said, the most cpu hungry app is the spam filtering. Lauch On Tue, 2003-02-25 at 03:27, Asher Densmore-Lynn wrote: Can anyone give me any figures on how much machine I need to serve as a mail server for N users? I appreciate that every server is unique, but I can't judge these things for the life of me, and if I had baseline numbers I could modify them to suit. \: I'm looking at a thousand users, but anything would help. -- Asher Densmore-Lynn [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Mail server
We have one machine that is currently handleing about that many users. It runs Debian 3.0 stable, sendmail, spamassassin (if anyone has a better spam fillter let me know), imap and pop, and the load average is rarely above 0.7. Most of the load comes from spamassassin. Which seems to be normal. At the moment that machine is a Duron 900 with 60GB worth of disk space adn 750MB RAM. 60GB is complete overkill for only 1000 users unless you are planing on giving them huge mail boxes. Which I wouldn't advise. Personaly I run cucipop because it seems a very fast pop server. At the moment I am running uw-imapd as we have few inap clients and the sposed speed isues that that server have I have not noticed. As I said, the most cpu hungry app is the spam filtering. Lauch On Tue, 2003-02-25 at 03:27, Asher Densmore-Lynn wrote: Can anyone give me any figures on how much machine I need to serve as a mail server for N users? I appreciate that every server is unique, but I can't judge these things for the life of me, and if I had baseline numbers I could modify them to suit. \: I'm looking at a thousand users, but anything would help. -- Asher Densmore-Lynn [EMAIL PROTECTED]
Load sharing POP/IMAP/smtp
Heyas, does anyone have any good links/info on how to set up a loadsharing/redunant mail servers (pop, imap, smtp). At the moment I have 1 server doing all three jobs but we are soon going to grow out of this arrangment andI have not had any experience with setting up such systems. Thanks in adavnce. Lauchlin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
IDE Hard Drive maintenance
Hi, I was wondering what most people on the list did when it came to keeping tabs on the health of IDE hard drives? I have a server in a remote location that I fear has one HD that is going flaky. Is there a way of doing a bad block scan on a mounted partition safely or am I asking the impossible. Cheers, Lauchlin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]