Linux router with 1 NIC?

Soldato
Joined
29 Oct 2004
Posts
10,884
Trying to turn my spare PC in to a router, only problem is that it's only got one LAN card; I thought I had a spare PCI card but it seems to be dead, so only one interface available.

Smoothwall will install with only one NIC, but unfortunately this then assumes that I'll be using a modem.

I'm not entirely sure if it's possible to run two 'interfaces' on one card, but if it is possible can anyone recommend a distro/(easy) setup that will run on the one? The aim is to have a standard router configuration with an 'internet' side and a 'lan' side with some QoS etc. in the middle.

Thanks :)
 
Ah, ok, seems my switch doesn't support VLANs (Netgear GS608). A second lan card will be cheaper than a new switch so I may as well go down the 'normal' route.

Thanks for the reply :)
 
Yes in pfsense certainly you can create virtual interfaces without assigning them seperate VLANS. You just need to remember they're physically in the same broadcast domain and there's nothing to prevent a device on the switch communicating directly with the Modem bypassing the router. However, presuming its a home setup this wont really bother you unless you want to create a DMZ etc

HTH

Sounds exactly what I'm after, I don't care if users can change their IPs to access the other network so I'll look in to that further :)
 
Back
Top Bottom