1828277 Members
3610 Online
109975 Solutions
New Discussion

ifconfig question

 
brian_31
Super Advisor

ifconfig question

this is my ifconfig -a

[root@vmhost7 network-scripts]# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6216 errors:0 dropped:0 overruns:0 frame:0
TX packets:6216 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2561813 (2.4 Mb) TX bytes:2561813 (2.4 Mb)

vmnic0 Link encap:Ethernet HWaddr 00:14:5E:23:42:D1
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:52744008 errors:0 dropped:0 overruns:0 frame:0
TX packets:1103425 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3177660071 (3030.4 Mb) TX bytes:1359117615 (1296.1 Mb)
Interrupt:105

vmnic1 Link encap:Ethernet HWaddr 00:14:5E:23:42:D0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:880396797 errors:0 dropped:0 overruns:0 frame:0
TX packets:2106101 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2317023926 (2209.6 Mb) TX bytes:350627357 (334.3 Mb)
Interrupt:105

vmnic2 Link encap:Ethernet HWaddr 00:10:18:19:0D:28
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:52163728 errors:0 dropped:0 overruns:0 frame:0
TX packets:110010 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3791676215 (3616.0 Mb) TX bytes:19933566 (19.0 Mb)
Interrupt:161

vmnic3 Link encap:Ethernet HWaddr 00:10:18:19:0D:27
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:2396510207 errors:0 dropped:0 overruns:0 frame:0
TX packets:1242805438 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3092512675 (2949.2 Mb) TX bytes:795185469 (758.3 Mb)
Interrupt:169

vmnic4 Link encap:Ethernet HWaddr 00:10:18:19:2E:40
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:177

vmnic5 Link encap:Ethernet HWaddr 00:10:18:19:2E:41
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:185

vlmf0 Link encap:Ethernet HWaddr 00:50:56:42:5A:C7
inet addr:69.248.245.178 Bcast:69.248.245.191 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47079555 errors:0 dropped:0 overruns:0 frame:0
TX packets:87842 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3766435607 (3591.9 Mb) TX bytes:45682617 (43.5 Mb)

[root@vmhost7 network-scripts]#

i need to add an ip 10.211.2.138 to one fo the available nic's and configure it. how would i go about doing it? this looks like vmware is this different?

THanks

brian
1 REPLY 1
Andrew Cowan
Honored Contributor

Re: ifconfig question

Brian,

This is indeed VMWare that has created these V-NICs. I have only used it in a Windows environment, however I would gues that "vlmf0" is the real interface. In any event you should be able to see your original bindings in "/etc/rc.config.d/networks" for HP-UX or "/etc/sysconfig/network/scripts/if*" for Redhat Linux.

If you want to add a Virtual-Address to VMWare it must be one of the following:
A NAT'd address that is routed through your real NIC to the outside work.
A private VLAN that can only be seen on this machine.

Can you please provide some more information as the physical config of you machine, an the software you are using?