04-26-2005
ppass,
You can see how the IPs are assigned via the same mechanism for your primary interface:
# ls /etc/hostname.*
Each file will have a hostname entry which will correlate with the IP address assigned to the physical or virtual interface.
Cheers,
Keith
8 More Discussions You Might Find Interesting
1. Linux
I read somewhere that you can create a fake system32 folder in linux where you can store the most common windows runtime libraries, that way you can install windows programs (using wine) directly in linux, what I meen is that even the installer works.
Does anyone know how I can do this, and where... (2 Replies)
Discussion started by: Kimm
2 Replies
2. Shell Programming and Scripting
Hi, This is possibly an odd request to do with permissions as I seem to have tied myself up with these!
I have the following directory (see below) that contains files that the 'usergrp' user needs to be able to 'delete' files from.
drwxr-s--- 2 usergrp usergrp 512 16 Feb 14:37... (2 Replies)
Discussion started by: Peejay
2 Replies
3. Shell Programming and Scripting
Hi
My script takes input for a hostname.
echo "enter hostname
read hostname
Now I would like to filter the fake inputs.My hostnames always follow same syntax ( abcd123.efgh.ijk.com).
Appreciate everyones suggestions on this..Thanks.. (2 Replies)
Discussion started by: coolkid
2 Replies
4. UNIX for Advanced & Expert Users
Hi there, i have a question to all.
The task is:
Redirect port from local host to remote (datapipe etc.) with faking my ip.
For example, nmap with -S option make fake ip of host it being running.
pic:
->
10.1.1.1:80 ... (1 Reply)
Discussion started by: lecter
1 Replies
5. UNIX for Dummies Questions & Answers
Good morning!
Why would having a fake network device be useful?
Thanks in advance
Bigben (0 Replies)
Discussion started by: bigben1220
0 Replies
6. IP Networking
Thanks in advance!
Ben (1 Reply)
Discussion started by: bigben1220
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am using the below command to send the email.
mailx -s "test from `hostname`" email@gmail.com < attachment.txt
id
uid=870(wlsuser) gid=641(wlsgrp)
I recieve the email as "From: wlsuser@hostname
Can I somehow have any string instead of wlsuser, if that grows too complex to... (4 Replies)
Discussion started by: shifahim
4 Replies
8. Cybersecurity
Dear colleagues,
it's that time of the year again: in recent days and weeks I'm receiving annoying numbers of annoying "support" calls from dubious "MicroSoft Centers" telling me that my computer generates errors and / or downloads malicious SW. Although ignoring these pesterers on the phone,... (8 Replies)
Discussion started by: RudiC
8 Replies
vni(7d) Devices vni(7d)
NAME
vni - STREAMS virtual network interface driver
DESCRIPTION
The vni pseudo device is a multi-threaded, loadable, clonable, STREAMS pseudo-device supporting the connectionless Data Link Provider
Interface dlpi(7P) Style 2. Note that DLPI is intended to interact with IP, meaning that DLPI access to applications is not supported. (For
example, snoop fails on the vni interface.)
The vni device is a software-only interface and does not send or receive data. The device provides a DLPI upper interface that identifies
itself to IP with a private media type. It can be configured via ifconfig(1M) and can have IP addresses assigned to it, making aliases pos-
sible.
The vni pseudo device is particularly useful in hosting an IP address when used in conjunction with the 'usesrc' ifconfig option (see
ifconfig(1M) for examples). The logical instances of the device can also be used to host addresses as an alternative to hosting them over
the loopback interface.
Multicast is not supported on this device. More specifically, the following options return an error when used with an address specified on
vni: IP_MULTICAST_IF, IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP, IPV6_MULTICAST_IF, IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP. In addition, broadcast
is not supported.
Because there is no physical hardware configured below it, no traffic can be received through nor transmitted on a virtual interface. All
packet transmission and reception is accomplished with existing physical interfaces and tunnels. Because applications that deal with packet
transmission and reception (such as packet filters) cannot filter traffic on virtual interfaces, you cannot set up a packet filter on a
virtual interface. Instead, you should configure the policy rules to apply to the physical interfaces and tunnels, and if necessary, use
the virtual IP addresses themselves as part of the rule configuration. Also, note that the virtual interface cannot be part of an IP multi-
pathing (IPMP) group.
FILES
/dev/vni
64-bit ELF kernel driver
SEE ALSO
ifconfig(1M), in.mpathd(1M), ip(7P), ip6(7P)
SunOS 5.10 18 July 2004 vni(7d)