From owner-freebsd-isp Mon Aug 6 17:16:58 2001 Delivered-To: freebsd-isp@freebsd.org Received: from db.nexgen.com (unknown [66.92.98.149]) by hub.freebsd.org (Postfix) with SMTP id 7A43237B401 for ; Mon, 6 Aug 2001 17:16:53 -0700 (PDT) (envelope-from ml@db.nexgen.com) Received: (qmail 42515 invoked from network); 7 Aug 2001 00:17:11 -0000 Received: from localhost.nexgen.com (HELO alexus) (root@127.0.0.1) by localhost.nexgen.com with SMTP; 7 Aug 2001 00:17:11 -0000 Message-ID: <000801c11ed6$41653170$0d00a8c0@alexus> From: "alexus" To: "Colin Campbell" Cc: References: Subject: Re: another ip as alias on NIC doesn't work properly Date: Mon, 6 Aug 2001 20:16:50 -0400 Organization: NexGen MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2526.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2526.0000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org my irc server? it ain't mine;) i'm trying to connect to *remote* irc server and i've tryed more then just one irc server.. issue is on my end no doubt.. i have another box which i was able to bind two ips and they working fine, both of them.. that's why i'm very confused here.. and I still need help to figure it out and fix it, so any suggests are very welcome thanks in advance ----- Original Message ----- From: "Colin Campbell" To: "alexus" Cc: Sent: Monday, August 06, 2001 7:00 PM Subject: Re: another ip as alias on NIC doesn't work properly > Hi, > > I am assuming you still have your original problems. > > 1) Why do you not see traffic from the alias? I am guessing that your irc > server is bound to all addresses. When a UNIX system receives a packet for > any address on the system it will accept it on the interface the packet > came in on. All return packets will go out with that IP address. For > example suupose you had > > xl0 = 192.168.1.1 > xl1 = 10.0.0.1 > > If machine 10.0.0.2 sent a packet to 192.168.1.1, the machine would accept > it on interface xl1 and all packets would come out with source of 10.0.0.1 > despite being directed to 192.168.1.1. On some systems you can actually > prevent this behaviour. ie if 10.0.0.2 sent to 192.168.1.1 you'd get back > a "no route to host" or something similar. > > 2) The routes you queried are all host routes. If you "man > netstat" you would have seen that the "UHLW" means > > H RTF_HOST Host entry (net otherwise) > L RTF_LLINFO Valid protocol to link address translation > U RTF_UP Route usable > W RTF_WASCLONED Route was generated as a result of cloning > > Freebsd installs a host route for all local hosts. > > At least I think that's what happens. :-) > > Colin > -- > Colin Campbell > Unix Support/Postmaster/Hostmaster > CITEC > +61 7 3006 4710 > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message