From owner-freebsd-questions Thu Apr 25 06:27:03 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA08982 for questions-outgoing; Thu, 25 Apr 1996 06:27:03 -0700 (PDT) Received: from cyberelf.com (www.link-systems.com [168.151.135.100]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA08976 for ; Thu, 25 Apr 1996 06:27:00 -0700 (PDT) Received: (from lgp@localhost) by cyberelf.com (8.6.12/8.6.12) id JAA01900; Thu, 25 Apr 1996 09:27:13 -0400 Date: Thu, 25 Apr 1996 09:27:12 -0400 (EDT) From: Linda Pedersen To: Mike Kercher cc: questions@FreeBSD.org Subject: Please help: Was 2 differents IP on the same interface ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 25 Apr 1996, Mike Kercher wrote: > Yes...I just went through the same thing. You use ifconfig and assign > alias IP's to the device. I was told that you can ave up to 16 IP's per > interface. I may be wrong... > I have a virtual account set up on my machine, and due to some dns magic on the part of my isp it works. However, whenever I log in onto another machine the other machine's logs think I am the virtual domain. Also, I can't be real sure I have it aliased correctly because I have a dedicated dialup (isdn) ppp account with my isp, no router, and a bitsurfer pro modem. My situation didn't fit any of the examples so I had to improvise. Here are the lines in sysconfig: network_interfaces="lo0 ed1 tun0" ifconfig_lo0="inet localhost" ifconfig_ed1="inet 168.151.135.1 198.252.40.12 netmask 0xffffff00 down" ifconfig_tun0="inet 198.252.40.12 198.252.63.10 up" ifconfig_tun0="inet 168.151.135.100 198.252.63.10 alias" where 168* is the virtual domain ip and 198* is the gateway machine at my isp. If any kind FreeBSD gurus can tell me why I am having problems with this I would really appreciate it. Thanks. --Linda ************************************************************************* * Linda Pedersen * CyberElf Web Page Design * * President, CyberElf Inc. * ---- We're working magic on the Web --- * * lgp@cyberelf.com * Come visit us at * * 813-980-1524 * http://www.cyberelf.com * *************************************************************************