Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2001 17:43:03 -0400
From:      "alexus" <ml@db.nexgen.com>
To:        "Steven Ames" <steve@virtual-voodoo.com>, <Eric_Stanfield@kenokozie.com>
Cc:        <freebsd-isp@FreeBSD.ORG>
Subject:   Re: another ip as alias on NIC doesn't work properly
Message-ID:  <002d01c11f89$efa67a10$0d00a8c0@alexus>
References:  <OF26A14DF9.F26158DC-ON86256AA1.0070470E@kka.com> <20010807153201.A73493@virtual-voodoo.com> <003101c11f85$2ca225e0$0d00a8c0@alexus> <022f01c11f85$d08fc900$28d90c42@eservoffice.com>

next in thread | previous in thread | raw e-mail | index | archive | help
my irc client supports that

in BitchX it's option -H
and in ircII it's -h

alexus@~# ifconfig fxp0
fxp0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> 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 <full-duplex>)
        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" <steve@virtual-voodoo.com>
To: "alexus" <ml@db.nexgen.com>; <Eric_Stanfield@kenokozie.com>
Cc: <freebsd-isp@FreeBSD.ORG>
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: <Eric_Stanfield@kenokozie.com>
> > Cc: "alexus" <ml@db.nexgen.com>; <freebsd-isp@FreeBSD.ORG>
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002d01c11f89$efa67a10$0d00a8c0>