Freebsd 5.0 NICs issue

Amandeep Pannu aman at chamkila.org
Fri Mar 18 09:36:06 PST 2005


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 at chamkila.org
http://aman.chamkila.org


More information about the freebsd-hackers mailing list