Op zo 01-12-2002, om 15:16 schreef Belkie, Dan: > I'm not sure I follow..... > > I have 2 static IP's with my DSL provider. They do authentication my MAC > address. So I will not be able to bind 2 static IP's to 1 NIC. (?) >
Allright. I think you must ask your DSL provider if it's really necessary to have to NICs. Seems a bit odd to me though... Is there a special reason to have two DSL-connections? Bandwidth? Need two IP's? Problem is with the routing, especially if you want to use static routing to the outside: if you are going to use more than one route to the internet, you either will need a complex routing configuration, based upon a number of fixed criteria, or you will have to use a routing daemon. Once you were able to setup the routing using two public connected interfaces, you can setup connection sharing (aka masquerading) on these two interfaces. I guess you will have to stick with the commandline tools like iptables, cause the common setup mostly applies to one internet-interface. Regards, Lieven > I will have two networks in the office. > > Network (a) for 20 or so computers to surf the net and play LAN games. > Network (b) for my webservers email servers etc. > > I assume network (a) can connect to 1 Nic on the box lets say network > 10.10.10.x > Network (b)to another NIC and will be on 192.168.0.x. > > I guess my question can static routes do all this? Also how will internet > connection sharing work? Or should I just leave that GUI alone? > > Thanks in advance guys!! > > Dan > > > -----Original Message----- > From: Lieven Van Acker [mailto:[EMAIL PROTECTED]] > Sent: December 1, 2002 7:00 AM > To: [EMAIL PROTECTED] > Subject: RE: [expert] 4 LAN cards > > > Hi, > > I suppose you only have one DSL connection, connected to only one > ethernet interface. It will be this interface's mac that's used for > autenthication with your DSL provider. The other NIC's and their resp. > MAC addresses are not taken into account for connecting your DSL. > > So, as long as your outgoing connection only uses 1 IP address, there > won't be a problem, no mather wich and how many NIC's / IP's you use for > your internal LANs. Of course, if you are provided with only one > registered, public available IP address, you will use NAT to hide your > internal configuration from the outside world. > > >From your configuration, I think 3 NICs will suffice: > > 1 connected to DSL provider > 1 for your office subnet > 1 for your servers subnet > > Each interface will have a primary IP. > Outgoing traffic to your provider will be masqueraded, unlike ip-traffic > between your office and servers subnet. > > If you want to host a number of services on this router/gateway, you can > choose to assign some more virtual IP-addresses to your internal > interfaces (office/servers subnet). > > To control and protect the traffic, you have several options. Bundled > with linux mandrake comes shorewall (9.0) - controlled with mandrake > control panel, guarddog (don't know if it's in standard edition, > mandrake packages are available on the developer's site) - provides it's > own graphical user interface to control the rules, and a bunch of other > tools from very low to higher level control. > > Regards, > > Lieven > > > > Op zo 01-12-2002, om 14:37 schreef Belkie, Dan: > > Sweet!!!! > > > > This might do the trick *BUT* > > > > My DSL provider does authentication via the card mac address..... Because > of > > this I don't think they will let me have 2 IP's to 1 mac..... > > > > > > thoughts? > > > > d. > > > > > > -----Original Message----- > > From: Franki [mailto:[EMAIL PROTECTED]] > > Sent: December 1, 2002 6:09 AM > > To: [EMAIL PROTECTED] > > Subject: RE: [expert] 4 LAN cards > > > > > > yes, there is a better way.. > > > > you can have multiple IP's assigned to one ethernet card... > > > > so for example: > > > > eth0 = 203.59.87.254 > > eth0:0 = 203.59.6.252 > > eth0:1 = xxx.xxx.xx.xxx > > > > eth1: some other IP. > > eth1:1 another IP. > > > > I have a linux box with three network cards in it.. > > > > 1 is for the ADSL connection and hosting the live public IP's associated > > with it. > > 2 is for a 192.168.0.0/24 network > > 3 is for a 10.0.x.x network... > > > > using /etc/sysconfig/static-routes you can make the whole lot talk to each > > other.. > > > > > > rgds > > > > Frank > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Belkie, Dan > > Sent: Sunday, 1 December 2002 8:58 PM > > To: '[EMAIL PROTECTED]' > > Subject: [expert] 4 LAN cards > > > > > > Hey Guys! > > > > Ok I have a box, acting as a firewall / router. All is good. It has 2 NIC > > cards in it of course.... > > > > Ok now I might be going way out, and maybe someone can tell me a better > way > > to do this....... > > > > I have 2 static IP's and I want them both to run into the same box. > > > > I want to put 4 NIC cards in the box. 2 (1 for each static IP) and 2 for > > non-routable. > > > > The reason for this... I want to have some mail servers and webservers on > > one network (192.168.0.1) and then have another network for the office > > (10.10.10.1) I would like to have my office people able to surf the net > and > > be on a dif subnet then the webservers.. so no one monkeys around.... > > > > Is this a good way to do it? Anyone have any ideas? > > > > Thanks > > Dan > > > > > > > > > > > > ______________________________________________________________________ > > > > Want to buy your Pack or Services from MandrakeSoft? > > Go to http://www.mandrakestore.com -- Lieven Van Acker <[EMAIL PROTECTED]> ELiSA
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
