Skip to contentSkip to conversation

IP Aliasing

DISCUSSION j davis 1 participant 1 message May 31, 2002

lore
Share & tools
lore

j davis

author
#0 lore raw

this does work, this is proablly a weekley question trailing the ever popular
Q what ports for my game? This question has been asked 2 or three times just in the last few days...view the Virtual Host emails this week,

Quoted 46 lines

From: George Georgalis <[email protected]>
To: Michael Montero <[email protected]>
CC: [email protected]
Subject: Re: IP Aliasing
Date: Fri, 31 May 2002 13:18:49 -0400
MIME-Version: 1.0
Received: from hotmail.com ([65.54.236.29]) by hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Fri, 31 May 2002 10:29:25 -0700
Received: from lists.samba.org ([198.186.203.85]) by hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Fri, 31 May 2002 10:19:23 -0700
Received: from va.samba.org (localhost [127.0.0.1])by lists.samba.org (Postfix) with ESMTPid E5C4045C7; Fri, 31 May 2002 10:22:21 -0700 (PDT)
Received: from trot.galis.org (ool-43530772.dyn.optonline.net [67.83.7.114])by lists.samba.org (Postfix) with ESMTP id 4AD554109for <[email protected]>; Fri, 31 May 2002 10:20:14 -0700 (PDT)
Received: (from gx@localhost)by trot.galis.org (8.11.6/8.11.6) id g4VHInI19140;Fri, 31 May 2002 13:18:49 -0400
Delivered-To: [email protected]
Message-ID: <[email protected]>
References: <Pine.LNX.4.04.10205311254170.5797-100000@lysa>
User-Agent: Mutt/1.2.5.1i
In-Reply-To: <Pine.LNX.4.04.10205311254170.5797-100000@lysa>; from [email protected] on Fri, May 31, 2002 at 12:55:57PM -0400
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.8
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://lists.samba.org/listinfo/netfilter>,<mailto:[email protected]?subject=subscribe>
List-Id: netfilter user discussion list <netfilter.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/listinfo/netfilter>,<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://lists.samba.org/pipermail/netfilter/>
Return-Path: [email protected]
X-OriginalArrivalTime: 31 May 2002 17:19:25.0848 (UTC) FILETIME=[504C3180:01C208C7]

Quoted 1 line · Michael Montero

I'm trying to set up 2 IP aliases on my firewall box. It's Redhat 7.2.

I

Quoted 4 lines

believe I have the 2 alias (eth0:0 and eth0:1) set up properly. Is there anything in particular I need to do with iptables to activate these 2 interfaces? I've attempted to execute rules with the interface specified as eth0:0 and iptables does not seem to like that. Anyone have any docs

I

Quoted 3 lines

can read about proper IP aliasing under Redhat and what I need to do for iptables?

I would try '-i eth0' for all you aliases and use '-i/-o address[/mask]' if you refer to a particular subnet. Reasoning: the interface is being aliased and iptables sees them all as eth0.

Quoted 8 lines

Let me know if this works ;^) I'll be trying it shortly.

// George

--
GEORGE GEORGALIS, System Admin/Architect cell: 347-451-8229
Security Services, Web, Mail, mailto:[email protected]
File, Print, DB and DNS Servers. http://www.galis.org/george

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com