Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 1995 11:19:17 -0500 (CDT)
From:      Todd Litteken <litteken@txcc.net>
To:        -Vince- <vince@apollo.COSC.GOV>
Cc:        questions@freebsd.org
Subject:   Re: Question about ifconfig alias
Message-ID:  <Pine.BSF.3.91.950928105518.428B-100000@txcc.net>
In-Reply-To: <Pine.BSF.3.91.950922001434.19640c-100000@apollo.COSC.GOV>

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


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..)






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.950928105518.428B-100000>