route add -net 192.168.1.0 -netmask 255.255.255.0 -interface ed0
On Fri, 11 Feb 2000, 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.
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
>
--
+-------------------------------------------------------------------------+
| Omachonu Ogali [EMAIL PROTECTED] |
| Intranova Networking Group http://tribune.intranova.net |
| PGP Key ID: 0xBFE60839 |
| PGP Fingerprint: C8 51 14 FD 2A 87 53 D1 E3 AA 12 12 01 93 BD 34 |
+-------------------------------------------------------------------------+
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message