From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HDP2j-0001WL-Dv for garchives@archives.gentoo.org; Sat, 03 Feb 2007 17:51:18 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l13Ho9bv029482; Sat, 3 Feb 2007 17:50:09 GMT Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l13Hk3V5024878 for ; Sat, 3 Feb 2007 17:46:04 GMT Received: by wx-out-0506.google.com with SMTP id i30so1816961wxd for ; Sat, 03 Feb 2007 09:46:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=TtP5jTFNgM0G3lm1c8oMDhoflC9pwkE1RE7gyYdgiJX2BAbptsVD0SzsLN70mJSPR1RIIIgPL5AaKirqyVd6hh+ezmQlRsJjQLe2jDxKKKXYLmwFtpbuoTs8wmspJd6RGDaXFyN0bshVm1NhrbmwTMLwMADJ0Y/sx7ix8Svskt0= Received: by 10.90.52.2 with SMTP id z2mr6745987agz.1170524763677; Sat, 03 Feb 2007 09:46:03 -0800 (PST) Received: by 10.90.100.19 with HTTP; Sat, 3 Feb 2007 09:46:03 -0800 (PST) Message-ID: <7225537e0702030946i539055d1i9818d3a0cd5155c6@mail.gmail.com> Date: Sat, 3 Feb 2007 12:46:03 -0500 From: "Shawn Singh" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Question about /etc/conf.d/net entry In-Reply-To: <20070202175525.4b1e2116@pascal.spore.ath.cx> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_36320_12038129.1170524763648" References: <7225537e0702020907w1598350erf823adc50fe56fc9@mail.gmail.com> <20070202150401.4bc336ce@pascal.spore.ath.cx> <7225537e0702021351g32cb65edy78761640bf4d9f42@mail.gmail.com> <20070202175525.4b1e2116@pascal.spore.ath.cx> X-Archives-Salt: 4adf3c6a-fcd0-43c9-9356-985c2db07190 X-Archives-Hash: dda2df31788a28a83ddc2b52c290d809 ------=_Part_36320_12038129.1170524763648 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Dan, The cable checked out. I used it to hookup my work laptop with the other laptop I was using as my client, and was able to ping each host. The fact that I had no link made me curious ... and I realized it made user error ... I was "SURE" that I verified the NIC I was plugging into was eth1, as I've got 3 NICs in the machine ... the one with no link is really eth2 ... not eth1 ... I plugged into the correct interface, and (perhaps) needless to say, my client is now seeing the gateway and the gateway sees the client. Thanks for the pointers on my config. They helped me ensure that I had my machine setup properly! Thanks, Shawn On 2/2/07, Dan Farrell wrote: > > On Fri, 2 Feb 2007 16:51:37 -0500 > "Shawn Singh" wrote: > > > Dan, > > > > Thanks for the reply. The client is a laptop running Windows XP Home > > EditionI'. Server is a tower running Gentoo 2006.1, shorewall 3.0.8. > > > > The client is setup as follows: > > IP address: 192.168.1.2 > > Netmask: 255.255.255.0 > > Gateway: 192.168.1.1 > > DNS: 192.168.1.1 > > > > I've changed my /etc/conf.d/net to: > > > > # Interface Handler > > modules=( "ifconfig" ) > > > > # eth0 (WAN) config > > config_eth0=( "dhcp" ) > > > > # eth1 (LAN) config > > config_eth1=( "192.168.1.1 netmask 255.255.255.0 broadcast > > 192.168.1.255" ) > for what it's worth, netmask and broadcast will also default to those > settings in ifconfig if you set the ip to 192.168.1.x > > > I have all that I need compiled into my kernel > > (2.6.19-r1). > > I agree. let's see what happens.... > -- > gentoo-user@gentoo.org mailing list > > -- "Doing linear scans over an associative array is like trying to club someone to death with a loaded Uzi." Larry Wall ------=_Part_36320_12038129.1170524763648 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Dan,

The cable checked out. I used it to hookup my work laptop with the other laptop I was using as my client, and was able to ping each host. The fact that I had no link made me curious ... and I realized it made user error ... I was "SURE" that I verified the NIC I was plugging into was eth1, as I've got 3 NICs in the machine ... the one with no link is really eth2 ... not eth1 ... I plugged into the correct interface, and (perhaps) needless to say, my client is now seeing the gateway and the gateway sees the client.

Thanks for the pointers on my config. They helped me ensure that I had my machine setup properly!

Thanks,

Shawn

On 2/2/07, Dan Farrell <dan@spore.ath.cx> wrote:
On Fri, 2 Feb 2007 16:51:37 -0500
"Shawn Singh" <callmeshawn@gmail.com> wrote:

> Dan,
>
> Thanks for the reply. The client is a laptop running Windows XP Home
> EditionI'. Server is a tower running Gentoo 2006.1, shorewall 3.0.8.
>
> The client is setup as follows:
> IP address: 192.168.1.2
> Netmask:    255.255.255.0
> Gateway:     192.168.1.1
> DNS:          192.168.1.1
>
> I've changed my /etc/conf.d/net to:
>
> # Interface Handler
> modules=( "ifconfig" )
>
> # eth0 (WAN) config
> config_eth0=( "dhcp" )
>
> # eth1 (LAN) config
> config_eth1=( "192.168.1.1 netmask 255.255.255.0 broadcast
> 192.168.1.255" )
for what it's worth, netmask and broadcast will also default to those
settings in ifconfig if you set the ip to 192.168.1.x

>  I have all that I need compiled into my kernel
> (2.6.19-r1).

I agree.  let's see what happens....
--
gentoo-user@gentoo.org mailing list




--
"Doing linear scans over an associative array is like trying to club someone to death with a loaded Uzi."
Larry Wall ------=_Part_36320_12038129.1170524763648-- -- gentoo-user@gentoo.org mailing list