Date: Thu, 25 Apr 2002 11:20:46 +0200 From: "Patrick O'Reilly" <bsd@perimeter.co.za> To: "FreeBSD Question List" <freebsd-questions@freebsd.org> Subject: Multiple destination addresses on a PPP link Message-ID: <002801c1ec3a$7bf078e0$b50d030a@PATRICK>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002801c1ec3a$7bf078e0$b50d030a>