I once setup a cyber where the billing PC was also the bridge, connected to KDN's Alvarion thingy. It had two network cards, one with a LAN IP and the other a WAN IP provided by KDN people. It was running windows and worked just fine. All the PCs on the LAN had their gateway set to the LAN IP of the 'server' and Internet Connection Sharing was activated on the server too, which BTW, forces the LAN IP to be 192.168.0.1. I dont know how to do the same on Linux.

On Mon, Jun 22, 2009 at 1:48 PM, Peter Koinange <peter.koinange@ke.wananchi.com> wrote:


Set up your machine with 2 network cards or add a virtual interface

k
----- "Jonathan McLean" <jmmcl2@gmail.com> wrote:

> Hey Skunks-
>
> Ok, this one is for the networking peeps out there.  Any help would be
> great!
>
> Situation:
> I have a small LAN set up and is currently serviced by a 4-port
> D-Link
> Wired Router and a D-Link Switch.  1 of these machines is the
> administrator machine (ie, mine) and has the tricky task of needing
> to
> talk to both the LAN and the Internet.  I currently use a Safaricom
> 3G
> USB Dongle Modem (Huawei e160) to connect to the internet.  However,
> Whenever it is talking to the internet, it does not allow me to talk
> to the LAN over the ethernet port.  Frustrating, especially when
> trying to research + push out updates and whatnot.
>
> What I want (I think):
> What I would like to do is set up an internet sharing scheme without
> changing the LAN configuration.  Basically, I want to connect my USB
> modem into the admin machine, which then connects to the routers WAN
> port, which then shares the connection with everyone else (not for
> constant use, that being unrealistic, not even telling people the
> machines can go online...).  I am new to these more advanced
> networking techniques and I am not quite sure if I should be looking
> at bridging, PPPoE or simply more advanced routing tables.  This is
> where I need help.  The admin machine will not be a dedicated router,
> so the most lightweight solution would be nice.  And it needs to be
> able to talk to the LAN and the Internet at the same time.  The
> D-Link
> router will serve as DHCP for the LAN. The admin machine is running
> Linux.  Here's a nice flow chart:
>
> Internet <--> USB Modem <--> Admin Desktop <--> Ethernet <--> D-Link
> Router <--> D-Link Switch <--> LAN Machines
>
> Of course, suggestions on altering my strategy are also welcome!
>
> Cheers!
> --
> jonathan mclean
> us peace corps volunteer
> ict specialist
> mtongwe, kenya
> _______________________________________________
> Skunkworks mailing list
> Skunkworks@lists.my.co.ke
> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
> Other services @ http://my.co.ke
> Other lists
> -------------
> Skunkworks announce:
> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
> Science - http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
> kazi - http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
Other services @ http://my.co.ke
Other lists
-------------
Skunkworks announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
Science - http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
kazi - http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general