Gentoo Archives: gentoo-user

From: Neil Walker <neil@×××××××.nu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to dhcp to a specific address, and thank you
Date: Mon, 24 Sep 2007 10:37:20
Message-Id: 46F78F69.40803@ep.mine.nu
In Reply to: [gentoo-user] How to dhcp to a specific address, and thank you by "Alan E. Davis"
1 Alan E. Davis wrote:
2 > My QUESTION: I connect two machines at home to a wireless router, with
3 > my IP number a local one, assigned by the router. Is it reasonable to
4 > set this up so my main home machine has the same IP number always, so
5 > I can set up other machines to print over the local wireless net?
6
7 Yes, of course you can. You can either set it up with a static address
8 in /etc/conf.d/net with something like:
9
10 config_ath0=( "192.168.1.2" )
11 routes_ath0=( "default via 192.168.1.1" )
12
13 substituting whatever is appropriate for your interface and addresses or
14 you can configure the router to always give the same IP address to the
15 MAC address of your main machine.
16
17 Be lucky,
18
19 Neil
20
21
22 --
23 This message has been scanned for viruses and
24 dangerous content by MailScanner, and is
25 believed to be clean.
26
27
28 --
29 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] How to dhcp to a specific address, and thank you Mick <michaelkintzios@×××××.com>