[Vtun-Users] Can Vtun tunnel Ethernet traffic with just 1 NIC card?
Status: Inactive
Brought to you by:
mtbishop
|
From: Barnes, J. <JB...@rg...> - 2001-11-20 22:51:29
|
I want to connect two LANS via Vtun. But I want to only have 1 NIC card in the Linux box on each side. Is this possible? It would mean that the NIC card would both need to be in promiscuous mode and also send traffic out over the socket tunnel. I want this to work at a Ethernet level. I basically want a long distance bridge. Also if anyone could point me to instructions on how to do this and a config file I would appreciate it. I have read through everything I can find including the entire vtun-users archive. One thing that has confused me is I have read that I should enable Linux bridging. This surprises me because I thought that software was for doing traditional NIC card to NIC card bridging. Basically sending the traffic over the PC bus. In my case it is architecturally like bridging but VTUN is really doing the bridging. So I don't understand why I would use the Linux bridging software. How I think it should work: - Create TAP device that maps to a physical Ethernet. - Have either the TAP or physical Ethernet device, not clear to me, put in promiscuous mode - Configure VTUN to tell it where to point to. An IP address on the other system. I assume I don't have any routes or anything else. Just use regular routes that my system already has for normal Internet traffic. - VTUN then reads all Ethernet traffic off of TAP and sends over the wire. And vice versa. I don't fully understand if I will have any TUN devices. Is the TUN device the user interface into the tunnel to the other system? It would seem that VTUN would just use a normal socket to do this. So I am guessing that I would not have any TUN devices. But I don't know. Thanks a ton. -Jym- |