From owner-freebsd-questions Tue Feb 27 08:50:12 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA02598 for questions-outgoing; Tue, 27 Feb 1996 08:50:12 -0800 (PST) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA02590 for ; Tue, 27 Feb 1996 08:50:09 -0800 (PST) Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA00022; Tue, 27 Feb 1996 11:50:06 -0500 Date: Tue, 27 Feb 1996 11:50:06 -0500 From: "Garrett A. Wollman" Message-Id: <9602271650.AA00022@halloran-eldar.lcs.mit.edu> To: gregkopp@en.com (Greg Kopp) Cc: questions@FreeBSD.org Subject: manual arp In-Reply-To: References: Sender: owner-questions@FreeBSD.org Precedence: bulk < Then I delete the network automatically added: > route delete -net 192.168.3 192.168.3.3 You Just Can't Do That. > And add the host > route add -host 192.168.3.3 192.168.3.3 This route is not meaningful. Don't do that. (It would cause earlier versions of FreeBSD to triple-fault and reboot.) > Now in order for the machine to recognize both IP addresses, I have to tie > that IP address to the same ethernet address: Um, no. If you had left the routing table alone, it would have done the right thing for you. > arp -s 192.168.3.3 11:22:33:44:55:66 pub > And if I try and do this from root, I get: > cannot intuit interface index and type for 192.168.3.3 ...which is telling you that the routing table is broken. > 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 ...which is also telling you that the routing table is broken. > I get no error messages when trying to set up the alias'd interface. That's because NOTHING WENT WRONG! Just leave it as it is! (But make sure to supply the correct netmask when you configure the interface.) -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant