Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2005 09:34:27 -0800 (PST)
From:      "Amandeep Pannu" <aman@chamkila.org>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        Amandeep Pannu <aman@chamkila.org>
Subject:   Re: Freebsd 5.0 NICs issue
Message-ID:  <41763.69.36.228.194.1111167267.squirrel@69.36.228.194>
In-Reply-To: <200503181647.26346.doconnor@gsoft.com.au>
References:  <44497.69.36.228.194.1110474073.squirrel@69.36.228.194> <20050316221046.GA75292@unixpages.org> <53000.69.36.228.194.1111090664.squirrel@69.36.228.194> <200503181647.26346.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi daniel,

Josseph in this mailing list responded that I can do

ifconfig em1 alias inet 205.229.165.8 netmask 255.255.255.255

Can I?
I need the other NIC for some internal operations.



> On Fri, 18 Mar 2005 06:47, Amandeep Pannu wrote:
>> Now the em0 nic is up with 205.229.165.4 netmask 255.255.255.0
>> ifconfig em1 inet 205.229.165.8 netmask 255.255.255.0 up
>
> You can't have 2 NIC's on the same subnet (you can't have 2 IPs on any NIC
> in
> the same subnet).
>
> Why do you want to do this? If you want an alias you only need 1 NIC and
> you
> do..
>
> ifconfig em0 inet 205.229.165.4 netmask 255.255.255.0
> ifconfig em0 alias inet 205.229.165.8 netmask 255.255.255.255
>
> What is the second NIC going to be used for?
>
> --
> Daniel O'Connor software and network engineer
> for Genesis Software - http://www.gsoft.com.au
> "The nice thing about standards is that there
> are so many of them to choose from."
>   -- Andrew Tanenbaum
> GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
>


-- 
Amandeep.S
aman@chamkila.org
http://aman.chamkila.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41763.69.36.228.194.1111167267.squirrel>