The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM


IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
which is my ethernet card ? Puntino UNIX for Dummies Questions & Answers 2 04-27-2008 09:58 AM
ethernet card dhlopomo IP Networking 1 12-27-2007 09:50 AM
Quad Ethernet hshapiro SUN Solaris 5 09-25-2007 06:10 PM
Add PCI ethernet card? Jwoollard AIX 2 02-06-2005 05:23 AM
ethernet card for Solaris i2admin Filesystems, Disks and Memory 3 06-27-2002 06:33 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-02-2001
Registered User
 

Join Date: Apr 2001
Posts: 36
Question Quad Fast Ethernet Card on Sparc 10?

I am having a problem getting my configuration to stick. After I installed my quad-card I did the following:

1. created hostname.qe0, hostname.qe1, hostname.qe2, hostname.qe3 files in my /etc directory.

2. In my /etc/hosts file I added the ip address of each interface and the name for each interface :
216.32.55.67 ext
65.3.2.1 dmz
10.10.10.1 int
172.1.1.1 net

3. In each hostname.qe file I added the hostname associated with each interface.

4. From a terminal I did the following:
ifconfig qe0 216.32.55.67 up
ifconfig qe1 65.3.2.1 up
ifconfig qe2 10.10.10.1 up
ifconfig qe3 172.1.1.1 up


***After I do all this it works fine

~~~Once I reboot my machine....it loses all of the settings for the Quad-Card.

Have any of you ever run into this or am I doing anything noticibly
wrong? Any help on this would be great.

Thanks,
Jeff
Reply With Quote
Forum Sponsor
  #2  
Old 10-02-2001
rwb1959's Avatar
Registered User
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
I think you need to edit a file(s) in /etc/rc2.d to add the static
info. I don't have access to s SUN box at the moment
but I think it may have the name S168staticroute
but I can't be sure.
Reply With Quote
  #3  
Old 10-24-2001
doeboy's Avatar
Registered User
 

Join Date: Oct 2001
Location: Here
Posts: 137
Did you make sure the hostname for each respective interface is contained in each hostname.qex file?

BTW... That is a Quad-Ethernet card. Quad-Fast Ethernet cards are identified as qfe. (Just in case you bought a card thinking it was qfe and not getting 100mbit)
Reply With Quote
  #4  
Old 10-24-2001
Registered User
 

Join Date: Oct 2001
Location: Phoenix, AZ
Posts: 15
The problem is that your ifconfig command puts the information into memory. This will hold until your either restart the services, or reboot.

To make the changes "stick" you will need to put the information into the config file.

For HP-UX that file is

/etc/rc.config.d/netconf

Post what OS you are using (if not HP-UX) and maybe someone
can let you know which file you need to edit.
Reply With Quote
  #5  
Old 10-25-2001
doeboy's Avatar
Registered User
 

Join Date: Oct 2001
Location: Here
Posts: 137
For SUN, what I previously posted should get you going.
Reply With Quote
  #6  
Old 09-26-2002
Registered User
 

Join Date: Sep 2002
Posts: 2
Hallo to everybody,
Sorry, but I need a quick info about the file to edit on SUN, under /etc to "stick" the info into the config file.
Thank you very much
Bye
Enzo
Reply With Quote
  #7  
Old 09-26-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Create a file in /etc with the following type of info:

file name
hostname.hmex where x is the interface number
hostname.qfex
hostname.lex

You have to know which interface type you have - grep them from the dmesg command

contents of file
xxx.xxx.xxx.xxx where xxx is your IP number OR
put the hostname in there but it must be /etc/hosts


Read the man pages for:
ifconfig
netmasks (section 4)
hosts (section 4)
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:59 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0