[Wolves] IP Aliasing
Andy Smith
andy at lug.org.uk
Thu Oct 16 22:05:44 UTC 2008
Hi Simon,
On Thu, Oct 16, 2008 at 10:47:31AM +0000, Simon C. Burke wrote:
> Hi all.
>
> I recently moved my mail server to a different box. However whilst changing IP I wanted to add the old one as an IP Alias.
>
> I went through the usual rigmarole of running:
>
> /sbin/ifconfig eth0:0 78.105.102.xx netmask 255.255.248.0
These days you should be using the "ip" utility..
Also the netmask for an alias on the same network as another
interface should be 255.255.255.255. So:
# ip addr add 78.105.102.xx/32 dev eth0
> /sbin/route add -host 78.105.102.xx dev eth0:0
This bit is unnecessary as there is already an IP on that network.
That said I don't think either of these are your problem.
So you've configured your MTA to listen on 78.105.102.xx:25 as well?
What does lsof -p <pid> of it say?
What happens when you
$ telnet 78.105.102.xx 25
??
Cheers,
Andy
--
http://bitfolk.com/ -- No-nonsense VPS hosting
Encrypted mail welcome - keyid 0x604DE5DB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.lug.org.uk/pipermail/wolves/attachments/20081016/aba83c19/attachment.pgp
More information about the Wolves
mailing list