![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here. |
|
|
||||
| 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 08:50 AM |
| Quad Ethernet | hshapiro | SUN Solaris | 5 | 09-25-2007 06:10 PM |
| Add PCI ethernet card? | Jwoollard | AIX | 2 | 02-06-2005 04:23 AM |
| ethernet card for Solaris | i2admin | Filesystems, Disks and Memory | 3 | 06-27-2002 06:33 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
|||
|
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. |
|
||||
|
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) |
||||
| Google The UNIX and Linux Forums |