[CentOS] I Have Multiple Ips But Can Only Telnet to One Interface. Not the subinterface. How to Fix?

Wed May 20 10:41:59 UTC 2015
Mike McKoy <mikemckoy at gmail.com>

Hi guys,

I have multiple IPs bound to my Centos 6.6 box but I can only telnet to one
IP. Any ideas on what to do? I've searched the internet so far with every
keyword I can think of to no avail. I can see that postfix is only
listening on the first IP and to localhost. The IP I cannot smtp to is on
ETH0:1. I can access it via port 80 (web traffic) but the connection is
refused if i try to telnet. [image: :shock:]

The domain I can telenet to is mymodeltalk.com
The domain I cannot telenet to is inform.mymodeltalk.com

I have posted my current IP Tables rules, netstat, ifconfig -a, and route
-n. I have SElinux set to permissive.
[root at mail1 log]# netstat -plnt |grep :25
tcp 0 0 172.30.1.113:25 0.0.0.0:* LISTEN 18800/master
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 18800/master

[root at mail1 log]# iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 587 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 110 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 143 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 993 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 995 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 25 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 25 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 587 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 9292 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 110 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 143 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 22 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 25 -j ACCEPT

[root at mail1 log]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 0A:28:21:76:97:85
inet addr:172.30.1.113 Bcast:172.30.1.255 Mask:255.255.255.0
inet6 addr: fe80::828:21ff:fe76:9785/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:9001 Metric:1
RX packets:793739006 errors:0 dropped:0 overruns:0 frame:0
TX packets:480841833 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:937438761212 (873.0 GiB) TX bytes:136066252190 (126.7 GiB)
Interrupt:18

eth0:1 Link encap:Ethernet HWaddr 0A:28:21:76:97:85
inet addr:172.30.1.65 Bcast:172.30.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:9001 Metric:1
Interrupt:18

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:369804 errors:0 dropped:0 overruns:0 frame:0
TX packets:369804 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:207298477 (197.6 MiB) TX bytes:207298477 (197.6 MiB)

[root at mail1 log]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.30.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
0.0.0.0 172.30.1.1 0.0.0.0 UG 0 0 0 eth0
--
Mike McKoy
*404.590.7176*
http://MyForeverHair.com
http://www.MyModelTalk.com
http://InCrowdUSA.net
http://www.google.com/profiles/mikemckoy