Sample Header Ad - 728x90

Is there a thing like "veth", but without link-level headers?

5 votes
1 answer
866 views
When I use separate network namespace, I often set up networking there using veth: ip link add type veth ip link set veth0 netns 1 ifconfig veth1 192.168.60.2 ip route add default via 192.168.60.1 This includes unnecessary random MAC addresses for this "virtual Ethernet". For example in other mechanism (TUN/TAP) there are two modes: "tap" for Ethernet-like mode and "tun" for IP mode (i.e. without ARP, MAC address, neightbors, frame headers, promisc mode and other extra entities). Maybe there is similar "other mode" for veth? | connects | networking level ---------------------------------------- tap | IF to userspace | Ethernet tun | IF to userspace | IP veth | two IFs together | Ethernet I want | two IFs together | IP
Asked by Vi. (5985 rep)
Apr 6, 2015, 11:01 PM
Last activity: May 9, 2025, 10:28 PM