Weird network problem
Edoardo Causarano
edoardo.causarano at laitspa.it
Thu Oct 18 13:30:35 UTC 2007
I should add that on AS4 this doesn't happen but the machine in question
is an AS3. Could it be a known problem of the 2.4.x kernel line?
Saluti,
e
On Thu, 2007-10-18 at 15:15 +0200, Barry Brimer wrote:
> > Hi,
> >
> > I have a little problem: a machine is configured with two ip addrs
> on
> > the same eth if, the other being an alias. When connecting to the
> > primary addr, even when pinging it, the response seems to come from
> the
> > alias addr; this of course messes up the config of the firewall
> sitting
> > between the server and clients. How is it possible? Why is the
> kernel
> > answering on the alias? How can I force it to answer with the
> correct
> > address?
>
> Sounds strange. Do you have any iptables rules that would explain
> this ..
> most likely in the 'nat' table?
>
> 'iptables -t nat -L -n' will tell you.
>
> I suppose you could use an iptables rule
> to force traffic out that IP address .. something like:
>
> iptables -t nat -I POSTROUTING -s <ip address of eth0:0> -j SNAT
> --to-source <ip address of eth0>
>
> (This should all be on one line, regardless of how it appears in this
> message).
>
> Barry
>
> --
> redhat-sysadmin-list mailing list
> redhat-sysadmin-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
>
>
--
Edoardo Causarano
Direzione Produzione e Tecnologie
Area Esercizio Sistemi
LAit S.p.A.
Via Adelaide Bono Cairoli, 68
00145 Roma
mobile: +393465024522
fisso: +390651689829
fax: +390651892200
mailto: edoardo.causarano at laitspa.it
web: http://www.laitspa.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-sysadmin-list/attachments/20071018/1b44a147/attachment.htm>
More information about the redhat-sysadmin-list
mailing list