From owner-freebsd-questions Tue Feb 27 06:10:50 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA20382 for questions-outgoing; Tue, 27 Feb 1996 06:10:50 -0800 (PST) Received: from en.com (en.com [204.89.181.1]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id GAA20373 for ; Tue, 27 Feb 1996 06:10:46 -0800 (PST) Received: from [206.148.86.83] (p21-ts6.en.net [206.148.86.84]) by en.com (8.7.4/8.7.4) with SMTP id JAA09838 for ; Tue, 27 Feb 1996 09:08:12 -0500 (EST) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 27 Feb 1996 09:07:57 -0500 To: questions@freebsd.org From: gregkopp@en.com (Greg Kopp) Subject: manual arp Sender: owner-questions@freebsd.org Precedence: bulk I am trying to get my FreeBSD machine to accept IP requests from more than one IP address. Here's what I'm doing. ifconfig eg0 inet 192.168.1.1 ..... ifconfig eg0 alias inet 192.168.3.3 ... Then I delete the network automatically added: route delete -net 192.168.3 192.168.3.3 And add the host route add -host 192.168.3.3 192.168.3.3 Now in order for the machine to recognize both IP addresses, I have to tie that IP address to the same ethernet address: arp -s 192.168.3.3 11:22:33:44:55:66 pub Right? When the arp command is executed from my netstart, I get an error: writing to routing socket: No such process 192.168.3.3: No such process And if I try and do this from root, I get: cannot intuit interface index and type for 192.168.3.3 And if I try and ping 192.168.3.3 from the same host, I get: Feb 26 05:28:33 kopp /kernel: arpresolve: can't allocate llinfo I get no error messages when trying to set up the alias'd interface. Is there a way for me to make sure that it worked? ifconfig eg0 doesn't tell me anything other than the info about the first assignment to 192.168.1.1 Help? -- ****************************************************************** * Greg Kopp - Garfield Heights, Ohio * * Gun Owner-Ham Radio Operator-Model Railroader-Graphic Artist * ******************************************************************