03-02-2009
Doubt
How would i create virtual interface in linux to configure more than one IP address for a physical interface?
any help wll be appreciated.
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can i use the shell script like this? When i am running the script it is hanging not giving me any output. I can redirect the output and then i can do the manipulations also but why this one is wrong. I am confused we can do like this or not..
#!/usr/bin/ksh
for line in `top`
do... (2 Replies)
Discussion started by: namishtiwari
2 Replies
2. UNIX for Advanced & Expert Users
in my parition i hav parition like this
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 24G 22G 756M 97% /
/dev/sda5 248G 1.2G 234G 1% /else
/dev/sda1 965M 24M 892M 3% /boot
tmpfs 7.0G 0 7.0G 0%... (1 Reply)
Discussion started by: ponmuthu
1 Replies
3. UNIX for Dummies Questions & Answers
Hi ,
Struck with one basic question.
Iam expecting word count of 4 where "wc" is showing as 5 .
# echo "abcd" | wc
1 1 5
# echo abcd | wc
1 1 5 (5 Replies)
Discussion started by: penchal_boddu
5 Replies
4. Shell Programming and Scripting
Hi,
I have a file with multiple entries and I have calculated the percentages. Now I want to know how many of my entries are there between 1-10% 11-20% and so on..
chr1_14401_14450 0.211954217888936
chr1_14451_14500 1.90758796100042
chr1_14501_14550 4.02713013988978... (1 Reply)
Discussion started by: Diya123
1 Replies
5. Red Hat
How to create a file with specific size in RHEL6 (1 Reply)
Discussion started by: Sashi Kanth A
1 Replies
6. Shell Programming and Scripting
Hi experts,
In one of our code we have used some command like this.
name=${name##*/}
Can someone please let me know what exactly it does?
Thanks & Regards,
Sathya V. (1 Reply)
Discussion started by: Sathya83aa
1 Replies
7. UNIX for Beginners Questions & Answers
in my shell script requirement is to search and replace the file with variable so i use the following command sed -i "s/abc/$SCHEMA/g" table.sql
later when the script runs sqlplus username/pwd@Table& this & is not letting the variable to replace the value inside the file .please let me know... (1 Reply)
Discussion started by: bhuvan1
1 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)