Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2001 18:56:47 -0500
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        "Robert Lindgren" <robert@orcafat.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Ip alias
Message-ID:  <004f01c09acf$9efc5a60$1200a8c0@gsicomp.on.ca>
References:  <3A91A168.8020309@orcafat.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004f01c09acf$9efc5a60$1200a8c0>