[CentOS] Two external interfaces, one with "default" route and ping problem

Tue Aug 20 04:34:37 UTC 2013
Les Mikesell <lesmikesell at gmail.com>

On Mon, Aug 19, 2013 at 10:41 PM, Jobst Schmalenbach
<jobst at barrett.com.au> wrote:
>
> Hi
>
> I have two different IP addresses (in a block of /29), one is on port 0 and the other is on port 2 of a Ciso 888.
> I am doing this so I can have two different certs with two different ip addresses.
>
> I have tried:
>
>  1) one machine, two real interfaces, two cables (eth0 and eth2)
>  2) one machine, one real interface eth0 and one virtual interface eth0:1, one network cable
>
>
> Using number 2)
> I can ping the two different ip addresses, no problem. The only problem here is that iptables does not work (I cannot create rules for eth0:1 - and yes I know about the security implications).

Why do you need different rules for eth0:1?  Can't you specify the IP addresses?

-- 
   Les Mikesell
    lesmikesell at gmail.com