Re: Routing local generted packets with fwmark

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 10/15/10 3:56 AM, C. L. Martinez wrote:
>
>
> On Fri, Oct 15, 2010 at 10:44 AM, John Doe <jdmls@xxxxxxxxx
> <mailto:jdmls@xxxxxxxxx>> wrote:
>
>     From: C. L. Martinez <carlopmart@xxxxxxxxx <mailto:carlopmart@xxxxxxxxx>>
>      >>But this doesn't works. This host is CentOS 5.5 based with two interfaces.
>      >Please, any hints?
>
>     What do you mean by this does'nt work?
>     Nothing works?
>     Half of it?
>     Just in case, but no idea if it is necessary, did you set forwarding?
>     net.ipv4.ip_forward = 1
>     But again, I am not sure it is necessary...
>
>     JD
>
>
>
> I think I don't need to enable ip forwarding. My problem is when I try to, for
> example, resolve some name address via eth2. My DNS server denies all querys
> because these appears with 172.25.70.18 ip instead of 172.25.80.10 IP.

Is it denying it due to firewalling/configuration, or just doesn't have a route 
back?

> This is one problem. Another problem for example is when I try to synchronize
> host time using ntp service via eth1. Doesn't works.

It seems very strange to need to source from an IP that isn't the one that would 
automatically be chosen by the next-hop route toward the destination, and not 
too surprising that it doesn't work.  Why do you need to do this, and wouldn't 
it be better to nat to the outbound interface if you do?

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux