[SunHELP] PROBLEM WITH MULTIPLE ADDRESS PER INTERFACE

Les sunhelp at sunhelp.org
Sat Mar 31 10:56:07 CST 2001


I would suggest that you make contents of hostname.le0:2
be simply an IP address & it should come up fine.
Try that & debug from there, or just leave it.
A bit more maintenance if you do a lot of IP juggle.
Les
----- Original Message -----
From: "Tom Jones" <tjones at statesman.com>
To: <sunhelp at sunhelp.org>
Sent: Saturday, March 31, 2001 10:23 AM
Subject: Re: [SunHELP] PROBLEM WITH MULTIPLE ADDRESS PER INTERFACE


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
>

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp





More information about the SunHELP mailing list