Subject: Re: 2 networccards, DHCP and the same MAC adr. (i am a neebie) ;-)
To: None <port-sparc@netbsd.org>
From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: port-sparc
Date: 04/28/2003 11:44:38
On Mon, Apr 28 2003 at 11:11:04 +0200, Maurizio Caloro wrote:
> i have 2 networccard installed on my SUN Calssic
> and i was where happy with netbsd 1.6, 
> i want now Le0 = statik adress and Le1 Dhcp.
> Now i have installed so fine i can.
> 
> /etc/ifconfig.le0 --> inet 192.168.20.222 netmask 0xffffff00
> /etc/rc.conf      --> auto_ifconfig=YES
> 
> then i make a reboot and the le0 take this ip adress. (yehhhh)
> 
> the oder card its used for DHCP with this  settings file 
> /etc/rc.conf	   --> dhclient=YES
> /etc/dhclient.conf -->
[..]
> now when i boot up both cards become a adress from the 
> dhcp server but i dont want this (ohhh no :-()

Try this in /etc/rc.conf:

dhclient_flags="le1"
-- 
Dies ist Thilos Unix Signature! Viel Spass damit.