11-03-2003
1) put a hostname in your hosts file.
2) put a hostname in /etc/hostname.hme0:1
3) plumb the new interface
4) assign it an IP and bring the interface up.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello,
I would like to know if there is a command or any configuration file to find and differentiate the Virtual IP Addresses (of the Cluster Resource Group) and the IP Address of the Cluster Node. I observe that the ifconfig -a command returns all the IP addresses configured on the ... (1 Reply)
Discussion started by: vineetd
1 Replies
2. IP Networking
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
3. UNIX for Dummies Questions & Answers
Not really a newbie, but I have a strange problem and I'm not sure how to further troubleshoot it.
I have to log out of a virtual terminal by typing exit, then exit again as in:
woodnt@toshiba-laptop ~ $ exit
logout
woodnt@toshiba-laptop ~ $ exit
logout
I DON'T have to do this when I'm... (1 Reply)
Discussion started by: Narnie
1 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I am new to Linux kernel/user space programming having been an assembly programmer in my previous life. I am now using 2.6.x kernel on an embedded CPU that has a few dedicated hardware blocks (including more CPU running just C-code, i.e., no operating system).
There is a single DRAM... (1 Reply)
Discussion started by: agaurav
1 Replies
5. UNIX for Dummies Questions & Answers
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
6. Shell Programming and Scripting
So I'm new to this sed command and I am trying to create a script that replaces ip addresses when I name a file but can't tweak it to work.
Here is what it looks like:
#!/bin/bash
#
file=$1
#
sed -e 's/-CPUaddr 10.30.10.166/-CPUaddr 10.30.10.151/g' -i "$file"
sed -e 's/-CPUaddr... (10 Replies)
Discussion started by: uradunce
10 Replies
7. Solaris
Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12).
I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies
8. Red Hat
am try to create another network card as virtual eth0:1
but when i restart the server it want be appear i have to create it again what is the solution for this . (6 Replies)
Discussion started by: leganti
6 Replies
9. UNIX for Beginners Questions & Answers
Hi All,
Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines?
Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Discussion started by: SanjayK
0 Replies
LEARN ABOUT OPENSOLARIS
sppptun
sppptun(1M) System Administration Commands sppptun(1M)
NAME
sppptun - PPP tunneling driver utility
SYNOPSIS
sppptun plumb
sppptun plumb protocol device
sppptun unplumb interface
sppptun query
DESCRIPTION
The sppptun utility is used to configure and query the Solaris PPP tunneling device driver, /dev/sppptun. Currently, only PPP over Ether-
net (PPPoE) is supported, so the plumb and unplumb arguments are used to specify Ethernet interfaces that are to be used for PPPoE, and the
query option lists the plumbed interfaces.
The use of sppptun to add interfaces is similar to the use of ifconfig(1M) to add interfaces to IP. The plumbing is done once for each
interface, preferably at system start-up time, and is not normally manipulated on a running system. If multiple instances of PPP are run
over a single interface, they share the plumbing to that interface. Plumbing for each session is not required (and not possible for PPPoE).
The proper way to plumb interfaces for PPPoE is to list the interfaces, one per line, in the /etc/ppp/pppoe.if file.
USAGE
sppptun plumb
When specified with no additional arguments, the plumb argument lists the protocols that are supported by the utility. These are the
strings that are used as the protocol argument below.
sppptun plumb protocol device
This plumbs a new interface into the driver. The protocol parameter is pppoe for the PPP-carrying "Session Stage" connection or pppoed
for the PPPoE "Discovery Stage" connection. Both connections must be present for each Ethernet interface that is to be used for PPPoE.
The device parameter is the path name of the Ethernet interface to use (use ifconfig(1M) to list available devices). If the path begins
with /dev/, then this portion may be omitted.
sppptun unplumb interface
This removes an existing interface from the driver and terminates any PPP sessions that were using the interface. The interface parame-
ter is the name of the interface as reported when the interface was plumbed.
sppptun query
Displays the canonical names of all interfaces plumbed into the /dev/sppptun device driver.
EXAMPLES
Example 1 Setting up to Use PPPoE on hme0
Plumb the hme0 interface.
# sppptun plumb pppoed hme0
hme0:pppoed
# sppptun plumb pppoe hme0
hme0:pppoe
Remove the hme0 interface.
# sppptun unplumb hme0:pppoed
# sppptun unplumb hme0:pppoe
Example 2 Script to Remove All Plumbed Interfaces
#!/bin/sh
for intf in `sppptun query`
do
sppptun unplumb $intf
done
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 One or more errors occurred.
FILES
/etc/ppp/pppoe.if list of Ethernet interfaces to be plumbed at boot time
/usr/sbin/sppptun executable command
/dev/sppptun Solaris PPP tunneling device driver
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpppdt |
+-----------------------------+-----------------------------+
SEE ALSO
pppd(1M), pppoec(1M), pppoed(1M), sppptun(7M)
RFC 2516, Method for Transmitting PPP Over Ethernet (PPPoE), Mamakos et al, February 1999
SunOS 5.11 19 Mar 2001 sppptun(1M)