ifconfig - information


 
Thread Tools Search this Thread
Operating Systems Linux ifconfig - information
# 1  
Old 07-14-2010
ifconfig - information

Hi All,

I need some info on ifconfig.

ifconfig is available in Linux and Solaris. However the options available in Solaris is not there in Linux.

1. ifconfig -a == output is different in both OS. I am somewhat able to compare the output. But one thing I am not getting is after the flags there are some numbers, can someone please tell me what it is. I tried netstat -i, outputs are again comparable but...

(interface name): flags-1000853(up, broadcast, notra, Running)
inet (ip address) netmask FFFFFF00 broadcast 128.6.7.255


2. The interface name in different systems are different like
eth0, bge0... etc any particular notation is being followed?

3. Options like [-]plumb, deprecated, removeif, moderemove, modelist etc
are availbale in solaris but not in linux. Any idea the quivalent command in
linux?
Can we use the option up and down for plumb and unplumb?

Any info on this will be of great help.
Thanks a lot for your time in advance.

regards,
Ahamed.
# 2  
Old 07-14-2010
Quote:
Can we use the option up and down for plumb and unplumb?
No. they are different commands. Plumb and unplumb are different commands are are not used on GNU/Linux systems since such systems are not STREAMS-based. Plumb opens the device associated with the physical interface name (bge0) and sets up the streams needed by TCP/IP to make use of the device. Unplump destroys the streams associated with the driver and closes the device.

Quote:
2. The interface name in different systems are different like
eth0, bge0... etc any particular notation is being followed?
Yes. Each has its own namespace. Interface names on Solaris include ce, hme, bge, e1000g, ipge, xge and more. bge is the driver for a Broadcom gigabit ethernet NIC.
# 3  
Old 07-15-2010
thanks a lot for the reply murphy...

any other info will be of great help...

what does native stream in unix means?

regards,
Ahamed.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ifconfig Flags

Hi there, I need your help in understanding the below Solaris 10 ifconfig output; athnetspns02>ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0:... (2 Replies)
Discussion started by: wthomas
2 Replies

2. IP Networking

ifconfig problem

Hi all, I am getting some error messages during bootup ifconfig :<hostname> bad address and some more messages related to it. I some how checked the /etc/hostanem.hme0 /etc/hosts file. Entries in these files were proper. If I am running the following command from root: ... (5 Replies)
Discussion started by: amit_sapre
5 Replies

3. IP Networking

/etc/hosts changes when ifconfig......

Hello everyone. Im using last redhat enterprise edition and in my working environment, i'm always reconfiguring both interfaces , eth0 and eth1, everytime i change any interface, (i use ifconfig to change ip, and after i execute "/etc/init.d/network restart") my "/etc/hosts" file... (9 Replies)
Discussion started by: trutoman
9 Replies

4. IP Networking

ifconfig modification

Hi all,,i have problem with my homework form my lecture.. He is give me a homework to create: ifconfig eth0 0.255.255.255 1.1.168.192 my lecture says, i can making the shell scripting to finish my homework.. i have question, can setting ifconfig like in the upper? (1 Reply)
Discussion started by: demhyt
1 Replies

5. Solaris

ifconfig -a not working

Hi All, I logged into a sun microsystems server box, using both a vnc session and a ssh session. I am able to use "ifconfig -a" in a ssh session, but the same on a vnc session says that its a invalid command. how is this possible, when i am logging into the same box through two different... (4 Replies)
Discussion started by: pardhuhere
4 Replies

6. Shell Programming and Scripting

ifconfig!!!!

why the ifconfig command is not working in my machine? it says "-bash: ifconfig: command not found" why its says that? actually i m looking for "how can I know the Network Interface Card physical address?" Requesting u all for help. thanks (3 Replies)
Discussion started by: moco
3 Replies

7. OS X (Apple)

ifconfig

Hi, I type (as root) "ifconfig en1 ether aa:aa: " but it doesnt change the mac of my airport. Can anyone help me? Thx. (0 Replies)
Discussion started by: Jariya
0 Replies

8. UNIX for Dummies Questions & Answers

ifconfig

I am trying to change an IP address on a machine running HPUX10 After I change it I can ping it from the outside but it completely locks the console. After a reboot it returns back to its previous IP. Any ideas?? Thanks Brian (7 Replies)
Discussion started by: breigner
7 Replies

9. HP-UX

HP-UX ifconfig question.

This will most likely be a real dumb question for a HP-UX admin, but here it goes anyhow. lan0 - is up and configured lan1 - is down, I want to bring it up. lanconfig....ifconfig is there a difference? My real question is, in solaris there is an /etc/hostname."?" file, is there a... (4 Replies)
Discussion started by: viRaven
4 Replies

10. UNIX for Dummies Questions & Answers

Why do I have to cd into /sbin to get to ifconfig?

I have to cd into /sbin in order to use ifconfig to check out my network cards. This has only started to happen since I downloaded the last update from RedHat(The machine runs RedHat 8.0). Does anyone know what happened? More importantly, are there any sources that can help me with this... (3 Replies)
Discussion started by: Jody
3 Replies
Login or Register to Ask a Question