VDE_TUNCTL(8) System Manager's Manual VDE_TUNCTL(8)NAME
vde_tunctl -- create and manage persistent TUN/TAP interfaces
SYNOPSIS
vde_tunctl [-f tun-clone-device] [-u owner] [-t device-name]
vde_tunctl [-f tun-clone-device] -d device-name
DESCRIPTION
vde_tunctl allows the host sysadmin to preconfigure a TUN/TAP device for use by a particular user. That user may open and use the device,
but may not change any aspects of the host side of the interface.
vde_tunctl is a simple copy of tunctl done for practical purposes.
USAGE
To create an interface for use by a particular user, invoke tunctl without the -d option:
# vde_tunctl -u someuser
Set 'tap0' persistent and owned by uid 500
Then, configure the interface as normal:
# ifconfig tap0 192.168.0.254 up
# route add -host 192.168.0.253 dev tap0
# bash -c 'echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp'
# arp -Ds 192.168.0.253 eth0 pub
To delete the interface, use the -d option:
# vde_tunctl -d tap0
Set 'tap0' nonpersistent
SEE ALSO vde_switch(1)vde_plug2tap(1)AUTHOR
tunctl was written by Jeff Dike jdike@karaya.com
This manual page is based on tunctl manual page written by Matt Zimmerman mdz@debian.org for the Debian GNU/Linux system.
VDE_TUNCTL(8)
Check Out this Related Man Page
IPX_CMD(8) System Manager's Manual IPX_CMD(8)NAME
ipx_cmd - bridge between Novell's SCMD driver and local IPX network
SYNOPSIS
ipx_cmd -A server name [ -l local interface name ]
DESCRIPTION
ipx_cmd moves packets from tapN to server and vice versa. It is something like IPX Tunnel, but it uses Novell Netware 5 server Compatibil-
ity Mode Driver (AKA Migration Agent) on the other end of wire. You must first configure your kernel tapN device with IPX EthernetII frame
and with network number set up on server (you can use kernel autodetection).
OPTIONS -A server name
This is IP name of compatibility mode server. You can use DNS name or dotted quad to specify server address.
-l local interface name
This allows you to specify, which of your IP addresses should be used as IP address of client side of CMD driver. You must configure
your tapN device with hardware address 7E:01:AA:BB:CC:DD, where AA:BB:CC:DD is your IP address in hexa.
EXAMPLE
If you are on server platan.vc.cvut.cz (147.32.240.81) and your migration agent runs on server boris.vc.cvut.cz, you can configure your
system with:
insmod ethertap
ifconfig tap0 hw ether 7E:01:93:20:F0:51 up
ipx_interface add -p tap0 EtherII
ipx_cmd -A boris.vc.cvut.cz -l 147.32.240.81 &
BUGS
This program was written to satisfy my own needs and should be really improved. At least it should configure tap interface itself.
AUTHOR
Petr Vandrovec <vandrove@vc.cvut.cz>
ipx_cmd IPX Utilities IPX_CMD(8)
my actual default gatewas IP is:
default 192.168.11.254
and I need to change it to 192.168.11.2, I'm using Solaris 9, how can i do it? and how i can save it in case that the machine restart and have the new default gateway IP saved? (5 Replies)
first i have pre-define some variable, then input those into a for statement for some process, finally, i want to get a new value out of it.
A=192.168.16.1
B=192.168.32.1
C=192.168.64.1
for i in A B C
do
echo $i | nawk -F. '{ if ($3 > 16 and < 32) ....something like that, then ( $i=... (7 Replies)
# cat test
mpath0:253:8:L--w:0:1:2:mpath-2000b080008002158
mpath19:253:7:L--w:0:1:1:mpath-2000b080013002158
mpath21:253:9:L--w:0:1:0:mpath-2000b080015002158
mpath18:253:6:L--w:0:1:1:mpath-2000b080012002158
mpath12:253:1:L--w:0:1:2:mpath-2000b080009002158
#
The above is the i/p and the... (3 Replies)
Hi guys,
I'm looking for a script to extract the IP address reported by the command:
$> ping -c 1 192.168.1.254
PING 192.168.192.254 (192.168.192.254) 56(84) bytes of data.
64 bytes from 192.168.192.254: icmp_seq=1 ttl=64 time=139 ms
--- 192.168.192.254 ping statistics ---
1 packets... (8 Replies)
Hi all,
I am working on TUN/TAP for tunnelling IP packets from the application to the network.
I am able to open the tun device and assign the IP address to tun0. The steps I followed are given,
1. Opened the tun device /dev/net/tun
2. Assigned a IP address to the tun0 using ifconfig... (5 Replies)
This is my situation
DOS pc serial cable (sl0) Linux Pc eth1
192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router)
I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface.
... (3 Replies)
Hi there,
suppose I have a line that looks like this:
and I want it to look like that:
The first line is already the output of a long expression with a lot of piping and formatting with awk etc., but now I'm somehow stuck with the rest. Can you give me a clue how to achieve it? Thanks for... (3 Replies)
Hi,
I have 2 VM of Solaris ( 2nd one full clone )
1st VM - 192.168.1.30
2nd VM - 192.168.1.31
My need : ping both VM from each other
I have added host entry in /etc/hosts of both server but unable to ping each other from solaris console...
Pls advice (4 Replies)
Hi,
I have a rather strange IP question...
Here's my problem:
I have a Linux box (call it "turing") with 2 NICs.
One network interface (eth0) has an IP assigned, say 192.168.42.50.
The other interface (eth1) is up, but has no IP yet.
My question: is it possible to determine from... (3 Replies)
#!/bin/bash
for digit in $(seq 1 10)
do
if ping -c1 -w2 192.168.1.$digit &> /dev/null
then
echo "192.168.1.$digit is UP"
else
echo "192.168.1.$digit is DOWN"
fi
done (3 Replies)
Hi all,
I have a source config file with variables like so:
eth1_ip=192.168.1.99
eth2_ip=192.168.1.123
eth3_ip=172.16.1.1
I am trying to run a script which loops based on the number of eth interfaces on a machine and therefore modifies the variable it calls in the environment based on the... (5 Replies)
Hi there,
I have a Debian server (192.168.1.1) connected through ethernet to a RS232 device servers (192.168.1.5) that is then connected through RS232 to a Video Projector.
The idea is that I want to send commands to the video projector (eg. turn on/off) via the device server.
According to... (4 Replies)
A strange situation: i have configured a piranha lvs router(two load balancer and two real servers),
the virtual ip is 192.168.3.252.
Linux and windows clients are on a different subnet (192.168.3.0) and i use route
route add -net 192.168.3.0/24 dev eth0on linux
for /F "tokens=2 delims=:"... (3 Replies)
Is there any error while executing this script..
#!/bin/bash
FINDPATH=/home/ftpcdr/cdr/192.168.3.91
BACKPATH=/home/ftpcdr/backup
STATUS=$?
cd $FINDPATH
find -type d -mtime +30 -print > $BACKPATH/list.txt # FIND FILES THAT CREATED BEFORE 30 DAYS.
FIRST=$(ls $BACKPATH/list.txt | grep... (5 Replies)
#!/bin/bash
for ((n=0 ; n < 254 ; n+=1))
do
ip=192.168.0.$n
if ping -c 1 -w 1 $ip > /dev/null 2> /dev/null >> /etc/logping.txt; then
echo "${ip} is up" # output up
# sintax >> /etc/logping.txt log with .txt format
else
echo "${ip} is down" # output... (4 Replies)