<span style='font-family:Verdana'><span style='font-size:12px'><br /> 
<br /> 
<p style="margin:0px; padding:0px;" > 
        Ā </p> 
<blockquote style="border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px;" type="cite"> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">----- Original Message -----</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">From: gary artim</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">Sent: 02/13/12 10:14 PM</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">To: Community support for Fedora users</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">Subject: Re: iptables? issue</span></span></p> 
        <br /> 
        <div> 
                <div> 
                        <pre style="white-space: pre-wrap; word-wrap: break-word; font-size:11;pre"> 
if you own both address you need to alias your nic with the other address. 

ifcfg-eth0:0 

add in /etc/sysconfig/network-scripts 



Hi Gary, 

It still wouldn't explain why i can't ping the gateway's address. 


On Mon, Feb 13, 2012 at 11:34 AM,  &lt;nullv@gmx.com&gt; wrote: 
&gt; Hi, 
&gt; 
&gt; I'm hoping that you can point out what i'm missing here. I have a server 
&gt; (router0) with a public ip 41.123.234.74/29 that's using an internet modem 
&gt; 41.123.234.73/29 as a gateway. the server (router0) also has a second card 
&gt; used for lan comms where it has ip address 10.0.0.1/8. addresses are 
&gt; broadcast via dhcp along with DNS and gateway settings and everything works 
&gt; perfectly when i MASQUERADE the local ips to the wan address with iptables. 
&gt; 
&gt; The issue is this: i'm trying to set up another server (db0) behind router0 
&gt; on the lan side and want to have it's packets go the my router0 gateway and 
&gt; be forwarded to the internet side and vice versa. db0 has an address 
&gt; 41.123.234.75/29 with .74 set as the gateway. if i set up my addressing on 
&gt; db0 using lan addresses and 10.0.0.1 my db0 server can connect and 
&gt; everything but if i use the wan address i can't connect even to the 
&gt; 41.123.234.74/29 router0 address. i had inserted the following rule to my 
&gt; tables forward chain: 
&gt; iptables -I FORWARD -s 41.123.234.72/29 -j ACCEPT 
&gt; to allow public packets from either side to be forwarded to both sides but i 
&gt; can't seem to get the boxes to through to each other. 
&gt; 
&gt; Can anyone tell me were i'm getting it wrong? 
&gt; 
&gt; Thanks in advance 
&gt; 
&gt; -- 
&gt; users mailing list 
&gt; users@lists.fedoraproject.org 
&gt; To unsubscribe or change subscription options: 
&gt; https://admin.fedoraproject.org/mailman/listinfo/users 
&gt; Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines 
&gt; Have a question? Ask away: http://ask.fedoraproject.org 
&gt; 
-- 
users mailing list 
users@lists.fedoraproject.org 
To unsubscribe or change subscription options: 
https://admin.fedoraproject.org/mailman/listinfo/users 
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines 
Have a question? Ask away: http://ask.fedoraproject.org</pre> 
                </div> 
        </div> 
</blockquote> 
<p style="margin:0px; padding:0px;" > 
        Ā </p> 
</span></span>