From owner-freebsd-isp Tue Aug 7 14:43:11 2001 Delivered-To: freebsd-isp@freebsd.org Received: from db.nexgen.com (db.nexgen.com [66.92.98.149]) by hub.freebsd.org (Postfix) with SMTP id 396FF37B403 for ; Tue, 7 Aug 2001 14:43:05 -0700 (PDT) (envelope-from ml@db.nexgen.com) Received: (qmail 1198 invoked from network); 7 Aug 2001 21:42:34 -0000 Received: from localhost.nexgen.com (HELO alexus) (root@127.0.0.1) by localhost.nexgen.com with SMTP; 7 Aug 2001 21:42:34 -0000 Message-ID: <002d01c11f89$efa67a10$0d00a8c0@alexus> From: "alexus" To: "Steven Ames" , Cc: References: <20010807153201.A73493@virtual-voodoo.com> <003101c11f85$2ca225e0$0d00a8c0@alexus> <022f01c11f85$d08fc900$28d90c42@eservoffice.com> Subject: Re: another ip as alias on NIC doesn't work properly Date: Tue, 7 Aug 2001 17:43:03 -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 client supports that in BitchX it's option -H and in ircII it's -h alexus@~# ifconfig fxp0 fxp0: flags=8943 mtu 1500 inet 66.92.98.145 netmask 0xffffff00 broadcast 66.92.98.255 inet 66.92.98.151 netmask 0xffffffff broadcast 66.92.98.255 ether 00:60:94:a5:cb:44 media: Ethernet autoselect (100baseTX ) status: active alexus@~# this is my NIC w/ two of my ips whenever i'm tryin to use .151 it rolls over to .145 here is my routing table alexus@~# netstat -rn | grep -v dc0 Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 66.92.98.1 UGSc 66 84980 fxp0 66.92.98/24 link#1 UC 5 0 fxp0 => 66.92.98.1 0:10:67:0:8d:68 UHLW 64 0 fxp0 429 66.92.98.145 0:60:94:a5:cb:44 UHLW 1 88 lo0 66.92.98.148 0:30:48:21:78:a6 UHLW 0 2 fxp0 1023 66.92.98.149 0:30:48:21:3c:c9 UHLW 0 4652 fxp0 712 66.92.98.150 0:30:48:21:3c:c9 UHLW 0 512 fxp0 904 66.92.98.151/32 link#1 UC 0 0 fxp0 => 127.0.0.1 127.0.0.1 UH 2 835 lo0 alexus@~# i still dont really know where 148,149,150 ip came from in this routing table ----- Original Message ----- From: "Steven Ames" To: "alexus" ; Cc: Sent: Tuesday, August 07, 2001 5:13 PM Subject: Re: another ip as alias on NIC doesn't work properly > So... to be clear... you want to be able to specify the _source_ IP that > your > irc client will use when it connects outward? The OS isn't going to do that > for you. Your client will have to have an option that allows you to specify > the source IP (much like the '-S' option of 'ping'). > > There's been some discussion recently about what the OS will select as > the source address. In this case its pretty clear. Its going to grab your > main IP address (i.e. the one that doesn't have a netmask of 0xfffffff and > does share a subnet with your default gateway/next hop). > > -Steve > > > > > my ip isn't baned > > > > and the problem is that whenever i'm trying to use my second ip it rolls > > over to first, and thats what i'm trying to figureout and fix it > > > > > > ----- Original Message ----- > > To: > > Cc: "alexus" ; > > Sent: Tuesday, August 07, 2001 4:32 PM > > Subject: Re: another ip as alias on NIC doesn't work properly > > > > > > > On Tue, Aug 07, 2001 at 03:29:21PM -0500, Eric_Stanfield@kenokozie.com > > wrote: > > > > > > > > I think it safe to say that no one has a clue as to what you are > > attempting > > > > to do. If you are using an irc -client- to connect to an irc server > why > > > > are you worried about what source ip your client is talking out of? > > > > > > If one IP address gets banned, just add another? > > > > > > -Steve > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message