Visit Our UNIX and Linux User Community


HP-UX - how to create virtual interface


 
Thread Tools Search this Thread
Operating Systems HP-UX HP-UX - how to create virtual interface
# 1  
Old 03-12-2002
HP-UX - how to create virtual interface

OS - HP-UX B.10.20 A 9000/777

Anyone know how to set up a virtual interface on HP-UX?

I've looked quickly through docs.hp.com and searched this site. No luck. And my HP Guru is sleeping today.
thehoghunter
# 2  
Old 03-12-2002
Virtual interface? What is that?
# 3  
Old 03-12-2002
Okay - you may know it as a logical interface.

Solaris TCP/IP allows multiple logical interfaces to be associated with a physical network interface. This allows a single machine to be assigned multiple IP addresses, even though it may have only one network interface. (see the {Solaris} ifconfig man page)

Can this be done in HP?

Example of ifconfig output with virtual interface:

# ifconfig -a
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 1 inet 10.140.64.62 netmask fffffc00 broadcast 10.140.67.255 ether 8:0:20:8e:87:4d
hme0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 1 inet 162.47.1.58 netmask ffffff00 broadcast 162.47.1.255

Last edited by thehoghunter; 03-12-2002 at 05:17 PM..
thehoghunter
# 4  
Old 03-12-2002
Oh, starting with HP-UX 11.00 the ifconfig command can do that. As delivered 10.20 cannot. I have heard that HP has a patch for 10.20 that adds an ifalias command that adds this ability in. If you have the patch you will have an ifalias command. If not you will need to ask HP for the patch. I have never assigned multiple ip address to one interface, so this is the limit of my knowledge on this. Poking around HP's fora, I found:
Quote:
The latest ifalias patch for HP-UX 10.20 PHNE_12492 allows Multiple ip's across multiple subnets.
# 5  
Old 03-12-2002
It looks like my system needs a patch.

Thank you for the information.
thehoghunter

Previous Thread | Next Thread
Test Your Knowledge in Computers #980
Difficulty: Easy
Releases of Mac OS X from 1999 to 2005 ran on the Intel-based Macs of that period.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

LPAR missing virtual interface

Note: Newbie to IBM virtualization :-) Query: Created a new AIX7.1 lpar on a system with same config as one before however the new one is having issues going out to physical network. Now on comparison the only thing which differs between these two machines is an additional en1 and ent1 shown... (7 Replies)
Discussion started by: max
7 Replies

2. IP Networking

How to route all incoming packets from one virtual interface?

Hello, I'm trying to route all packets arriving at a particular interface by entering the same interface the virtual interface eth1: 2 and now everything is routed by default gw configured on eth1. eth1 Link encap:Ethernet HWaddr 0a:0e:64:18:52:72 inet addr:192.168.10.15 eth1:2 ... (1 Reply)
Discussion started by: faka
1 Replies

3. IP Networking

Splitting eth0 traffic into two virtual interface

Hello everybody, I have been reading many posts about this topic but I have no figure out how to solve it. I need to split the traffic incoming on eth0 on two other interfaces (for instance one receiving on port 80 and the others on the other interface). I cannot understand how to do that.... (2 Replies)
Discussion started by: nicandro
2 Replies

4. UNIX for Dummies Questions & Answers

Creating a virtual Interface to recieve snmp traps

All, I have a question regarding setting up a virtual interface to recieve snmp traps from network devices. My Solaris 10 server is running the HPOV-NNMi application. The network devices in our environment (many thousands) are all pre-configured to send their snmp traps to a specific IP... (4 Replies)
Discussion started by: turk22
4 Replies

5. AIX

Virtual interface on AIX

Hi, I am totally new to AIX. I would like to know how to create virtual interface on AIX machine. Thanks, Pooja (4 Replies)
Discussion started by: pooja84k
4 Replies

6. IP Networking

assign mac address for virtual interface eth1:0

Hi , by default the physical interface (eth1) and virtual interface eth1:0 will be having same mac address, is there any way we can assign separate mac addresses for both the interfaces. would some one help me out in this. Thanks Gopi (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies

7. Shell Programming and Scripting

virtual interface

How would i create virtual interface in linux to configure more than one IP address for a physical interface? any help wll be appreciated. https://www.unix.com/images/misc/progress.gif (1 Reply)
Discussion started by: salil2012
1 Replies

8. IP Networking

Solaris Virtual Interface Problem in DHCP

Hi all, I am experiencing a problem with dhcp broadcast packages. these broadcast packages are seen on bge1 and bge1:1 interfaces but somehow they are not seen at bge771001 interface which is second virtual interface on the bge1 interface. I have a server on which I configured it as working... (2 Replies)
Discussion started by: ironoxide
2 Replies

9. HP-UX

Traceroute on virtual interface

Hello all, I have configured a virtual interface using ifconfig on HP UX 11.11. When i try to do traceroute with -i option i get * * * from traceroute. i use $traceroute -i lan0:1 my-gateway traceroute to my-gateway (15.70.180.1), 30 hops max, 40 byte packets 1 * * * 2 * * * 30 * *... (2 Replies)
Discussion started by: supersumanth
2 Replies

10. HP-UX

Adding virtual Interface on HP UX

Hello all, I want to add a new virtual interface on HP-UX B.11.11 U 9000/800 box. I know that ifconfig can be used to add the Virtual interface. BUt i do not know the exact syntax. it some times gives plumb error if i try to add # ifconfig vif0 10.1.10.1 up plumb error: No such file... (3 Replies)
Discussion started by: supersumanth
3 Replies

Featured Tech Videos