[SunHELP] PROBLEM WITH MULTIPLE ADDRESS PER INTERFACE

Tom Jones sunhelp at sunhelp.org
Sat Mar 31 10:23:06 CST 2001


Have you checked the spelling of Scratch in your /etc/hosts file?
(assuming you've made an entry in hosts for a hostname of
Scratch with the IP address of 192.168.0.36)

It appears that the IP address isn't obtainable from your hosts file which
is why you get all zeroes for the IP address in ifconfig output.

----- Original Message ----- 
From: vid <dcg at seric.es>
To: <sunhelp at sunhelp.org>
Sent: Saturday, March 31, 2001 5:00 AM
Subject: [SunHELP] PROBLEM WITH MULTIPLE ADDRESS PER INTERFACE


> Hi ,
>             i'm trying "to mount" multiple adress per interface in one
> machine
>             and i've done :
> 
> 1)       ifconfig le0:2 plumb
> 2)      ifconfig le0:2 192.168.0.36  up
> 3)      create a "/etc/hostname.le0:2"  and put into the name  "Scratch"
> 
> and i reboot but when  machine start only can say the interface with ip to
> 0.0.0.0 as you can see :
> 
> lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
>         inet 127.0.0.1 netmask ff000000
> le0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
>         inet 192.168.0.37 netmask ffffff00 broadcast 192.168.0.255
>         ether 8:0:20:83:d:40
> le0:2: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
>         inet 0.0.0.0 netmask ffffff00 broadcast 192.168.0.255
> 
> 
> What i'm doing bad ?
> 
> Thanks to help me
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
> 




More information about the SunHELP mailing list