Yes, it can be done. My broadband connection(RR) goes from my modem to the uplink port on my Intel 5-port 10baseT hub. The network is 2 computers, a 486dx2/66 with 32M ram(Debian Linux 2.2r3), and a dual PII 400 with 512M ram(W2kPRO, Debian potato/woody). The 486 is the firewall and only has 1 nic(SMC EtherEZ ISA), as does the PII(Linksys LNE100TX PCI). This only works if you turn on IP-aliasing on in the kernel(linux), tell NT your NIC has 2 IP's, or in win9x/ME, it's a registry "hack" (»ip-aliasing in non-NT windows.
). The 486 has dhcpcd running to take the connection, and it's second IP (eth0:1) is the gateway for all other computers. I personally set all LAN IP's static because i only have a 5port, but DHCP running on the firewall in this config would work too.
I've been informed that this config is somewhat insecure, as all broadcast packets go all over the ISP's 10. net, but it's not a concern for me.
by solwatcher edited by graffixx