Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

problem: I have a linux box that i want to use as firewall for my Windows workstation. it has only one ethernet that is needed for the switch, but no pci expansion slots. So the only option to connect another machine to this one is through a USB cable, and the box to the net through the standard cat5 cable.

what is needed: while a usbnet driver is available for linux to push ethernet over usb, i dont know about windows. I found on wikipedia that there's a driver for winxp, called bahia network driver, but it's has been released in 2003.

the question: Is there a driver that is more recent and win-7 compatible?

update: i found this: http://stackoverflow.com/questions/7501313/connect-two-computers-via-usb

it seems it is fairly easy to link linux <-> linux over usb using the ethernet network protocol, but it does not say anything related to win <-> linux

share|improve this question
    
Anything more recent to do what? What device are you trying to find a driver for? –  David Schwartz Apr 4 '13 at 12:16
    
I am looking for a virtual ethernet driver to push the ethernet through a standard usb cable –  Paul Apr 4 '13 at 13:31
    
What would you connect the USB cable to? If you don't have a device, there's nothing for the driver to drive. –  David Schwartz Apr 4 '13 at 18:49
    
I want to connect 2 machines via ethernet over a usb cable. I thought it was clear enough in my explanation.. And i think i still need a driver, just like the tap driver is required for virtual ethernet interfaces –  Paul Apr 5 '13 at 9:42
    
Then you need two USB Ethernet adapters. You'll need drivers for the particular USB Ethernet adapters you choose. –  David Schwartz Apr 5 '13 at 17:19

1 Answer 1

It is possible to assign two (or more) IP addresses to a single network card (NIC) on a Linux computer. One example of how to set it up is here. Another explanation is here. I have used this solution as well as using the USB Ethernet adapter solution.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.