Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 1996 16:04:23 -0700 (PDT)
From:      Nick Liu <nickliu@netcom.com>
To:        "Daniel O'Callaghan" <danny@panda.hilink.com.au>
Cc:        Rishi Gautam <rishim@teil.soft.net>, hackers@FreeBSD.ORG
Subject:   Re: Ned info for Host Route add
Message-ID:  <Pine.3.89.9607231601.A5520-0100000@netcom10>
In-Reply-To: <Pine.BSF.3.91.960724083808.1006A-100000@panda.hilink.com.au>

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


On Wed, 24 Jul 1996, Daniel O'Callaghan wrote:

> 
> 
> On Tue, 23 Jul 1996, Rishi Gautam wrote:
> 
> > 
> > Hi
> > 
> > I have a network with subnet address 192.192.10. I hooked a machine1
> > with IP adress 228.100.11.135. I want to add HOST route in the machine1
> > for the host 192.192.10.30 with LLINFO flag set, so that i can communicate
> > to the machine 192.192.10.30. I also want to create a route in the machine
> > 192.192.10.30 for the machine1(228,100.11.135) with the LLINFO  flag set.
> > 
> > What route command i have to use? I tried all sort of combinations, and 
> > it's seems that nothing is working. 
> > The commands i tried are for machine1 228.100.11.135
> > route add -host 192.192.10.30 228.100.11.135 -netmask 255.255.255.255 -interfacee
> > error: arp_rtrequest bad gateway value. 
> > But it add the host rtentry.
> > if we did netstat -r, it gives error "arp_resolve: can't allocate llinfo"
> > I think it's not creting the space for the llinfo structure in the 
> > arp_rtrequest, when I am adding the route.
> 
> >From your description, you have things a little upside-down.  For 
> starters, why are you using 228.100.11.135?  Isn't 228.*.*.* class D 
> networks?  If this is a private network you should use 192.168.*.*.
> 
> If you are joining the two machines via ethernet, then you need to 
> allocate IP addresses on the same network to each machine.  e.g. 
> 192.192.10.30 and 192.192.10.40.  *Then* you will be able to talk to 
> machine1.  If you want to route 228.100.11.135 packets to machine1, you 
> then say (on machine.30)
> route add 228.100.11.135 192.192.10.40
> 
> If you want both of these addresses on the ethernet interface, then you 
> need to:
> ifconfig ed0 192.192.10.40  (at the console, of course)
> ifconfig ed0 228.100.11.135 alias
> 
> Danny
> 


My other computer is a Win95 box, what do I have to do to set that up?
The addresses I intended to use are:

192.168.254.1 	for FBSD  (as gateway)
192.168.254.2	for Win95

I have issued:

ifconfig ed0 192.168.254.1 netmask 0xfffffff0 broadcast 192.168.254.255


(Really appreciate if you help).




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.3.89.9607231601.A5520-0100000>