From owner-freebsd-questions Thu Apr 25 2:22:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dns.perimeter.co.za (dns.perimeter.co.za [196.25.164.254]) by hub.freebsd.org (Postfix) with ESMTP id 7805737B425 for ; Thu, 25 Apr 2002 02:22:50 -0700 (PDT) Received: from PATRICK (loopback.mipjhb [209.212.102.245] (may be forged)) by dns.perimeter.co.za (8.11.1/8.11.1) with SMTP id g3P9MlL52346 for ; Thu, 25 Apr 2002 11:22:47 +0200 (SAST) (envelope-from bsd@perimeter.co.za) Message-ID: <002801c1ec3a$7bf078e0$b50d030a@PATRICK> From: "Patrick O'Reilly" To: "FreeBSD Question List" Subject: Multiple destination addresses on a PPP link Date: Thu, 25 Apr 2002 11:20:46 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi. I need to configure a PPP link so that traffic to an entire subnet (/29, not /30) is routed down that link. The remote end will then be able to perform static NAT using the addresses available. I'm not expressing myself well :( I have this happening during start-up: # ifconfig hdlc3 192.168.7.1 192.168.7.2 netmask 255.255.255.248 I was hoping that traffic addressed to 192.168.7.3, etc would also be routed down this PPP link, and the router at the remote end would then be able to use the multiple IP addresses for NAT to different hosts on it's own LAN. BUT: netstat -rn reveals only the following route: Destination Gateway Flags Refs Use Netif Expire 192.168.7.2 192.168.7.1 UH 1 336 hdlc3 I tried forcing a route manually: # route add -net 192.168.7.0/29 192.168.7.1 But then netstat -rn shows the following route: Destination Gateway Flags Refs Use Netif Expire 192.168.7.0/29 192.168.7.1 UGSc 0 2 xl0 192.168.7.2 192.168.7.1 UH 1 336 hdlc3 So, the traffic is headed of out of the wrong interface. Can I do what I'm wanting to do, and if so - How? I'm in over my head :( , PLEASE HELP! :) Regards, Patrick O'Reilly. ___ _ __ / _ )__ __ (_)_ __ ___ _/ /____ __ / __/ -_) _) / ~ ) -_), ,-/ -_) _) /_/ \__/_//_/_/~/_/\__/ \__/\__/_/ http://www.perimeter.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message