From owner-freebsd-questions Thu Sep 28 09:19:23 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA19005 for questions-outgoing; Thu, 28 Sep 1995 09:19:23 -0700 Received: from txcc.net ([205.218.183.157]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id JAA18992 for ; Thu, 28 Sep 1995 09:19:19 -0700 Received: (from litteken@localhost) by txcc.net (8.6.11/8.6.9) id LAA00520; Thu, 28 Sep 1995 11:19:18 -0500 Date: Thu, 28 Sep 1995 11:19:17 -0500 (CDT) From: Todd Litteken To: -Vince- cc: questions@freebsd.org Subject: Re: Question about ifconfig alias In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Fri, 22 Sep 1995, -Vince- wrote: > On Tue, 19 Sep 1995, Todd Litteken wrote: > > > > > I am trying to alias IP addresses to the same host.. i will include the > > lines i am using but i have problems that when it is active the host > > locks up.. better disc would be if i telnet from the host to the router > > the router gives a HOST DOWN.. even though it is up. and if i go from the > > router to the host i get a time out.. I have checked the IP's and thay do > > not conflict.. > > > > ifconfig ep0 inet 205.218.183.1 netmask 0xffffffff alias > > ifconfig ep0 inet 205.218.183.2 netmask 0xffffffff alias > > ifconfig ep0 inet 205.218.183.3 netmask 0xffffffff alias > > > > the ep host is 205.218.183.157 am i doing somthing rong? > > > > i have read the man pages and the oreilly book.. thay were not mutch help > > on this.. > > > > thanks.. > > > > litteken@txcc.net > > I am trying to do this as well since I want two IP's for the ed0 > so any ideas how to do it? > > Cheers, > -Vince- vince@apollo.COSC.GOV - GUS Mailing Lists Admin Ok here is a soulation.. Note: There is a real problem with Freebsd and Ifconfig alias! I went over the back logs of messages from the BSD areas and found lots of people having a problem with ifconfig alias and an equal number saying it is easy.. what i noticed is the people having the problem were running FreeBSD and the people Saying it was easy were running BSDI.. The problem shows up only when trying to alias more than 3 IP's to a single host. The problem is the host falls off the net.. on mine the proplem was strange in that i could still telnet to the IP addresses of the office system and terminal server but not the router.. and from the console at the router i could telnet to the terminal server and the office system but not the main host.. well enough with the problem here is the soulation.. every thing i read sead to do the following ifconfig ep0 205.218.183.160 netmask 0xffffffff alias up to 2 it is fine the at 3 the crashing starts.. soulation: ifconfig lo0 205.218.183.160 netmask 0xffffffff alias this sets up an alias on the loopback then you need to route the alias arp -s 205.218.183.160 0:a0:24:9:5f:d9 pub this sets up a route to the ethernet address.. that works so far.. i have 6 set up and have seen no problems. note: when setting it up to boot these you will have to have the arp command in the rc.local file.. hope this helps some people.. and hope that the people at FreeBSD fix this problem.. (There is still a posibulity that there is a misconfiguration on my machine that is causing the problem with ifconfig alias. if it is working on your FreeBSD 2.0.5 or 2.1.0 system please let me know maby we can compair systems and see what is going on..)