From: "pankaj jain" Subject: problem in adding a gateway Date: Mon, 18 Jun 2007 17:55:43 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: netfilter-devel@lists.netfilter.org Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org HI, I was using iptables and arptables for SNAT/DNAT and responding arp-requests, I did not assign the ip on any of my interfaces Now I want to add a gateway from the same subnet, for example: I am sending arp responses for 203.200.192.24 (sorry if some one has this IP) using arp tables. Now I want to add a gateway e.g. 203.200.192.1 in the route table I am using command- "ip route add default via 203.200.192.1 dev eth0 table 10" but when I try this it says RTNETLINK answers: Network is unreachable is it because any of the interfaces does not belong to the subnet? please suggest some solution. -- Thanks Pankaj Jain