Configure Network interfaces eri0, eri1

I need configure in my computer Sun Sparc, solaris 9.
two interfaces network:
i need have eri0 and eri1
who is located sysidcfg ??
eandinoAsked:
Who is Participating?
 
Mohan ShivaiahCommented:
Hi eandino,
-You can use the /usr/sbin/sys-unconfig command to undo a system’s configuration.
-You can use the /usr/sbin/sys-unconfig command to restore a system’s configuration to an as-manufactured state, ready to be
  reconfigured again. The system’s configuration includes a host name, NIS
  domain name, time zone, IP address, IP subnet mask, and root password.

 Advanced System Administration for the Solaris™ 9 Operating Environment
 -The sys-unconfig command does the following:
- Saves the current /etc/inet/hosts file information in the
  /etc/inet/hosts.saved file.
  If the current /etc/vfstab file contains Network File System (NFS)
  mount entries, it saves the /etc/vfstab file to the
  /etc/vfstab.orig file.
  Restores the default /etc/inet/hosts file.
  Removes the default host name in the /etc/hostname.xxn files for
  /etc/vfstab.orig file.
  Restores the default /etc/inet/hosts file.
  Removes the default host name in the /etc/hostname.xxn files for
  all configured interfaces.
  Removes the default domain name in the /etc/defaultdomain file.
  Restores the time zone to PST8PDT in the /etc/TIMEZONE file.
  Resets naming services to local files.
  Removes the entries for this host in the /etc/net/tic*/hosts file.
  Removes the /etc/inet/netmasks file.
  Removes the /etc/defaultrouter file for naming services.
  Removes the password set for the root user in the /etc/shadow file.
  Removes the /etc/.rootkey file for NIS+.
  Removes the /etc/resolv.conf file for DNS.

When the sys-unconfig command is finished, it performs a system
shutdown. The sys-unconfig command is a potentially dangerous utility
and can only be run by the root user.

Hope will solve your problem :-)

Cheers,
mohan shivaiah.
0
 
XoFCommented:
assume your system's name is "foo":

echo "foo.eri0" > /etc/hostname.eri0
echo "foo.eri1" > /etc/hostname.eri1

echo "<IP-eri0> foo.eri0" >> /etc/hosts
echo "<IP-eri1> foo.eri1" >> /etc/hosts

/etc/init.d/network stop
/etc/init.d/network start


If you are using subnets, you also have to provide appropriate entries in /etc/netmasks.

HTH,
-XoF-
0
 
eandinoAuthor Commented:
Message after change:
ifconfig: SIOCSLIFNAME for ip: eri1: no such interface
configuring IPv4 interfaces: eri0.
configuring IPv6 interfaces: eri0.
moving addresses from failed IPv4 interfaces: eri1 (couldn´t move, no alternative interface).
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
jekl2000Commented:
do a prtdiag command and see that you have 2 eri's listed
0
 
XoFCommented:
what does
ifconfig -a
report?
0
 
TintinCommented:
What hardware is it?

Could possibly be bge interface, or if it is old hardware, could be something like hme
0
 
eandinoAuthor Commented:
I have make the change who Xof write me!!!
-----------------------------------------------------------------------------------------------------
$ ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.200.202 netmask ffff0000 broadcast 192.168.255.255
lo0: flags=2000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6> mtu 8252 index 1
        inet6 ::1/128
eri0: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
        inet6 fe80::203:baff:feb0:8dea/10
------------------------------------------------------------------------------------------------------
0
 
eandinoAuthor Commented:
how i config the netmask? or verified that the network card is correct installed?
0
 
eandinoAuthor Commented:
how configure the net mask and for eri0 , eri1??
0
 
XoFCommented:
As already written, netmasks are configured via /etc/netmasks.
Nevertheless, There's still no eri1 device. Which model is your system? Do you have onboard interfaces only or do you also have a PCI card? In the latter case, which one?

Regards,

-XoF-
0
 
eandinoAuthor Commented:
I have ha SUN SPARC, SunBlade150, Solaris 9. Two PCI card i have.

Initial when install the solaris 9 i have for default one interface eri0 configured.
But i need configure two interface for two diferent network.

******Initial configuration*******************************************
# netstat -r

Routing Table: IPv4
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.0.0          yacy1b1              U         1      0  eri0
224.0.0.0            yacy1b1              U         1      0  eri0
default              yacy1b1              U         1      0  eri0
localhost            localhost            UH        5     47  lo0

Routing Table: IPv6
  Destination/Mask            Gateway                   Flags Ref   Use   If  
--------------------------- --------------------------- ----- --- ------ -----
fe80::/10                   fe80::203:baff:feb0:8dea    U       1      0 eri0
ff00::/8                    fe80::203:baff:feb0:8dea    U       1      0 eri0
default                     fe80::203:baff:feb0:8dea    U       1      0 eri0
localhost                   localhost                   UH     19    221 lo0
*******************************************************************
¿I nedd identifier mi two interfece?¿It,s eri0 one, and the another is lo0?
0
 
eandinoAuthor Commented:
Initial files:
----------------------------
/etc/Hostname.eri0:
ea01
----------------------------
/etchostname6.eri0:

----------------------------
/etc/hosts:
127.0.0.1        localhost
192.151.190.18       ea01  loghost
----------------------------
0
 
eandinoAuthor Commented:
Mking ha prtdiag:
-----------------------------------------------------------------------------------
pci    33   +s/system-board  pci108e,1101 (network)        SUNW,pci-eri      
                  okay  /pci@1f,0/network@c,1
pci    33   +tem-board/PCI1  pci100b,35 (network)          SUNW,pci-ce        
                  okay  /pci@1f,0/pci@5/network
-----------------------------------------------------------------------------------

In instalation of solaris i have select (eri) to my interface!!!
¿How y config mi second interface?
¿my second interface it´s (ce)?
0
 
XoFCommented:
After inserting PCI-cards, did you do a reconfiguration boot? (boot -r)?
Alternatively, try a
devfsadm
.
Afterwards, what does
ifconfig -a
report now?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.