Solved

cannot configure dmfe1 on Netra X1

Posted on 2003-12-02
9
414 Views
Last Modified: 2013-12-27
Here is the scenario:
Sever: Netra X1
interfaces: dmfe0,dmfe1
dmfe0: is working fine (this interface is connected to internet provider)
dmfe1: not present once the system is up (local lan to share the internet connection)

I'm trying to configure dmfe1 interface on Netra X1.

The system recognizes the dmfe1 interface (boot time), but once the system is up , I can't see the interface
in fact if you type ifconfig -a  the dmfe1 is not
present
The file hostname.dmfe1 exists and the ip address exists in file hosts.

so, if I try to configure the interface using ifconfig I receive "no such interface"

Any idea???

I'm offering all the points I have left.
0
Comment
Question by:cblazque
9 Comments
 
LVL 18

Expert Comment

by:liddler
Comment Utility
when u try and configure dmfe1 what command do you use?
0
 
LVL 18

Expert Comment

by:liddler
Comment Utility
did you plumb it in before u configured it?
ifconfig plumb dmfe1
0
 

Author Comment

by:cblazque
Comment Utility
To liddler:
I didn´t use ifconfig plumb dmfe1, I just used ifconfig dmfe1.....

My question is: shouldn´t do it (ifconfig plumb dmfe1) at boot time??
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 18

Accepted Solution

by:
liddler earned 70 total points
Comment Utility
I think the boot script parses the hosts file, or maybe the /etc/hostname.* files to see which devices to plumb.  I'm not in front of a sun box at the moment to check the rc script.
But once you have your /etc/hostname.dmfe1 & /etc/hosts file set up it should plumb it from the rc script.

If you want to check the script, try
grep plumb /etc/init.d/*
I suspect it will be in a for loop
0
 
LVL 24

Assisted Solution

by:shivsa
shivsa earned 70 total points
Comment Utility
u have /etc/hostname.dmfe1 and ip address for dmfe1 in your /etc/hosts file.
and if u get "no such interface", it means either interface is not plumbed or during plumbing it got some errors.

try
#ifconfig dmfe1 plumb  <--- if it works then move on and configure.
if it give u some problem. then post the error message and messages from /var/adm/messages file for this command.

if it plumb command works then u have to provide ip address/netmask and broadcast address again to make it work.
#ifconfig dmfe1 ip x.x.x.x.  netmask 255.xxx.xxx.x broadcast xx.xx.xx.xx up
0
 
LVL 6

Expert Comment

by:durindil
Comment Utility
Throwing in some "fyi" for ifconfig...

...did you know that using "netmask +" and "broadcast +" will assign the default netmask and broadcast for the first octet's traditional class (A, B, C.)  That would be something good to know if you just happen to be looking at a Solaris 8 Network Administrator certification...
0
 
LVL 24

Expert Comment

by:shivsa
Comment Utility
do u need more help, if u got your answer please close the question.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now