From owner-freebsd-isp Sun Jul 22 21:44:29 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 84BBA37B403 for ; Sun, 22 Jul 2001 21:44:24 -0700 (PDT) (envelope-from alexus@usa.com) Received: (qmail 60871 invoked from network); 23 Jul 2001 04:44:27 -0000 Received: from localhost.nexgen.com (HELO alexus) (root@127.0.0.1) by localhost.nexgen.com with SMTP; 23 Jul 2001 04:44:27 -0000 Message-ID: <001501c11332$77c6bbd0$0100a8c0@alexus> From: "alexus" To: "Bob Martin" Cc: References: <002101c112f5$09bb1e70$0100a8c0@alexus> <3B5B48BD.3ED6F4B0@buckhorn.net> Subject: Re: IPs/VHOST/ALIAS/IDENTd/IRC Date: Mon, 23 Jul 2001 00:46:41 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2479.0006 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 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 su-2.05# sysctl net.inet.ip.forwarding net.inet.ip.forwarding: 1 su-2.05# 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.151 ether 00:60:94:a5:cb:44 media: autoselect (100baseTX ) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP su-2.05# i've tryed to change netmask of second ip to .255 instead of .0 but it doesn't seems to help:( and i also checked my forwarding settings, it was already set to 1 ----- Original Message ----- From: "Bob Martin" To: "alexus" Sent: Sunday, July 22, 2001 5:42 PM Subject: Re: IPs/VHOST/ALIAS/IDENTd/IRC > alexus wrote: > > > > Hi > > > > I have 2 IPs on my box > > > > 66.92.98.145 ( oXyeTb.com ) and 66.92.98.151 ( bigballz.com ) > > > > I put both of those IPs into my /etc/rc.conf file > > > > alexus@~# grep fxp0 /etc/rc.conf > > ifconfig_fxp0="inet 66.92.98.145 netmask 255.255.255.0" > > ifconfig_fxp0_alias0="inet 66.92.98.151 netmask 255.255.255.0" > > 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 0xffffff00 broadcast 66.92.98.255 > > ether 00:60:94:a5:cb:44 > > media: autoselect (100baseTX ) status: active > > supported media: autoselect 100baseTX 100baseTX > > 10baseT/UTP 10baseT/UTP > > alexus@~# > > > > so looks like they up and running fine > > > > although I'm having one problem (at least so far) > > > > whenever I'm trying to IRC from my box from my primary IP .145 ( > > oXyeTb.com ) everything seems to be in order > > whenever I'm trying to use my second IP .151 ( bigballz.com ) I can't get on > > IRC at all.. some of IRC server tells me that my ident isn't installed even > > though it *is* installed and I'm being able to logon to same server from my > > first IP just fine > > > > here is prove that i *do* have ident (port 113) running > > > > alexus@~# netstat -ta | grep auth > > tcp4 0 0 *.auth *.* LISTEN > > alexus@~# grep 113 /etc/services | grep tcp > > auth 113/tcp ident tap #Authentication Service > > alexus@~# > > > > is there some special way I need to add any additional IPs or what am I > > doing wrong? > > > > thanks in advance > > > You need to change the netmask of the alias to 255.255.255.255, and make > sure that gateway is enabled. > > You can change the IP with ifconfig, and you can enable the gateway > with: > sysctl -w net.inet.ip.forwarding=1 > > All of this is in the archives 8^) > > bob > -- > But in our enthusiasm, we could not resist a radical overhaul of the > system, in which all of its major weaknesses have been exposed, > analyzed, and replaced with new weaknesses. > -- Bruce Leverett, "Register Allocation in Optimizing Compilers" > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message