Gentoo Archives: gentoo-user

From: Dan Farrell <dan@×××××××××.cx>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Question about /etc/conf.d/net entry
Date: Sat, 03 Feb 2007 00:01:11
Message-Id: 20070202175525.4b1e2116@pascal.spore.ath.cx
In Reply to: Re: [gentoo-user] Question about /etc/conf.d/net entry by Shawn Singh
1 On Fri, 2 Feb 2007 16:51:37 -0500
2 "Shawn Singh" <callmeshawn@×××××.com> wrote:
3
4 > Dan,
5 >
6 > Thanks for the reply. The client is a laptop running Windows XP Home
7 > EditionI'. Server is a tower running Gentoo 2006.1, shorewall 3.0.8.
8 >
9 > The client is setup as follows:
10 > IP address: 192.168.1.2
11 > Netmask: 255.255.255.0
12 > Gateway: 192.168.1.1
13 > DNS: 192.168.1.1
14 >
15 > I've changed my /etc/conf.d/net to:
16 >
17 > # Interface Handler
18 > modules=( "ifconfig" )
19 >
20 > # eth0 (WAN) config
21 > config_eth0=( "dhcp" )
22 >
23 > # eth1 (LAN) config
24 > config_eth1=( "192.168.1.1 netmask 255.255.255.0 broadcast
25 > 192.168.1.255" )
26 for what it's worth, netmask and broadcast will also default to those
27 settings in ifconfig if you set the ip to 192.168.1.x
28
29 > I have all that I need compiled into my kernel
30 > (2.6.19-r1).
31
32 I agree. let's see what happens....
33 --
34 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Question about /etc/conf.d/net entry Shawn Singh <callmeshawn@×××××.com>