search for: tunctl

Displaying 20 results from an estimated 39 matches for "tunctl".

Did you mean: fnctl
2009 Nov 25
3
where is tunctl
I am following directions in http://wiki.centos.org/HowTos/KVM#head-c02a0b33e7949b0bc3b151ac6e0bdfb91b6bbd1c it says do yum install bridge-utils - works fine, they yum install tunctl does not find anything. yum provides "*/tunctl" does not find anything I am using 5.4 x86_64. Is this howto out of date? How do I get tunctl? Thanks, Jerry
2019 Aug 07
1
Install tunctl on CetnOS 7 ?
EPEL doesn't have uml_utilities and NUX doesn't have tunctl. On Tue, Aug 6, 2019 at 5:42 PM Jonathan Billings <billings at negate.org> wrote: > > On Aug 6, 2019, at 5:38 PM, John Chludzinski <john.chludzinski at gmail.com> wrote: > > Which repo has tunctl for CentOS 7 ? > > It looks like uml_utilities, which is where it is in...
2019 Aug 06
2
Install tunctl on CetnOS 7 ?
Which repo has tunctl for CentOS 7 ?
2019 Aug 06
0
Install tunctl on CetnOS 7 ?
On Aug 6, 2019, at 5:38 PM, John Chludzinski <john.chludzinski at gmail.com> wrote: > Which repo has tunctl for CentOS 7 ? It looks like uml_utilities, which is where it is in CentOS6 EPEL and Fedora, isn?t built on CentOS7?s EPEL. It looks like the Nux repo has a ?tunctl? package though. -- Jonathan Billings <billings at negate.org>
2010 Apr 08
1
tunctl
where to fidn the rpm package
2010 Nov 02
1
controlling VM access to different tap devices
...t appears to have vanished. I thought this community might have some insight. I am interested in controlling VM access to different tap devices so I want to have different qemu processes bound to different tun devices. I've created new tun devices (eg. /dev/net/tun_low) followed by the use of tunctl to create new tap devices based off of the new device nodes (ie tunctl -t tap0 -f /dev/net/tun_low). This also did not seem to work as the VM's seemed to still be accessing /dev/net/tun (running strace on qemu-spice I found it was still doing an open on /dev/net/tun) and not my new device /dev/...
2007 Apr 18
2
[Bridge] Bridging between user processes
...k to each other when they run on two machines connected over Ethernet. I would like to be able to test them on a single machine without employing the physical network. Would TAP + bridging do the job? If so, what am I doing wrong? Linux 2.4.20, root user. I set up tap interfaces like this: >tunctl tap4 >ifconfig tap4 4.4.4.4 promisc up >tunctl tap5 >ifconfig tap5 5.5.5.5 promisc up I then set up the bridge and add the tap interfaces to it: >brctl addbr tapbr >brctl setfd tapbr 0 >brctl sethello tapbr 0 >brctl stp tapbr off >ifconfig tapbr 7.7.7.7 netmask 25...
2014 Feb 19
2
bridge network question
I have centos 64 6.5 I installed bridge-utils I installed tunctl I added BRIDGE=br0 to ifcfg-eth0 I created ifcfg-br0 with correct settings I did service network restart and I get an error about br0 not present. When I plug in the second network (USB to ethernet) It detects as eth1 What do I need to change to get this to work. Thanks, jerry
2010 Feb 20
2
Tinc on Linux and tap device problem
...se I need to run the OLSR routing protocol on the tunnel and if I use the tun mode OLSR will just skip the interface. (It is a well known thing, I had this issue before also when using OpenVPN in the past). The problem is that I cannot make tinc use a tap device. I created the tap0 interface with tunctl, however I have no tap0 characted device in /dev So in my tinc.conf a directive like: Device = /dev/tap0 makes no sense. If I don't give anyconfiguration tinc uses /dev/net/tun and sets up the VPN in tun mode without problems. DeviceType directive seems to be ignored on my Linux system (and...
2006 Feb 02
4
Virtual Interface
Hi Guys, I want to create multiple virtual interfaces on a system running linux 2.6. The main requirment being, to assign unique MAC address fo each of the virtual interfaces. I need to know, if this is possible and will really appriciate if someone can provide me pointer in this direction. Thanks a lot. R. Singh _______________________________________________ LARTC mailing list
2007 Sep 03
1
Virtual Bridge & Shorewall Question
...und on net. The questions are (based on the http://www.shorewall.net/bridge.html): 1) What should be included in /etc/shorewall/interfaces and /etc/shorewall/hosts - "br0" or "qtap0", "qtap1", etc? 2) Why the author of this script used "$USERID" in "tunctl -b -u $USERID -t qtap$i"? If the user is non-root, may it somehow affect Shorewall bridging setup? ------------------------------ # id of the user running qemu (kvm) USERID=1000 # number of TUN/TAP devices to setup NUM_OF_DEVICES=5 case $1 in         start)                 modprobe tun  ...
2010 Dec 20
16
Network isolation - PCI passthrough question
Hello, I thinking about using PCI passthrough to dedicated a domU as firewall. I understand PCI passthrough concept. When done, my domU will see network card and the dom0 won''t any more. So I''ll be able to filter all trafic from outside, since it will go through network domU. Then, how will I be able to connect other domU (and maybe dom0) to the network domU ? In a normal way,
2009 Feb 10
1
Scripting Oddity
...killall dhclient # # Get and IP address and routing information for the bridge # /usr/bin/sudo /sbin/dhclient br0 # # Make sure the tun module is loaded, assign it to our user and bring it up. # /usr/bin/sudo /sbin/modprobe tun echo "Did tun load?" lsmod | grep tun /usr/bin/sudo /usr/sbin/tunctl -b -u $USER sleep 2 /usr/bin/sudo /sbin/ifconfig tap0 up # # Connect the bridge and the tap. # /usr/bin/sudo /usr/sbin/brctl addif br0 tap0 /usr/bin/sudo /bin/chown $USER:users /dev/net/tun /usr/bin/sudo /sbin/iptables -I RH-Firewall-1-INPUT -i br0 -j ACCEPT # # restore the IP address of our &quo...
2010 Jun 07
2
Using tinc on planetlab
...some problems using the tap device tincd just keeps printing this error: Error while reading from Linux ethertap device /dev/net/tun: File descriptor in bad state I guess the problem is I cannot manage tun/tap devices on the planet lab nodes even if I am root :( Look at this: bash-3.2# /usr/sbin/tunctl TUNSETIFF: Operation not permitted bash-3.2# whoami root bash-3.2# I know this is more a planetlab problem than I tinc problem and I am offtopic, but I am really looking for some hints, so if anybody can help me please write me an email even privately. thanks Saverio [0] - https://www.planet-la...
2016 Nov 03
2
Re: sttic vnet device for guest
...tter or worse) an replaced with an autogenerated name. But if you >> supply a name that doesn't start with "vnet", it will be used). > > > Hmm. What right way to manualy create my vnet device (example privnet0) > and apply it device for guest? You can create it with tunctl. -- For a light heart lives long. -- Shakespeare, "Love's Labour's Lost"
2011 Mar 27
4
ipconfig problem if multiple devices are up
...are up and connected to the same network. It seems that it uses the wrong socket/device index to compare it to incoming packet. To be more precise, the packet gets discarded in do_pkt_recv as the ifindex from state differs always from the incoming packet To reproduce create two tap devices: $ sudo tunctl -u uli -t tap0 Set 'tap0' persistent and owned by uid 1000 $ sudo tunctl -u uli -t tap1 Set 'tap1' persistent and owned by uid 1000 $ I am using for the following step the vde2 software as it r...
2015 Apr 26
3
How does the libvirt deal with the vnet mac address
...et0 device in the hypervisor and the ethX device in the VM, for example : the mac address of vnet0 is FE:54:00:84:E3:62 the mac address of ethX in the VM is 52:54:00:84:E3:62 two mac addresses above are almost the same except the first part of the address . but if I created a tap device manually , tunctl -t tap0 -u root brctl addif br0 tap0 and add tap0 to the VM, I will find that mac address between the tap0 device in the hypervisor and the ethX device in the VM will totally different . so I think that libvirt must do something about the mac address handling, could you please kindly tell me someth...
2019 Apr 11
1
Tinc sudden spike in traffic usage
I just encountered a weird issue on my servers - Tinc was using a constant 10-50% CPU on several servers, and these servers were also receiving a constant ~3 Mb/s of data over the Tinc interface, which is usually otherwise pretty quiet. Example: https://d.sb/2019/04/firefox_11-15.54.22.png Grafana dashboard: https://dash.d.sb/dashboard/snapshot/6nWZqagpgxzxUrybDZkNbF6JSflLlKmO?orgId=1 This seems
2015 Apr 27
2
Re: How does the libvirt deal with the vnet mac address
...ice in the VM, for example : >> the mac address of vnet0 is FE:54:00:84:E3:62 >> the mac address of ethX in the VM is 52:54:00:84:E3:62 >> two mac addresses above are almost the same except the first part of the address . >> but if I created a tap device manually , >> tunctl -t tap0 -u root >> brctl addif br0 tap0 >> and add tap0 to the VM, I will find that mac address between the tap0 device >> in the hypervisor and the ethX device in the VM will totally different . so >> I think that libvirt must do something about the mac address handling, co...
2016 Nov 03
0
Re: sttic vnet device for guest
...r worse) an replaced with an autogenerated name. But if you >>> supply a name that doesn't start with "vnet", it will be used). >> Hmm. What right way to manualy create my vnet device (example privnet0) >> and apply it device for guest? > You can create it with tunctl. create device by command ip tuntap add dev privnet0 mode tap one_queue vnet_hdr set it in guest xml by <interface type='network'> <mac address='52:54:00:e8:6d:19'/> <source network='testnet'/> <target dev='privnet0'/>...