Visit Our UNIX and Linux User Community


Interfaces and Virtual-interfaces queries


 
Thread Tools Search this Thread
Operating Systems Solaris Interfaces and Virtual-interfaces queries
# 1  
Old 08-24-2012
Interfaces and Virtual-interfaces queries

Hi Al,

In course of understanding networking in Solaris, I have these doubts on Interfaces. Please clarify me. I have done fair research in this site and others but could not be clarified.

1. In the "ifconfig -a" command, I see many interfaces and their configurations. But I see many physiacl interfaces and their virtual interfaces.
Code:
 
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        zone testzone1
        inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.1.32.4 netmask ffffff00 broadcast 10.1.32.255
        groupname IPMP0
        ether 0:14:4f:3c:59:34
e1000g0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        zone testzone1
        inet 10.1.32.9 netmask ffffff00 broadcast 10.1.32.255
e1000g1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 192.168.18.35 netmask ffffff00 broadcast 192.168.18.255
        ether 0:14:4f:3c:59:35
e1000g2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
        inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
        groupname IPMP0
        ether 0:14:4f:3c:59:36

For each interface, I see an IP address. But 10.1.32.4 is the IP I use to connect to this box. So, why do we need other interfaces?
2. We can create 255 virtual interfaces for a physical interface, so why do we need another physical interface if we can use a single interface?
3. Also, in case of disks, we scan and then identify the new disks in 'format' command output. In case of interfaces, is there is any way we do reconfiguration and then see unplumbed new interfaces?

Please excuse my vagueness. One doubt is arising another.

Last edited by satish51392111; 08-24-2012 at 06:29 PM..
# 2  
Old 08-24-2012
Quote:
Originally Posted by satish51392111
So, why do we need other interfaces?
To connect the server to multiple different LANs.
Quote:
We can create 255 virtual interfaces for a physical interface, so why do we need another physical interface if we can use a single interface?
Same as the above.
Quote:
Also, in case of disks, we scan and then identify the new disks in 'format' command output. In case of interfaces, is there is any way we do reconfiguration and then see unplumbed new interfaces?
dladm show-phys (Solaris 11) or dladm show-dev on recent enough Solaris 10 releases. On older releases prtpicl -c network -v

Previous Thread | Next Thread
Test Your Knowledge in Computers #427
Difficulty: Easy
JavaScript supports only explicit delegation.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Virtual Interfaces on Linux

Hi, I have RH Linux system on which we have a 10Gb nic card that we want to configure multiple Virtual interfaces that are all tagged on the switch side. Here is what I am trying to do, I want to have clients from different vlans that are truncked to be able to communicate with my RHEL... (1 Reply)
Discussion started by: new2prog
1 Replies

2. UNIX for Dummies Questions & Answers

Virtual etc interfaces??

So after getting a Nagios plugin up and running that checks certain things including network interfaces, I get an error off the one box I built (as opposed to all of the others that were built by a former employee). The error complains of the "NIC logical group" failing. All the boxes are HP... (7 Replies)
Discussion started by: xdawg
7 Replies

3. Solaris

can't see other interfaces

Hi Guys, I have a Netra240 server with four interfaces. However, when I ran this command dladm show-dev it showed only one interface bge0. Can someone please explain to me how to fix this problem? Thanks guys. (1 Reply)
Discussion started by: cjashu
1 Replies

4. UNIX Desktop Questions & Answers

Could you explain these Interfaces????

Hi friends, I am abit confused regarding these interfaces, hope you could clearify everything, and differentiate between them, with examples? 1. Graphical User Interface(GUI) 2. Text User Interface(TUI) 3. Character User Interface(CUI) 4. Commandline Interface(CLI) 5. Text-based User... (1 Reply)
Discussion started by: gabam
1 Replies

5. Linux

Routing via several interfaces for hosted virtual machines

My setup consists of a hardware node, which hosts several virtual machines (OpenVZ, to be precise). The hardware node has two network interfaces (<ifA>, <ifB>) connected to different subnets (<networkA>, <networkB>). I want to route the traffic of certain VEs over <ifB> while routing the other VEs... (0 Replies)
Discussion started by: bakunin
0 Replies

6. Solaris

Adding multiple virtual interfaces on a non global zone.

Hello All, I have a requirement to add multiple virtual interfaces on a non-global zone (Solaris 10). The global zone is a 2 node Veritas Cluster Server. So, my question is do we have to make any modifications to the cluster config (which I think should not be the case)? Can anyone help with me... (11 Replies)
Discussion started by: mahive
11 Replies

7. Solaris

Network Interfaces

I got second IOU in my M5000 but not able bring internal network interfcae .. ike i don't get link on those 2 interfaces .. and the same network cable plugged in PCI network card it works like a charm Is there any special way to enable the internal IOU interfaces or i have bad nics ? (8 Replies)
Discussion started by: fugitive
8 Replies

8. Solaris

Interfaces Sol9

this is more of a curious question. I have a jumpstart server i imaged from a laptop. And in /etc/there are multiple hostname.ce0:1-2-3 etc.. entries. in that file each one has name similar to this jumpr_koc jumpr_poc etc.. Also i noticed my netmasks file has all the subnets we use. and finally my... (2 Replies)
Discussion started by: deaconf19
2 Replies

9. Solaris

Interfaces do not failover

Would anyone know why a V440 Solaris 9 machine's interfaces (ce0 and ce1) will not failover? Both interfaces are on the same subnet, but different IPs. I can pull the plug on once interface (ce0) and ce1 will be accessible. I can reverse it and pull ce1, and ce0 will NOT be accessible. ... (5 Replies)
Discussion started by: StorageGuy
5 Replies

10. UNIX for Dummies Questions & Answers

interfaces

Hello, which network interface i must sellect during the solaris9 installation le0 or hme0 ? this system is part of the network, it is a standalone system and is not on any domain. thanks for your help, em (1 Reply)
Discussion started by: emsakopa
1 Replies

Featured Tech Videos