08-17-2007
Use ifconfig:
ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.10.8 netmask ffffff00 broadcast 192.168.10.255
ether 0:14:4f:e:87:a4
bash-3.00# ifconfig bge0:1 plumb
bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.10.8 netmask ffffff00 broadcast 192.168.10.255
ether 0:14:4f:e:87:a4
bge0:1: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 0.0.0.0 netmask 0
Now you can change with ifconfig the ip netmask and set the bge0:1 UP
Thats all!
Best regards joerg
10 More Discussions You Might Find Interesting
1. Solaris
How can I assign multicast ip address to my Sun server. I need this configuration to set up weblogic in cluster mode. This setup needs a multicast IP address where the managed servers can broadcast their heartbeats.
Thanks (0 Replies)
Discussion started by: krishan
0 Replies
2. IP Networking
We currently have a Solaris Wks that is being used as an "ftp server" and
it routinely accepts data each night that if ftp'd to it from off site. In the event that this "ftp server" should fail (crash, die, whatever) we would like to have an automatic fail over to a second Solaris Wks as the "ftp... (2 Replies)
Discussion started by: kanejm
2 Replies
3. AIX
I am new to HACMP V5.4 in AIX5.3.Please let me know how to get the virtual IP address configured for a HACMP cluster.
Is this the correct way to identify it?
If i give ifconfig -a the first ip address displayed is the real address of the host.So the other one can be VIP.
Thanks in Advance (3 Replies)
Discussion started by: guru13
3 Replies
4. Solaris
I m having interface ce0 ce1 and its sub interfaces for that.
I want to give MAC addresses for the same.
How will I assign it.
Please give solution for the same (4 Replies)
Discussion started by: sunray
4 Replies
5. IP Networking
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
6. Solaris
hi,
how to assign static ip address to the server having solaris 10. assign static ip to nge0 which will sustain across reboots which will include all settings including gateway setting etc.. (2 Replies)
Discussion started by: pankajd
2 Replies
7. UNIX for Dummies Questions & Answers
Hi guys,
I got one problem which I definetily no idea.
What would the physical address be for virtual address?
1) 2ABC
2) 3F4B
Here is the page table:see attached
Thank you sos sososososso much!! (0 Replies)
Discussion started by: lemon_06
0 Replies
8. Solaris
hi all
i want to set ip address to a vitrual machine i am using following command.
but it is not ifconfig -a command output.
what is wrong i dont know
bash# ifconfig interfacename plumb
bash# ifconfig interfacename auto-dhcp
Please use code tags next time for your code and data. (4 Replies)
Discussion started by: nikhil kasar
4 Replies
9. IP Networking
Hi,
I just want to know whether two MAC address can exist in a adapter..
I mean one there will be mandatory one
And another as user defined one..
Any replies will be more helpful..
Please help..
:wall: (0 Replies)
Discussion started by: Priya Amaresh
0 Replies
10. IP Networking
Hello all,
I am trying to receive (tcp/udp/sctp) traffic from all IPs and, eventually, all ports of an IPv6 address block using as few sockets as possible short of implementing my own network stack.
One possible solution was to associate an IP block to an interface then bind to that... (6 Replies)
Discussion started by: redwil
6 Replies
LEARN ABOUT HPUX
mlockall
mlockall(2) System Calls Manual mlockall(2)
NAME
mlockall() - lock a process virtual address space in memory
SYNOPSIS
DESCRIPTION
The system call allows the calling process to lock its entire virtual address space into memory, making it immune to all routine swapping.
flags may be one or both of the following:
Lock the current process virtual address space.
All addressable pages of the address space are locked.
Lock any future additions to the process virtual address space.
Note that does not imply
or can be used to unlock all or a portion of the address space locked with A single call to removes all locks from the process virtual
address space. An call results in only the specified pages being unlocked.
Regardless of how many times a process locks a page, a single or will unlock it.
When memory is shared by multiple processes and mlocks are applied to the same physical page by multiple processes, a page remains locked
until the last lock is removed from that page.
Locks and applied with are not inherited by a child process.
The user must have the privilege.
Although and the family of functions may be used together in an application, each may affect the other in unexpected ways. This practice
is not recommended.
Security Restrictions
Some or all of the actions associated with this system call require the privilege. Processes owned by the superuser have this privilege.
Processes owned by other users may have this privilege, depending on system configuration. See privileges(5) for more information about
privileged access on systems that support fine-grained privileges.
RETURN VALUE
returns the following values:
Successful completion.
Failure.
The requested operation is not performed. is set to indicate the error.
ERRORS
If fails, is set to one of the following values:
The flags field did not contain either and/or
There is not enough lockable memory in the system
to satisfy the locking request.
The user does not have the
privilege.
EXAMPLES
The following call to locks the entire process virtual address space in memory and ensures that any future additions to the address space
will also be locked in memory:
SEE ALSO
setprivgrp(1M), getprivgrp(2), mlock(2), munlock(2), munlockall(2), plock(2), privileges(5).
STANDARDS CONFORMANCE
mlockall(2)