Solaris ethernet port

Solaris ethernet port

Post by yyla » Tue, 31 Mar 1998 04:00:00



Hi,

I'm working on a sparc machine with a built in Ethernet 10base-T
port and an extra Ethernet card which has a 10base-2 or AUX port.
There are two interfaces preconfigured, namely le0 and le1 which
I presume that they refer to the on board port and the extra
adaptor respectively. I've also edit files hostname.le0,
hostname.le1 and hosts file to configure there name and addresses.

prtconf shows the followings :

System Configuration: Sun Microsystems  sun4m
...
SUNW,SPARCstation-5
....
     ledma, instance #0
         le, instance #0
     ....
     le, instance #1
     ...

Now, when I use ifconfig -a to check the two interfaces, I get
the following output :

lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICASE> mtu 8232
        inet 127.0.0.1 netmask ff000000
le1: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICASE> mtu 1500
        inet 192.168.101.1 netmask ffffff00 broadcast 192.168.101.255
        ether 8:0:20:88:35:2a
le1: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICASE> mtu 1500
        inet 163.37.211.34 netmask ffffffc0 broadcast 163.37.255.255
        ether 8:0:20:88:35:2a

It is strange that the two interfaces have the same ethernet/mac
address,
why ?

Indeed, how can one get the ethernet/mac address of each interface
installed ?

Besides, last week, the hub port connecting the le1 interface got some
problems. I plugged the cable into another port but ping still failed to
reach other machine. Then I reboot the machine, without powering off it,
ping still didn't work. Finally, I shutdown and switch off and on the
machine again, ping is then ok. I got no clue on what is going on, could
somebody help me ?

Thanks.
Jeremy Y.Y.Lai

 
 
 

Solaris ethernet port

Post by Tom Southerlan » Tue, 31 Mar 1998 04:00:00



> Now, when I use ifconfig -a to check the two interfaces, I get
> the following output :

> lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICASE> mtu 8232
>         inet 127.0.0.1 netmask ff000000
> le0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICASE> mtu 1500
>         inet 192.168.101.1 netmask ffffff00 broadcast 192.168.101.255
>         ether 8:0:20:88:35:2a
> le1: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICASE> mtu 1500
>         inet 163.37.211.34 netmask ffffffc0 broadcast 163.37.255.255
>         ether 8:0:20:88:35:2a

> It is strange that the two interfaces have the same ethernet/mac
> address,
> why ?

> Indeed, how can one get the ethernet/mac address of each interface
> installed ?

The system uses the mac address off of the motherboard for all
interfaces by default.  If both interfaces are in the same switch/hub,
you'll need to set the mac address on the second interface with
ifconfig.

  ifconfig le1 ether 8:0:21:88:35:2a

HTH

-ts

 
 
 

Solaris ethernet port

Post by John Kotche » Wed, 01 Apr 1998 04:00:00





<< This post was deleted to preserve our finite amount of bandwidth>>

Quote:> The system uses the mac address off of the motherboard for all
> interfaces by default.  If both interfaces are in the same switch/hub,
> you'll need to set the mac address on the second interface with
> ifconfig.

>   ifconfig le1 ether 8:0:21:88:35:2a

> HTH

> -ts

As an alternative that doesn't require you to place commands in
/etc/rc?.d is to set the EEPROM environment variable local-mac-address?
to TRUE.

So, from the <OK> prompt its:
setenv local-mac-address? TRUE

From the OS its:
eeprom local-mac-address?=TRUE

Then reboot.

That should give discrete MACs for each interface as well.

--
************************************************************
* A goofy Unix and network administration type person      *
* working for a large computer equipment manufacturer and  *
* internet services provider.  Opinions expressed are      *
* those of the writer on good days -- On bad days they're  *
* just ramblings. They AREN'T the opinion of my employer.  *
*                                                          *

************************************************************

 
 
 

Solaris ethernet port

Post by Diego Klabja » Sat, 04 Apr 1998 04:00:00




> > Now, when I use ifconfig -a to check the two interfaces, I get
> > the following output :

> > lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICASE> mtu 8232
> >         inet 127.0.0.1 netmask ff000000
> > le0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICASE> mtu 1500

Hello all,

on AIX there is a system call 'disclaim' that returns the memory to the
OS. Is there something similar on Solaris 5.5.1?

Thanks,
--

Diego

---------------------------------------------------------------------------

Algorithms, Combinatorics,        *   http: akula.isye.gatech.edu/~diego
       and Optimization Program   *   Tel: (404) 894 2366
Georgia Institute of Technology   *   Fax: (404) 894 0390
Atlanta, GA                       *
---------------------------------------------------------------------------

 
 
 

1. Sun4/280 2nd ethernet port supported under solaris 2.1?

Hi,

To my utter astonishment, I just discovered that it looks like that on a
sun4/280, only the on-board ethernet controller (ie0) is supported.
I cannot find support for the second ethernet port (board 501-1153),
and, as far as I can see, it does not work.

I can use 'ifconfig ie1 plumb' which does not complain, but it seems
it never does: neither does it on 'ifconfig ie2 plumb' or 'ifconfig ie3 plumb',
however, assigning an address to these ports does not work.
Looking at /kernel/drv/ie.conf, it looks like only the 4/490 expansion
boards are supported, but these are not used on a 4/280 machine.

I cannot find a warning about this in the release notes.
Does anybody have this working on solaris 2.x? If true, what did you do?

Thanks,

Geert Jan

2. KDE 1.1.2 and kppp problem

3. Dell Latitude Port Replicator SCSI/ethernet ports

4. Installing btld

5. gigabit ethernet performance - Solaris 2.6, gem ethernet driver

6. Problem with Multihoming

7. (make, solaris porting, sybase porting) problem?

8. how can i check the frame relay driver and hdlc driver...

9. How does Solaris Ports relate to PCs COMM-Port?

10. Port scanning Solaris - nmap "filtered" ports and Nessus output

11. Porting from Solaris 2.5.1 to Solaris 2.6

12. Port code from Solaris 7 to Solaris 8?

13. Solaris-to-Linux porting guide and Solaris-to-Linux API checker