Date: Wed, 9 Aug 2000 12:54:10 -0400 From: Nick Evans <nevans@nextvenue.com> To: 'Charlie' <charlie@infoworks.net>, Peter <peter@wirelesssecurity.org>, freebsd-questions@freebsd.org Subject: RE: Problems: identd not working on sec ip HELP!!!!!!!!! Message-ID: <712384017032D411AD7B0001023D799B33B20B@sn1exchmbx.nextvenue.com>
index | next in thread | raw e-mail
[-- Attachment #1 --] http://www.elfqrin.com/docs/hakref/Mixter/IP_subnets.html -----Original Message----- From: Charlie [mailto:charlie@infoworks.net] Sent: Saturday, August 09, 2008 11:58 AM To: Peter; freebsd-questions@freebsd.org Subject: Re: Problems: identd not working on sec ip HELP!!!!!!!!! On 9 Aug 00, at 7:32, Peter wrote: > I have a little problems with identd. I uncomment it on inetd.conf and it > running great on my main ip, but it doens't run on my other ips i have on > the box. The way i set up the other ip is my alias on rc.conf I only got 1 > nic on the box but have 2 ips on it. the first one identd work fine on it > but i can't get the sec ip to work. I tried bother oidentd and pidented. > Plz help > > Yes i did read all the man on both of them. Nothing seem to work could > somone offer some suggestions ? > > Maybe I added the sec ip wrong would somone suggest the right way of doing > it. > The way i did it was in rc.config i added this > 192.168.10.97 is my primary ip > that is where my named running off of > 192.168.10.91 is my sec ip i added myself > The box is sitting behind a firewall > > both host name that are on the box is sitting on the named on the firewall > or outside of it > > > > > # -- sysinstall generated deltas -- # > ifconfig_xl0="inet 192.168.10.97 netmask 255.255.255.0" > ifconfig_xl0_alias0="inet 192.168.10.91 netmask 0xffffffff" Hmm... check your netmask on the alias line in /etc/rc.conf... do you really mean for it be /32? Although you *can* write your netmask in hex (0xffffffff), the dotted-quad equivelant is 255.255.255.255, which leaves little room for other hosts on that network. As it is an alias for your regular /24 address on xl0, in most cases I'd guess you should be using 255.255.255.0 for your netmask, or 0xffffff00, if you prefer hex. Perhaps someone on the list knows of a tutorial you could read on subnetting? Hope this helps, -Charlie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2652.35"> <TITLE>RE: Problems: identd not working on sec ip HELP!!!!!!!!!</TITLE> </HEAD> <BODY> <P><FONT SIZE=2><A HREF="http://www.elfqrin.com/docs/hakref/Mixter/IP_subnets.html" TARGET="_blank">http://www.elfqrin.com/docs/hakref/Mixter/IP_subnets.html</A></FONT> </P> <BR> <P><FONT SIZE=2>-----Original Message-----</FONT> <BR><FONT SIZE=2>From: Charlie [<A HREF="mailto:charlie@infoworks.net">mailto:charlie@infoworks.net</A>]</FONT> <BR><FONT SIZE=2>Sent: Saturday, August 09, 2008 11:58 AM</FONT> <BR><FONT SIZE=2>To: Peter; freebsd-questions@freebsd.org</FONT> <BR><FONT SIZE=2>Subject: Re: Problems: identd not working on sec ip HELP!!!!!!!!!</FONT> </P> <BR> <P><FONT SIZE=2>On 9 Aug 00, at 7:32, Peter wrote:</FONT> </P> <P><FONT SIZE=2>> I have a little problems with identd. I uncomment it on inetd.conf and it</FONT> <BR><FONT SIZE=2>> running great on my main ip, but it doens't run on my other ips i have on</FONT> <BR><FONT SIZE=2>> the box. The way i set up the other ip is my alias on rc.conf I only got 1</FONT> <BR><FONT SIZE=2>> nic on the box but have 2 ips on it. the first one identd work fine on it</FONT> <BR><FONT SIZE=2>> but i can't get the sec ip to work. I tried bother oidentd and pidented.</FONT> <BR><FONT SIZE=2>> Plz help</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> Yes i did read all the man on both of them. Nothing seem to work could</FONT> <BR><FONT SIZE=2>> somone offer some suggestions ?</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> Maybe I added the sec ip wrong would somone suggest the right way of doing</FONT> <BR><FONT SIZE=2>> it.</FONT> <BR><FONT SIZE=2>> The way i did it was in rc.config i added this</FONT> <BR><FONT SIZE=2>> 192.168.10.97 is my primary ip</FONT> <BR><FONT SIZE=2>> that is where my named running off of</FONT> <BR><FONT SIZE=2>> 192.168.10.91 is my sec ip i added myself</FONT> <BR><FONT SIZE=2>> The box is sitting behind a firewall</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> both host name that are on the box is sitting on the named on the firewall</FONT> <BR><FONT SIZE=2>> or outside of it</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> # -- sysinstall generated deltas -- #</FONT> <BR><FONT SIZE=2>> ifconfig_xl0="inet 192.168.10.97 netmask 255.255.255.0"</FONT> <BR><FONT SIZE=2>> ifconfig_xl0_alias0="inet 192.168.10.91 netmask 0xffffffff"</FONT> </P> <P><FONT SIZE=2>Hmm... check your netmask on the alias line in /etc/rc.conf... do </FONT> <BR><FONT SIZE=2>you really mean for it be /32? Although you *can* write your </FONT> <BR><FONT SIZE=2>netmask in hex (0xffffffff), the dotted-quad equivelant is </FONT> <BR><FONT SIZE=2>255.255.255.255, which leaves little room for other hosts on that </FONT> <BR><FONT SIZE=2>network. As it is an alias for your regular /24 address on xl0, in </FONT> <BR><FONT SIZE=2>most cases I'd guess you should be using 255.255.255.0 for your </FONT> <BR><FONT SIZE=2>netmask, or 0xffffff00, if you prefer hex. Perhaps someone on the </FONT> <BR><FONT SIZE=2>list knows of a tutorial you could read on subnetting?</FONT> </P> <P><FONT SIZE=2>Hope this helps,</FONT> <BR><FONT SIZE=2>-Charlie</FONT> </P> <BR> <BR> <BR> <P><FONT SIZE=2>To Unsubscribe: send mail to majordomo@FreeBSD.org</FONT> <BR><FONT SIZE=2>with "unsubscribe freebsd-questions" in the body of the message</FONT> </P> </BODY> </HTML>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?712384017032D411AD7B0001023D799B33B20B>
