Date: Mon, 6 Aug 2001 20:16:50 -0400 From: "alexus" <ml@db.nexgen.com> To: "Colin Campbell" <sgcccdc@citec.qld.gov.au> Cc: <freebsd-isp@FreeBSD.ORG> Subject: Re: another ip as alias on NIC doesn't work properly Message-ID: <000801c11ed6$41653170$0d00a8c0@alexus> References: <Pine.BSF.4.33.0108070849540.89609-100000@guru.citec.qld.gov.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <sgcccdc@citec.qld.gov.au> To: "alexus" <ml@db.nexgen.com> Cc: <freebsd-isp@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000801c11ed6$41653170$0d00a8c0>