From owner-freebsd-questions Mon Feb 19 15:58:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id 2309537B491 for ; Mon, 19 Feb 2001 15:58:45 -0800 (PST) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.9.3) with SMTP id f1JNugi88461; Mon, 19 Feb 2001 18:56:42 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <004f01c09acf$9efc5a60$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Robert Lindgren" , References: <3A91A168.8020309@orcafat.com> Subject: Re: Ip alias Date: Mon, 19 Feb 2001 18:56:47 -0500 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.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi!!! > > When I add an ip alias with the command: > > ifconfig fxp0 alias xxx.yyy.zzz.www netmask 255.255.255.255 > > The ip-address gets default gateways address as gateway, is this correct? Could you be more specific? Perhaps showing the output of 'netstat -rn' would be helpful. > The problem I have is that if the def gateway is gateway for the alias > address then you must go out the the gatway and back to connect to the > "real" address on the nic. Please help me solving this little problem If I'm understanding you correctly, what you describe is not a problem. Any traffic destined to the alias won't actually go out on the wire and come back into the NIC; it's all handled within the TCP/IP stack. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message