Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2000 19:21:15 +0200
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        Dimitar Peikov <mitko@www.koral.bg>
Cc:        questions@FreeBSD.org
Subject:   Re: Routing problem
Message-ID:  <20000211192115.B49927@relay.ucb.crimea.ua>
In-Reply-To: <200002111626.SAA01682@www.koral.bg>; from Dimitar Peikov on Fri, Feb 11, 2000 at 06:26:39PM %2B0200
References:  <200002111626.SAA01682@www.koral.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
[Redirected to -questions, nothing hackish]

On Fri, Feb 11, 2000 at 06:26:39PM +0200, Dimitar Peikov wrote:
> 	Hi,
> 	I have the following problem and cant see where I wrong or there is another way to do it.
> Problem: I have one segment in wich are connected different networks. in this case I try to use one workstation using Windows with alone IP -> let it be 192.168.1.1/32 and my freebsd uses 192.168.0.1/24 . The other Win I could setup to see this alone workstation using routing information but in my freebsd machine when I set using :
> 
> route add -host 192.168.1.1 -netmask 255.255.255.255 -interface ed0
> 
> My arp table says that ed0 has IP 192.168.1.1 ?????
> 
> If set using :
> 
> route add -host 192.168.1.1 -netmask 255.255.255.255 192.168.0.1
> 
> My arp says nothing, but ping returns routing errors???? 
> In fact I cannot route alone IP trought interface. It have no sense but in my case I must use tricks doing that!!!
> 
> Could someone can explain me how to solve that problem? I see that 2 Windowses in this configuration have ping between, but ping between freebsd and that Windows - no!
> 
> Mitko
> P.S.: I forgot that currently I use 3.1 release.
> 
Put the following line in your /etc/rc.conf:

ifconfig_ed0_alias0="inet 192.168.1.1"

This should DTRT.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA of the
ru@ucb.crimea.ua	United Commercial Bank,
ru@FreeBSD.org		FreeBSD committer,
+380.652.247.647	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age


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?20000211192115.B49927>